DMProcessorModel.mesa
Written By: Jean Vuillemin and Pradeep Sindhu
Last Edited By: Pradeep Sindhu August 29, 1985 4:46:13 pm PDT
DIRECTORY
DM,
DMPBusModel;
DMProcessorModel: CEDAR DEFINITIONS = BEGIN
Processor Related Types
ProcessorCommand: TYPE = REF ProcessorCommandRec;
ProcessorCommandRec: TYPE = RECORD [
cmd: DMPBusModel.PCmdType,
adrs: DM.Word,
data: DM.Word
];
ProcessorSpecific: TYPE = REF ProcessorSpecificRec;
ProcessorSpecificRec: TYPE = RECORD [
commandList: LIST OF ProcessorCommand ← NIL,
pbus: DM.Component ← NIL
];
The processor procedures
Create: PUBLIC PROC [commandList: LIST OF ProcessorCommand ← NIL, pbus: DM.Component] RETURNS [processor: DM.Component];
EmptyCommandList: PUBLIC SIGNAL [];
END.