I've discovered a difference in behavior between GCC48 and VS2012x86
toolchains: Calling gBS->OpenProtocol(... &gEfiHiiPackageListProtocolGuid
...) works when built with VS2012x86 but returns Unsupported with GCC48.
A project that replicates the problem (built against the latest UDK2014.SP1
branch) can be downloaded from http://bluestop.org/PackageListGccBugDemo.zip
. It's a modified copy of MdeModulePkg/Universal/HiiResourcesSampleDxe .
Build it on Windows (I use Windows 8.1 Update) with:
build -p PackageListGccBugDemoPkg/PackageListGccBugDemoPkg.dsc -a X64 -t
VS2012x86
And on Linux (I use OpenSUSE 13.2) with:
build -p PackageListGccBugDemoPkg/PackageListGccBugDemoPkg.dsc -a X64 -t
GCC48
I've seen the problem under Qemu with OVMF built from the latest
UDK2014.SP1 sources, and on a Minnowboard MAX board with 0.78 firmware.
--
Bruce
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel