mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
Fix a compiler warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1967 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8b7ba927a6
commit
5585935d09
@ -158,7 +158,7 @@ Returns:
|
|||||||
// The x64 does not do this so pad the stack accordingly.
|
// The x64 does not do this so pad the stack accordingly.
|
||||||
//
|
//
|
||||||
PushU64 (&VmContext, (UINT64) 0);
|
PushU64 (&VmContext, (UINT64) 0);
|
||||||
PushU64 (&VmContext, (UINT64) 0x1234567887654321);
|
PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL);
|
||||||
|
|
||||||
//
|
//
|
||||||
// For x64, this is where we say our return address is
|
// 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.
|
// VM pushes 16-bytes for return address. Simulate that here.
|
||||||
//
|
//
|
||||||
PushU64 (&VmContext, (UINT64) 0);
|
PushU64 (&VmContext, (UINT64) 0);
|
||||||
PushU64 (&VmContext, (UINT64) 0x1234567887654321);
|
PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL);
|
||||||
|
|
||||||
//
|
//
|
||||||
// For x64, this is where we say our return address is
|
// For x64, this is where we say our return address is
|
||||||
@ -373,7 +373,7 @@ Returns:
|
|||||||
*Ptr = 0xB8;
|
*Ptr = 0xB8;
|
||||||
Ptr++;
|
Ptr++;
|
||||||
Size--;
|
Size--;
|
||||||
Addr = (UINT64) 0xCA112EBCCA112EBC;
|
Addr = (UINT64) 0xCA112EBCCA112EBCULL;
|
||||||
for (I = 0; I < sizeof (Addr); I++) {
|
for (I = 0; I < sizeof (Addr); I++) {
|
||||||
*Ptr = (UINT8) (UINTN) Addr;
|
*Ptr = (UINT8) (UINTN) Addr;
|
||||||
Addr >>= 8;
|
Addr >>= 8;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user