x64-vmxassist-fix.patch
PATCH 1/1 x64-vmxassist-fix.patch
Fix 64 bit build.
Signed-off-by Nitin Kamble <[email protected]>
Signed-off-by Arun Sharma <[email protected]>
tools/firmware/vmxassist/head.S +1 -1
@@ -135,7 +135,7 @@ .align 4 .globl halt halt: - pushl $halt_msg + push $halt_msg call printf #ifdef TEST movw $0x8A00, %dx
Quoted 4 lines · Arun Sharma
Fix 64 bit build.
Signed-off-by Nitin Kamble <[email protected]>Signed-off-by Arun Sharma <[email protected]>
Surely the correct fix is to put a .code32 at the top of the file? The vmxassist stuff should run in 32-bit protected mode: long mode doesn't necessarily support VM86 mode (not on amd chips I believe).
I think the checked-in fix is benign but not the right run-time fix. :-)
-- Keir