mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 02:35:00 +08:00
* README, base_mp/apptask.c, base_mp/init.c, base_mp/system.h, base_mp/node1/base_mp.doc, base_mp/node2/base_mp.doc, base_sp/apptask.c, base_sp/base_sp.doc, base_sp/init.c, base_sp/system.h, cdtest/init.c, cdtest/main.cc, cdtest/system.h, fileio/fileio.doc, fileio/init.c, fileio/system.h, hello/hello.doc, hello/init.c, hello/system.h, minimum/init.c, minimum/minimum.doc, paranoia/init.c, paranoia/paranoia.doc, paranoia/system.h, ticker/init.c, ticker/system.h, ticker/tasks.c, ticker/ticker.doc, unlimited/init.c, unlimited/system.h, unlimited/test1.c, unlimited/test2.c, unlimited/test3.c, unlimited/unlimited.doc: URL for license changed.
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
#
|
|
# $Id$
|
|
#
|
|
# COPYRIGHT (c) 1989-1997.
|
|
# On-Line Applications Research Corporation (OAR).
|
|
#
|
|
# The license and distribution terms for this file may in
|
|
# the file LICENSE in this distribution or at
|
|
# http://www.rtems.com/license/LICENSE.
|
|
#
|
|
|
|
This file describes the directives and concepts tested by this test set.
|
|
|
|
test set name: test1
|
|
|
|
directives:
|
|
_Object_Allocate, _Object_Free, _Object_Extend_information,
|
|
_Object_Shrink_information
|
|
|
|
concepts:
|
|
|
|
a. Verifies when the auto-extend is false the number of objects does
|
|
not grow, and the number of objects is the maximum number specified
|
|
in the Configuration table.
|
|
|
|
b. Verify the re-allocation of index numbers, and a block of objects is
|
|
freed while another remains yet all it objects are not in
|
|
use. Four blocks of the allocation size of objects are created,
|
|
then the first and third blocks are freed. Only the first
|
|
block's memory will be released, while the second remains. This
|
|
is due the allocation hystersis.
|
|
|
|
c. Allocate as many objects are the work-space can hold. Free objects
|
|
from a number of blocks with-out freeing the blocks. Free the remaining
|
|
blocks.
|
|
|