[edk2] 64-bit OVFM MemoryType bug?

Subject: [edk2] 64-bit OVFM MemoryType bug?

From: Brendan Trotter <btrotter@gmail.com>

To: edk2-devel@lists.sourceforge.net

Date: 2011-05-12 05:58:40

  • 2011-05-12 05:58:40  Brendan Trotter   [edk2] 64-bit OVFM MemoryType bug?

I've been using OVFM (specifically "OVMF-X64-r11337-alpha.zip" and
"OVMF-IA32-r11337-alpha.zip" from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OVMF )
running inside Qemu.

I'm having issues with "AllocPages()" with "MemoryType = 0x80000000"
on 64-bit OVFM. The "AllocPages()" call succeeds, but it causes
"GetMemoryMap()" to crash later. If I use a normal memory type (e.g.
"0x00000002 (loader data)" ) with no other changes at all, everything
works correctly on 64-bit.

I'm wondering if anyone can verify if this is a bug in OVFM (or some
obscure problem in my code); and if it is a bug in OVFM whether
someone wouldn't mind fixing and releasing a patched version, as it's
the only 64-bit EFI environment I have available at the moment.



Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
edk2-devel mailing list