From 512095299028b37e11cd3c8a9719ec5dec9ba93a Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 13 Apr 2022 14:47:44 +0200 Subject: [PATCH] e820 stuff --- bootloader/bios/memory.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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