summaryrefslogtreecommitdiff
path: root/src/nrvn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nrvn.c')
-rw-r--r--src/nrvn.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/nrvn.c b/src/nrvn.c
index 84b297f..042ffd0 100644
--- a/src/nrvn.c
+++ b/src/nrvn.c
@@ -14,13 +14,13 @@
/* Check if the compiler thinks you are targeting the wrong operating system. */
#if defined(__linux__)
-#error "You are not using a cross-compiler, you will most certainly run into trouble"
+# error "You are not using a cross-compiler, you will most certainly run into trouble"
#endif
/* This tutorial will only work for the 32-bit ix86 targets. */
-//#if !defined(__i386__) | !defined(__x86_64__)
-//#error "This tutorial needs to be compiled with a ix86-elf compiler"
-//#endif
+#if !defined(__x86_64__)
+# error "This tutorial needs to be compiled with a ix86-elf compiler"
+#endif
void kernel_main(void) {
vga_init();
@@ -45,8 +45,6 @@ void kernel_main(void) {
asm volatile ("hlt");
}
- // TODO -- fix acpi
-
vga_puts("initializing ps/2...\n");
if (ps2_init(NULL))
vga_puts("ps/2 initialized.\n");