From 21f7daf946fe2924d9dc56facb3b9c2fc17567e1 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Sun, 21 Mar 2010 01:42:16 +0000 Subject: 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 --- MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Universal/EbcDxe/X64') 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; } -- cgit v1.2.3