TD3 II.2 Add useful variable in system.cc for processes counter
This commit is contained in:
parent
374b90e905
commit
479d37133c
2 changed files with 14 additions and 0 deletions
|
@ -15,6 +15,9 @@
|
|||
#include "interrupt.h"
|
||||
#include "stats.h"
|
||||
#include "timer.h"
|
||||
#ifdef CHANGED
|
||||
class Semaphore;
|
||||
#endif //CHANGED
|
||||
|
||||
// Initialization and cleanup routines
|
||||
extern void Initialize (int argc, char **argv); // Initialization,
|
||||
|
@ -39,6 +42,9 @@ extern Machine *machine; // user program memory and registers
|
|||
extern ConsoleDriver *consoledriver; // add console driver
|
||||
#include "pageprovider.h"
|
||||
extern PageProvider *pageProvider; // add our page provider
|
||||
// count Processes
|
||||
extern Semaphore * semProcessesCounter;
|
||||
extern int processes;
|
||||
#endif //CHANGED
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue