summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Core
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-13 10:32:22 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-13 10:32:22 +0000
commit5ab95f33d1a22fbb28697d559eb04c916d83743d (patch)
tree81b90d71cc1214601365b82be71c8188e9705848 /EdkModulePkg/Core
parent885dc4d85a12851b2a01b50924c8891cb3c4f2eb (diff)
downloadedk2-platforms-5ab95f33d1a22fbb28697d559eb04c916d83743d.tar.xz
Fix gcc build break for this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1941 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Core')
-rw-r--r--EdkModulePkg/Core/DxeIplX64Peim/DxeLoadX64.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/EdkModulePkg/Core/DxeIplX64Peim/DxeLoadX64.c b/EdkModulePkg/Core/DxeIplX64Peim/DxeLoadX64.c
index 90e7bf4058..8e4f1126b6 100644
--- a/EdkModulePkg/Core/DxeIplX64Peim/DxeLoadX64.c
+++ b/EdkModulePkg/Core/DxeIplX64Peim/DxeLoadX64.c
@@ -272,7 +272,7 @@ Returns:
//
// X64 Calling Conventions requires that the stack must be aligned to 16 bytes
//
- TopOfStack = (EFI_PHYSICAL_ADDRESS) ALIGN_POINTER (TopOfStack, 16);
+ TopOfStack = (EFI_PHYSICAL_ADDRESS) (UINTN) ALIGN_POINTER (TopOfStack, 16);
//
// Add architecture-specifc HOBs (including the BspStore HOB)
@@ -324,8 +324,9 @@ Returns:
ASSERT_EFI_ERROR (Status);
//
- // Load the GDT of Go64. Since the GDT of 32-bit Tiano locates in the BS_DATA \
+ // Load the GDT of Go64. Since the GDT of 32-bit Tiano locates in the BS_DATA
// memory, it may be corrupted when copying FV to high-end memory
+ //
LoadGo64Gdt();
//
@@ -1061,4 +1062,5 @@ Returns:
*Pe32Data = SectionData;
return EFI_SUCCESS;
-} \ No newline at end of file
+}
+