- memory detection with BIOS 0x15/0xe820
[bootcensus] / src / kmain.c
index 0ffc152..d008217 100644 (file)
@@ -20,6 +20,7 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
 #include <ctype.h>
 #include "segm.h"
 #include "intr.h"
+#include "mem.h"
 #include "keyb.h"
 #include "timer.h"
 #include "contty.h"
@@ -32,8 +33,11 @@ void pcboot_main(void)
 {
        init_segm();
        init_intr();
-       kb_init();
+
        con_init();
+       kb_init();
+
+       init_mem();
 
        /* initialize the timer */
        init_timer();