On Tue, 2013-02-05 at 23:14 -0500, Kevin O'Connor wrote:
I still need to get an OVMF environment up to test this - I'll do that tomorrow.
Should go something like this...
git clone git://git.infradead.org/users/dwmw2/edk2.git cd edk2 make -C BaseTools . edksetup.sh ln -sf /where/your/seabios/out/bios.bin OvmfPkg/Csm/Csm16/Csm16.bin sed s/-melf_x86_64// -i Conf/tools_def.txt sed -e s%^ACTIVE_PLATFORM.*%ACTIVE_PLATFORM=OvmfPkg/OvmfPkgX64.dsc% \ -e s/^TARGET_ARCH.*/TARGET_ARCH=X64/ \ -e s/^TOOL_CHAIN_TAG.*/TOOL_CHAIN_TAG=GCC46/ \ -i Conf/target.txt build -D CSM_ENABLE -DDEBUG_ON_SERIAL_PORT qemu -bios Build/OvmfX64/DEBUG_GCC46/FV/OVMF.fd ...
I'll take a look at merging your csm_return() with the rest of my tree. Thanks.