summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2f3b00e..07b3862 100644
--- a/main.c
+++ b/main.c
@@ -22,6 +22,7 @@ main()
cprintf("\nxV6\n\n");
+ mpinit(); // multiprocessor
kinit(); // physical memory allocator
tinit(); // traps and interrupts
pic_init();
@@ -47,7 +48,7 @@ main()
write_eflags(read_eflags() | FL_IF);
irq_setmask_8259A(0);
-#if 1
+#if 0
ide_read(0, buf, 1);
cprintf("sec0.0 %x\n", buf[0] & 0xff);
#endif