X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FEbcDxe%2FX64%2FEbcSupport.c;h=bdde5e41fad80d7f7730d85638013f0872d6f2b3;hp=3f99a1a6e296776bd18999c3697d97960a9539c3;hb=6e1e5405544724406f07344a5911298c3df44129;hpb=e935092fa7e1401201e6faadb04b0ae239dd97a5 diff --git a/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c b/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c index 3f99a1a6e2..bdde5e41fa 100644 --- a/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c +++ b/MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c @@ -2,7 +2,7 @@ This module contains EBC support routines that are customized based on the target x64 processor. -Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -215,7 +215,7 @@ EbcInterpret ( // // Align the stack on a natural boundary. // - VmContext.Gpr[0] &= ~(sizeof (UINTN) - 1); + VmContext.Gpr[0] &= ~(VM_REGISTER)(sizeof (UINTN) - 1); // // Put a magic value in the stack gap, then adjust down again. @@ -359,7 +359,7 @@ ExecuteEbcImageEntryPoint ( // // Align the stack on a natural boundary - VmContext.Gpr[0] &= ~(sizeof(UINTN) - 1); + VmContext.Gpr[0] &= ~(VM_REGISTER)(sizeof(UINTN) - 1); // VmContext.LowStackTop = (UINTN) VmContext.Gpr[0];