diff options
author | Ben Burwell <ben@benburwell.com> | 2015-04-01 20:26:26 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2015-04-01 20:26:26 -0400 |
commit | e282a861d5868868940b449681f2ee5da3e439e8 (patch) | |
tree | dc1fb0b3708d717e6c3695fffc77d5df7a0934a8 /main.c | |
parent | e781fb26fdd422ea72c3a0eeba817e4faa5f663b (diff) |
as of 2013-10-292013-10-29
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -66,6 +66,7 @@ int main(void) { cop = NULL;
// initialize the mod3 test pcbs
+ /*
pcb_addr = get_pcb(pcb_list);
build_pcb(pcb_addr, "test1", APP_PROCESS, READY, NOT_SUSPENDED, 0, _CS,
(unsigned)test1, _DS, 0x200);
@@ -91,15 +92,18 @@ int main(void) { (unsigned)test5, _DS, 0x200);
insert_pcb(&ready_queue, pcb_addr, 0);
+
// initialize the system stack
_SP = (unsigned) &sys_stack[STACK_SIZE -1];
//get the show on the road!
sys_init();
dispatch();
+ */
- //never gonna get here
+ sys_init();
comhan(); /* Execute the command handler */
+ sys_exit();
return 0;
}
|