diff options
Diffstat (limited to 'kernel/main.c')
-rw-r--r-- | kernel/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/main.c b/kernel/main.c index 5e236a7..2112541 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -21,15 +21,15 @@ struct vid_info *boot_passed; void kernel_main(struct vid_info *vid_info); // Decl void kernel_main(struct vid_info *vid_info) { - heap_init(0x00f00000 + rand()); - - boot_passed = vid_info; - // Serial connection serial_install(); serial_print("\nKernel was compiled at " __TIME__ " on " __DATE__ "\n"); serial_print("Serial connected.\n"); + heap_init(0x00f00000 + rand()); + + boot_passed = vid_info; + cpu_enable_features(); cpu_print(); |