summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4721735..a0c0ebc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -7,12 +7,15 @@ static void print_size(uint64_t);
void
main(struct boot_info *info)
{
+ setup_descriptors();
screen_init(&info->framebuffer);
welcome();
print(u8"CPU count: %u64\n", cpu_count());
print_memmap(info);
- halt();
+ /* Uncomment lines below to trigger a page fault (to see if the interrupts are setup correctly) */
+// uint64_t *silly = (uint64_t *)0x1234;
+// print(u8"Fun: %u64\n", *silly);
}
static void