Fix sync issue to make EbcLLCALLEX() function check the same value to ones that are used in EbcCreateThunks() to decide whether the input function is a thunk to EBC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10297 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2010-03-21 01:42:16 +00:00
parent efd82c5794
commit 21f7daf946
1 changed files with 2 additions and 2 deletions
MdeModulePkg/Universal/EbcDxe/X64

View File

@ -559,11 +559,11 @@ EbcLLCALLEX (
IsThunk = 0;
goto Action;
}
if (*((UINT8 *)FuncAddr + 10) != 0x48) {
if (*((UINT8 *)FuncAddr + 10) != 0x49) {
IsThunk = 0;
goto Action;
}
if (*((UINT8 *)FuncAddr + 11) != 0xB8) {
if (*((UINT8 *)FuncAddr + 11) != 0xBA) {
IsThunk = 0;
goto Action;
}