On Mon, Jan 28, 2013 at 04:23:46PM +0000, David Woodhouse wrote:
From: David Woodhouse David.Woodhouse@intel.com
This removes 25KiB of unused cruft from the image, crucially making the difference between a 128KiB image (which works with OVMF) and a 256KiB image (which doesn't).
[...]
+#if !CONFIG_CSM // 32bit elf entry point EXPORTFUNC entry_elf entry_elf:
Instead of adding #if statements to the assembler one can add a "if (CONFIG_CSM) return" to handle_post(). (Or, even better would be to add "if (!CONFIG_QEMU) return" to handle_post).
-Kevin