diff --git a/src/bin/init/main.c b/src/bin/init/main.c index ee7aa62..ed3d601 100755 --- a/src/bin/init/main.c +++ b/src/bin/init/main.c @@ -32,7 +32,7 @@ exit(1); } printf("Initializing system.\n"); - //exec("shell"); + exec("shell"); while(1) { //printf("."); } diff --git a/src/sys/kernel/idt.c b/src/sys/kernel/idt.c index 2fd4944..084f788 100755 --- a/src/sys/kernel/idt.c +++ b/src/sys/kernel/idt.c @@ -81,7 +81,7 @@ while(1); } void _int5() { - kprint("int 5: Bounds check\n"); + kprint("int5: Bounds check\n"); while(1); } void _int6() { @@ -89,4 +89,4 @@ _current->status = AVAILABLE; schedule(); while(1); - } \ No newline at end of file + } diff --git a/src/sys/kernel/syscall.c b/src/sys/kernel/syscall.c index 01d673d..0f852b4 100755 --- a/src/sys/kernel/syscall.c +++ b/src/sys/kernel/syscall.c @@ -18,19 +18,9 @@ asm( ".globl _sysCall \n" "_sysCall: \n" - //" pusha \n" /* Save all registers */ - //" pushw %ds \n" /* Set up the data segment */ - //" pushw %es \n" - //" pushw %ss \n" /* Note that ss is always valid */ - //" pushw %ss \n" - //" popw %ds \n" - //" popw %es \n" " cmpl totalCalls,%eax \n" " jae invalidCall \n" " call *systemCalls(,%eax,4) \n" - //" popw %es \n" - //" popw %ds \n" /* Restore registers */ - //" popa \n" " iret \n" /* Exit interrupt */ ); diff --git a/src/sys/ubixfs/file.c b/src/sys/ubixfs/file.c index d7e1ab1..74afd28 100755 --- a/src/sys/ubixfs/file.c +++ b/src/sys/ubixfs/file.c @@ -33,9 +33,7 @@ int fopen(char *file,int mode) { int i=0; - kprintf("Test-fopen\n"); for (i=0;i