Re: Verification of GRUB Memory Map
Posted: Wed Aug 22, 2012 1:12 am
This looks perfectly fine to me for a 4 MB machine, so if your code works correctly, it should print the same values:
Since you don't use GRUB, how do you obtain the memory map? Using int 15h? Have you checked that part of your code?
Code: Select all
// lower memory
Usable RAM: Base Address: 0x0 X 4GB + 0x0,
Length: 0x0 X 4GB + 0x9f400 bytes
// EBDA
Reserved: Base Address: 0x0 X 4GB + 0x9f400,
Length: 0x0 X 4GB + 0xc00 bytes
// BIOS ROM
Reserved: Base Address: 0x0 X 4GB + 0xf0000,
Length: 0x0 X 4GB + 0x10000 bytes
// upper memory (3 MB - 8 kB)
Usable RAM: Base Address: 0x0 X 4GB + 0x100000,
Length: 0x0 X 4GB + 0x2fe000 bytes
// ACPI reserved (8 kB)
Reserved: Base Address: 0x0 X 4GB + 0x3fe000,
Length: 0x0 X 4GB + 0x2000 bytes
// some other ROM
Reserved: Base Address: 0x0 X 4GB + 0xfffc0000,
Length: 0x0 X 4GB + 0x40000 bytes