Values returned by E820h QuerySystemAddressMap on 4GB+ memory

Viewed 168

I just finished writing a review for a program that displays the results from QuerySystemAddressMap.
I'm left with 2 questions:

  1. Seeing those - for the most needlessly large - 32-bit parameters ECX, EBX, and especially the function number in EAX, I suspect there could exist a protected mode counterpart for this BIOS function. Is my suspicion correct?

  2. When the BIOS function 0000E820h runs from real address mode on a computer with more than 4GB memory and knowing that memory above the 4GB mark will not be addressable, will the addresses and lengths that are reported stay below 4GB?

Normally I would just give this a try and find out on my own, but I don't have this kind of hardware (yet).

1 Answers
Related