Save Point for Sim02, added new testing files.

++ config0.cnf
++ metadata5NoMem.mdf
++ logfile_1.lgf
+- simulator.c
+- simulator.h
This commit is contained in:
Charles Descamps 2024-02-22 00:42:27 -07:00
parent 672c26a5c7
commit 0b8c384602
6 changed files with 243 additions and 80 deletions

View file

@ -146,13 +146,16 @@ ProcessControlBlockLL *fillProcessList(OpCodeType *metadataPtr, ProcessControlBl
/*
Name: logOutput
Process: Takes in a string, and then outputs it to monitor AND/OR file
Function Input/Parameters: string (char *), file pointer (FILE *)
Function Input/Parameters: string (char *), file pointer (FILE *),
configuration data (ConfigDataType *),
end of simulator (bool)
Function Output/Parameters: none
Function Output/Returned: none
Device Input/Device: none
Device Output/Device: none
Dependencies: sprintf, ???
*/
void logOutput(ConfigDataType *configPtr, char *logStr, bool isEnd);
/*
Name: runSim