summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index cd8cb50..c886523 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();