/* *****

        Operative System for MIPS Written by Filip Ekberg at the Blekinge Institute Of Technology
        Contact: Filip@SmartIT.se

*** */

#include <iregdef.h>
#include <idtcpu.h>
        .text
        .globl  Process
/* *************************************************************************
        A System Process used by the Scheduler
		This is used to store the PID and Priority
************************************************************************** */
.data
LNK = 0
PID = LNK + 4
TIMESLICE = PID + 4
SLEEP = TIMESLICE + 4
REGISTERY = SLEEP + 4
PC = REGISTERY + 160
SIZE = PC + 4

		Process: PCB:	.word PCS
		PCS:		.space	SIZE * 10

