]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix gcc build break for this module.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Nov 2006 10:32:22 +0000 (10:32 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Nov 2006 10:32:22 +0000 (10:32 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1941 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Core/DxeIplX64Peim/DxeLoadX64.c

index 90e7bf4058fd305f7b0f35e38b6393780c6f9363..8e4f1126b69c1121822af0a14ef741003b3a69c5 100644 (file)
@@ -272,7 +272,7 @@ Returns:
   //\r
   //  X64 Calling Conventions requires that the stack must be aligned to 16 bytes\r
   //\r
   //\r
   //  X64 Calling Conventions requires that the stack must be aligned to 16 bytes\r
   //\r
-  TopOfStack = (EFI_PHYSICAL_ADDRESS) ALIGN_POINTER (TopOfStack, 16);\r
+  TopOfStack = (EFI_PHYSICAL_ADDRESS) (UINTN) ALIGN_POINTER (TopOfStack, 16);\r
 \r
   //\r
   // Add architecture-specifc HOBs (including the BspStore HOB)\r
 \r
   //\r
   // Add architecture-specifc HOBs (including the BspStore HOB)\r
@@ -324,8 +324,9 @@ Returns:
   ASSERT_EFI_ERROR (Status);\r
 \r
   //\r
   ASSERT_EFI_ERROR (Status);\r
 \r
   //\r
-  // Load the GDT of Go64. Since the GDT of 32-bit Tiano locates in the BS_DATA \\r
+  // Load the GDT of Go64. Since the GDT of 32-bit Tiano locates in the BS_DATA\r
   // memory, it may be corrupted when copying FV to high-end memory \r
   // memory, it may be corrupted when copying FV to high-end memory \r
+  //\r
   LoadGo64Gdt();\r
 \r
   //\r
   LoadGo64Gdt();\r
 \r
   //\r
@@ -1061,4 +1062,5 @@ Returns:
   *Pe32Data = SectionData;\r
 \r
   return EFI_SUCCESS;\r
   *Pe32Data = SectionData;\r
 \r
   return EFI_SUCCESS;\r
-}
\ No newline at end of file
+}\r
+\r