[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    AddFreeList - add memory to a free list.

SYNOPSIS
    status = AddFreeList(free, mem, len)
      D0                  A0    A1   A2

    BOOL AddFreeList(struct freelist *, aptr, ulong);

FUNCTION
    This routine adds the specified memory to the free list.
    The free list will be extended (if required).  If there
    is not enough memory to complete the call, a null is returned.

    Note that AddFreeList does NOT allocate the requested memory.
    It only records the memory in the free list.

INPUTS
    free -- a pointer to a freelist structure
    mem -- the base of the memory to be recorded
    len -- the length of the memory to be recorded

RESULTS
    status -- TRUE if the call succeeded else FALSE;

SEE ALSO
    allocentry(), freeentry(), freefreelist()

BUGS
    None