mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
885dc4d85a
commit
5ab95f33d1
|
@ -272,7 +272,7 @@ Returns:
|
||||||
//
|
//
|
||||||
// X64 Calling Conventions requires that the stack must be aligned to 16 bytes
|
// 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)
|
// Add architecture-specifc HOBs (including the BspStore HOB)
|
||||||
|
@ -324,8 +324,9 @@ Returns:
|
||||||
ASSERT_EFI_ERROR (Status);
|
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
|
// memory, it may be corrupted when copying FV to high-end memory
|
||||||
|
//
|
||||||
LoadGo64Gdt();
|
LoadGo64Gdt();
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1061,4 +1062,5 @@ Returns:
|
||||||
*Pe32Data = SectionData;
|
*Pe32Data = SectionData;
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue