X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FUniversal%2FEbc%2FDxe%2Fx64%2FEbcSupport.c;h=0b0e171eb363d39a0143043eb370a850af5262f4;hp=d111f3c0bf9bb5e8678bbcf9a0d1e455159a3567;hb=5585935d0997020411b35de7dc0759b92a4003ec;hpb=8b7ba927a6c9b01bf59e06366c50f92d6c5dc089 diff --git a/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c b/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c index d111f3c0bf..0b0e171eb3 100644 --- a/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c +++ b/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c @@ -158,7 +158,7 @@ Returns: // The x64 does not do this so pad the stack accordingly. // PushU64 (&VmContext, (UINT64) 0); - PushU64 (&VmContext, (UINT64) 0x1234567887654321); + PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL); // // For x64, this is where we say our return address is @@ -276,7 +276,7 @@ Returns: // VM pushes 16-bytes for return address. Simulate that here. // PushU64 (&VmContext, (UINT64) 0); - PushU64 (&VmContext, (UINT64) 0x1234567887654321); + PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL); // // For x64, this is where we say our return address is @@ -373,7 +373,7 @@ Returns: *Ptr = 0xB8; Ptr++; Size--; - Addr = (UINT64) 0xCA112EBCCA112EBC; + Addr = (UINT64) 0xCA112EBCCA112EBCULL; for (I = 0; I < sizeof (Addr); I++) { *Ptr = (UINT8) (UINTN) Addr; Addr >>= 8;