DEFINITION MODULE Heap;
(*$ LargeVars:=FALSE NameChk:=FALSE *)
(* 16.10.88 / ms *)
(* 6.6.90 / bp *)

FROM SYSTEM IMPORT ADDRESS;

PROCEDURE Allocate(VAR adr: ADDRESS; size: LONGINT);
PROCEDURE Deallocate(VAR adr: ADDRESS);

PROCEDURE Available(chipMem: BOOLEAN): LONGINT;
PROCEDURE Largest(chipMem: BOOLEAN): LONGINT;

PROCEDURE AllocMem(VAR adr: ADDRESS; size: LONGINT;
                   chipMem: BOOLEAN);

PROCEDURE BlockSize(adr: ADDRESS): LONGINT;

END Heap.
