summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-17 22:56:34 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-17 22:56:34 +0000
commit045e90accdf96b9633cbea6f98b63382481e4f9e (patch)
tree20beb9fbb03d64941afc492d6e41241136c09dac /MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm
parent66775d1cb6d76be069298f8c522b393ef0c31cf0 (diff)
downloadedk2-platforms-045e90accdf96b9633cbea6f98b63382481e4f9e.tar.xz
Fix bug in EBC thunk for X64 that appears when higher levels of compiler optimization is used.
This is a temporary fix that should for for most tool chains. A more complete fix will be required to guarantee compatibility with all tool chains. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8970 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm')
-rw-r--r--MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm b/MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm
index 6741405cbc..2f968cac2f 100644
--- a/MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm
+++ b/MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm
@@ -92,6 +92,7 @@ EbcLLCALLEXNative ENDP
; The contents of the register in which the entry point is passed.
;
EbcLLGetEbcEntryPoint PROC PUBLIC
+ mov rax, r10
ret
EbcLLGetEbcEntryPoint ENDP