From 0f0cf87e8995332bae14ca94ae33f15f4297d716 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 17 Mar 2022 21:07:45 +0100 Subject: [PATCH] Dumb --- bootloader/bios/memory.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bootloader/bios/memory.asm b/bootloader/bios/memory.asm index 8acdb36..9c6629e 100644 --- a/bootloader/bios/memory.asm +++ b/bootloader/bios/memory.asm @@ -11,8 +11,10 @@ addr_eng_dt_end: map_phys_mem_init: mov ebx, 0 map_phys_mem: - mov eax, 0xe820 ; Function code + mov eax, 0xE820 ; Function code + ; Tell the CPU about the descriptors location (ES:DI) ;mov es, addr_rng_dt_start + ;mov di, mov edx, 'SMAP' ; Signature int BIOS_PMEM_INT