(* $N- *)
DEFINITION MODULE Heap;
(* 16.10.88 / ms *)

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 Alloc(VAR adr: ADDRESS;size: LONGINT;chipMem: BOOLEAN;level: INTEGER);

PROCEDURE BlockSize(adr: ADDRESS): LONGINT;

END Heap.
