Finally gotten to the point with NO MORE WARNINGS!!! YAY
This commit is contained in:
parent
fda21f3cb6
commit
722df73955
4 changed files with 283 additions and 47 deletions
|
|
@ -25,6 +25,13 @@ typedef enum{
|
|||
MEMORY_DEALLOCATE
|
||||
} MEMORY_SIGNALS;
|
||||
|
||||
typedef enum{
|
||||
IO_RETURN = 0,
|
||||
QUANTUM_TIMEOUT,
|
||||
CPU_SWITCH,
|
||||
CLEAR_INTERRUPT
|
||||
} INTERRUPT_ROUTINE;
|
||||
|
||||
typedef struct ProcessControlBlockStruct
|
||||
{
|
||||
int uniquePid;
|
||||
|
|
@ -143,7 +150,8 @@ Device Input/Device: none
|
|||
Device Output/Device: none
|
||||
Dependencies: ???
|
||||
*/
|
||||
ProcessControlBlockLL *fillProcessList(ConfigDataType *configPtr, OpCodeType *metadataPtr, ProcessControlBlockLL *headPointer);
|
||||
ProcessControlBlockLL *fillProcessList(ConfigDataType *configPtr, OpCodeType *metadataPtr,
|
||||
ProcessControlBlockLL *headPointer);
|
||||
|
||||
/*
|
||||
Name: findMin
|
||||
|
|
@ -181,7 +189,8 @@ Device Input/Device: none
|
|||
Device Output/Device: none
|
||||
Dependencies: ???
|
||||
*/
|
||||
void runCPU(char *command, char *argument, int intArg, ConfigDataType *configPtr, int processId);
|
||||
void runCPU(char *command, char *argument, int intArg, ConfigDataType *configPtr,
|
||||
int processId, ProcessControlBlock *singlePCB, ConfigDataCodes schedMethod);
|
||||
|
||||
/*
|
||||
Name: runIO
|
||||
|
|
@ -193,7 +202,8 @@ Device Input/Device: none
|
|||
Device Output/Device: none
|
||||
Dependencies: ???
|
||||
*/
|
||||
void runIO(char *command, char *argument, int intArg, ConfigDataType *configPtr, int processId);
|
||||
void runIO(char *command, char *argument, int intArg, ConfigDataType *configPtr,
|
||||
int processId, ProcessControlBlock *singlePCB, ConfigDataCodes schedMethod);
|
||||
/*
|
||||
Name: runSim
|
||||
Process: primary simulation driver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue