diff --git a/bootloader/bios/memory.asm b/bootloader/bios/memory.asm index d55e4ca..a3646b4 100644 --- a/bootloader/bios/memory.asm +++ b/bootloader/bios/memory.asm @@ -41,9 +41,9 @@ e820_parse: int 0x15 jc e820_write ; carry => finished -> save entry count -mmap_ent equ 0x9000 +e820_ent equ 0x9820 e820_write: - mov [mmap_ent], bp ; save entry count at mmap_ent + mov [e820_ent], bp ; save entry count at e820_ent clc ret