aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/main.c b/main.c
index a5346b1..dac79aa 100644
--- a/main.c
+++ b/main.c
@@ -65,42 +65,6 @@ int main(void) {
// initialize the currently running process
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);
- insert_pcb(&ready_queue, pcb_addr, 0);
-
- pcb_addr = get_pcb(pcb_list);
- build_pcb(pcb_addr, "test2",APP_PROCESS, READY, NOT_SUSPENDED, 0, _CS,
- (unsigned)test2, _DS, 0x200);
- insert_pcb(&ready_queue, pcb_addr, 0);
-
- pcb_addr = get_pcb(pcb_list);
- build_pcb(pcb_addr, "test3", APP_PROCESS, READY, NOT_SUSPENDED, 0, _CS,
- (unsigned)test3, _DS, 0x200);
- insert_pcb(&ready_queue, pcb_addr, 0);
-
- pcb_addr = get_pcb(pcb_list);
- build_pcb(pcb_addr, "test4", APP_PROCESS, READY, NOT_SUSPENDED, 0, _CS,
- (unsigned)test4, _DS, 0x200);
- insert_pcb(&ready_queue, pcb_addr, 0);
-
- pcb_addr = get_pcb(pcb_list);
- build_pcb(pcb_addr, "test5", APP_PROCESS, READY, NOT_SUSPENDED, 0, _CS,
- (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();
- */
-
sys_init();
comhan(); /* Execute the command handler */
sys_exit();