(* $N- *)
DEFINITION MODULE ExecSupport;

FROM SYSTEM IMPORT
 ADDRESS;
FROM Exec IMPORT
 Byte,ListPtr,IOStdReqPtr,MsgPortPtr,TaskPtr;

PROCEDURE NewList(list{8}:ListPtr);
PROCEDURE BeginIO(ioRequest{9}:ADDRESS);
PROCEDURE AbortIO(ioRequest{9}:ADDRESS);
PROCEDURE CreatePort(portName:ADDRESS; 
                     priority:Byte):MsgPortPtr;
PROCEDURE DeletePort(msgPort:MsgPortPtr);
PROCEDURE CreateExtIO(ioReplyPort:MsgPortPtr; 
                      size:INTEGER):ADDRESS;
PROCEDURE DeleteExtIO(extIOReq:ADDRESS);
PROCEDURE CreateStdIO(ioReplyPort:MsgPortPtr):IOStdReqPtr;
PROCEDURE DeleteStdIO(ioStdReq:IOStdReqPtr);
PROCEDURE CreateTask(taskName:ADDRESS; 
                     priority:Byte;
                     initPC:ADDRESS; 
                     stackSize:LONGINT):TaskPtr;
PROCEDURE DeleteTask(t:TaskPtr);

END ExecSupport.
