mirror of https://github.com/acidanthera/audk.git
Fix for UNIXGCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10483 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
47c242a6d7
commit
2432c68578
|
@ -514,7 +514,7 @@ ReallocateAcpiTableBuffer (
|
|||
mEfiAcpiMaxNumTables * sizeof (UINT32) +
|
||||
sizeof (EFI_ACPI_DESCRIPTION_HEADER) + // for ACPI 2.0/3.0 XSDT
|
||||
mEfiAcpiMaxNumTables * sizeof (UINT64);
|
||||
gBS->FreePages ((EFI_PHYSICAL_ADDRESS)TempPrivateData.Rsdp1, EFI_SIZE_TO_PAGES (TotalSize));
|
||||
gBS->FreePages ((EFI_PHYSICAL_ADDRESS)(UINTN)TempPrivateData.Rsdp1, EFI_SIZE_TO_PAGES (TotalSize));
|
||||
|
||||
//
|
||||
// Update the Max ACPI table number
|
||||
|
|
Loading…
Reference in New Issue