diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -6,6 +6,8 @@ #include "multiboot.h" #include "memory.h" #include "printf.h" +#include "fp.h" +#include "math.h" extern void *gdt; @@ -45,14 +47,13 @@ void kernel_main(multiboot_info_t *mb) { vprint(pope); -// init_memory(mb); + init_memory(mb); -// printf("%u MB memory available\n", memory_available / 1000000); + printf("%u MB memory available\n", memory_available / 1000000); -// printf("I will now exhaust a lot of memory\n"); -// for (int i=0;i<250000000;i++) alloc_cell(0); -// -// printf("%u MB memory available\n", memory_available / 1000000); + printf("\n\n"); + + init_fp(); start_interrupts(); |