diff --git a/src/bin/init/main.c b/src/bin/init/main.c index 1c8deed..e0a8c05 100755 --- a/src/bin/init/main.c +++ b/src/bin/init/main.c @@ -46,7 +46,7 @@ printf("Initializing system.\n"); exec("shell"); while(1) { - //printf("Testing 123\n"); + printf("Testing 123\n"); } exit(1); } \ No newline at end of file diff --git a/src/sys/kernel/exec.c b/src/sys/kernel/exec.c index 8a649ad..21d0298 100755 --- a/src/sys/kernel/exec.c +++ b/src/sys/kernel/exec.c @@ -95,7 +95,7 @@ "movl %%cr0,%%eax \n" "orl $0x80000000,%%eax \n" "movl %%eax,%%cr0 \n" - : : "d" ((unsigned int *)(*pd)) + : : "d" ((unsigned int *)(_current->tss.cr3)) ); } diff --git a/src/sys/kernel/syscall.c b/src/sys/kernel/syscall.c index 4d27afd..7da620e 100755 --- a/src/sys/kernel/syscall.c +++ b/src/sys/kernel/syscall.c @@ -84,6 +84,4 @@ kprintf("File [%s]\n",file); asm("sti"); execFile(file); - //asm("cli"); -// while(1); } \ No newline at end of file diff --git a/src/sys/vmm/README b/src/sys/vmm/README new file mode 100755 index 0000000..fdef74b --- /dev/null +++ b/src/sys/vmm/README @@ -0,0 +1,3 @@ +Memory Map +DAC00000 = Task List 3500 - 3599 +E1000000 = Memory Map 3600 - 3699