Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59753 )
Change subject: device/oprom: Add support for x86_64 mode ......................................................................
device/oprom: Add support for x86_64 mode
Fix compilation issue when HAVE_EXP_X86_64_SUPPORT is enabled.
Change-Id: Id0284bb92521de2a8acc55897ea4eb2a5c5b56c7 Signed-off-by: Subrata Banik subi.banik@gmail.com --- M src/device/oprom/realmode/x86.c 1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/59753/1
diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c index 224e49b..3e26825 100644 --- a/src/device/oprom/realmode/x86.c +++ b/src/device/oprom/realmode/x86.c @@ -89,9 +89,14 @@ .edi=X86_EDI, .vector=M.x86.intno, .error_code=0, // FIXME: fill in - .eip=X86_EIP, .cs=X86_CS, +#if !ENV_X86_64 + .eip=X86_EIP, .eflags=X86_EFLAGS +#else + .rip=X86_EIP, + .rflags=X86_EFLAGS +#endif }; struct eregs *regs = ®_info;