E. Almqvist 3 years ago
parent 391fb1c190
commit c383b79293
  1. 5
      bootloader/bios/memory.asm

@ -13,8 +13,10 @@
; ;
; mmap_probe_done: ; mmap_probe_done:
e820_stats_addr equ 0x9820
e820: e820:
mov di, 0x8004 mov di, e820_stats_addr + 4
mov ebx, 0 ; Must be 0 mov ebx, 0 ; Must be 0
mov bp, 0 ; entry count mov bp, 0 ; entry count
@ -67,7 +69,6 @@ e820_skip:
test ebx, ebx ; of ebx = 0 then complete test ebx, ebx ; of ebx = 0 then complete
jne e820_lp jne e820_lp
e820_stats_addr equ 0x9820
e820_write: e820_write:
mov [e820_stats_addr], bp ; save entry count at e820_ent mov [e820_stats_addr], bp ; save entry count at e820_ent
clc clc

Loading…
Cancel
Save