diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |