diff options
Diffstat (limited to 'src/loader/main.c')
-rw-r--r-- | src/loader/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/loader/main.c b/src/loader/main.c index ed3014b..54f35be 100644 --- a/src/loader/main.c +++ b/src/loader/main.c @@ -1,5 +1,6 @@ // MIT License, Copyright (c) 2021 Marvin Borner +#include <a20.h> #include <acpi.h> #include <cfg.h> #include <def.h> @@ -7,6 +8,7 @@ #include <ide.h> #include <int.h> #include <log.h> +#include <mem.h> #include <pci.h> #include <pic.h> #include <sel.h> @@ -21,6 +23,8 @@ int start(u8 disk); int start(u8 disk) { boot_disk = disk; + mem_map(); + a20_enable(); vga_clear(); serial_install(); |