Text preview for : SystemDefs.mesa_Oct77.pdf part of xerox SystemDefs.mesa Oct77 xerox mesa 3.0_1977 listing SystemDefs.mesa_Oct77.pdf
Back to : SystemDefs.mesa_Oct77.pdf | Home
systemdefs.mESA 24-0CT-77 18:55:07 Page 1
-- file: SystemDefs.Mesa; edited by Sandman on July 22. 1977 2:17 PM
DIRECTORY
FSPDefs: FROM "fspdefs";
SystemDefs: DEFINITIONS ~
BEGIN
-- page a110cation/deal10cation
PagesForWords: PROCEDURE [nwords: CARDINAL] RETURNS [npages: CARDINAL]:
A110catePages: PROCEDURE [npages: CARDINAL] RETURNS [base: POINTER];
FreePages: PROCEDURE [base: POINTER];
A110cateSegment: PROCEDURE [nwords: CARDINAL] RETURNS [base: POINTER];
SegmentSize: PROCEDURE [base: POINTER] RETURNS [nwords: CARDINAL];
FreeSegment: PROCEDURE [base: POINTER];
-- heap a110cation/deallocation
HeapZone: PROCEDURE RETURNS [FSPDefs.ZonePointer];
AllocateHeapNode: PROCEDURE [nwords: CARDINAL] RETURNS [p: POINTER];
FreeHeapNode: PROCEDURE [p: POINTER];
AllocateHeapString: PROCEDURE [nchars: CARDINAL] RETURNS [STRING];
FreeHeapString: PROCEDURE [s: STRING];
PruneHeap: PROCEDURE RETURNS [BOOLEAN];
END.