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
This commit is contained in:
mdkinney
2009-07-17 22:56:34 +00:00
parent 66775d1cb6
commit 045e90accd
2 changed files with 4 additions and 3 deletions

View File

@@ -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