summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/EbcDxe
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-21 01:42:16 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-21 01:42:16 +0000
commit21f7daf946fe2924d9dc56facb3b9c2fc17567e1 (patch)
tree5c2d0767fd0f7df6d1b08a1be320e087c878872c /MdeModulePkg/Universal/EbcDxe
parentefd82c5794ecbb77315a4358e1591b7480c444bc (diff)
downloadedk2-platforms-21f7daf946fe2924d9dc56facb3b9c2fc17567e1.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Universal/EbcDxe')
-rw-r--r--MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c b/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c
index b737db1c3c..ea77bead6f 100644
--- a/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c
+++ b/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c
@@ -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;
}