/* most of what we had before plus */

/** OS per processor global data **/

/* each processor is running a process (it's current process) */
int p1_current_process;
int p2_current_process;

/* each processor has its own system stack */
int p1_SystemStack[SYSTEM_STACK_SIZE];
int p2_SystemStack[SYSTEM_STACK_SIZE];

/** OS shared global data **/

int ProcessTableFreeFlag = 1;	/* restrict access to 1 cpu */
struct ProcessDescriptor pd[MAX_PROCESSES];/* pd[0] is the OS */

/* other queues are shared, such as device queues, semaphore
   queues, etc. */



