E. Almqvist 3 years ago
parent 20f0d2ea9b
commit 4817bab382
  1. 1
      bootloader/bios/memory.asm

@ -21,6 +21,7 @@ mmap_e820:
mov eax, 0xe820 ; function reg mov eax, 0xe820 ; function reg
mov edx, 'SMAP' mov edx, 'SMAP'
; TODO: update es:di to e820_dt
mov [es:di + 20], dword 1 ; fill mov [es:di + 20], dword 1 ; fill
mov ecx, 24 ; ask for 24 bytes mov ecx, 24 ; ask for 24 bytes
int 0x15 ; Do the interupt int 0x15 ; Do the interupt

Loading…
Cancel
Save