mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Fix GCC building issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4808 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c63cd426a8
commit
173b35e469
@ -550,7 +550,7 @@ Returns:
|
|||||||
// Update HandOffHob for new installed permenent memory
|
// Update HandOffHob for new installed permenent memory
|
||||||
//
|
//
|
||||||
NewHandOffTable->EfiEndOfHobList =
|
NewHandOffTable->EfiEndOfHobList =
|
||||||
(EFI_PHYSICAL_ADDRESS)(VOID*)((UINTN) NewHandOffTable->EfiEndOfHobList + Offset);
|
(EFI_PHYSICAL_ADDRESS)((UINTN) NewHandOffTable->EfiEndOfHobList + Offset);
|
||||||
NewHandOffTable->EfiMemoryTop = PrivateInMem->PhysicalMemoryBegin +
|
NewHandOffTable->EfiMemoryTop = PrivateInMem->PhysicalMemoryBegin +
|
||||||
PrivateInMem->PhysicalMemoryLength;
|
PrivateInMem->PhysicalMemoryLength;
|
||||||
NewHandOffTable->EfiMemoryBottom = PrivateInMem->PhysicalMemoryBegin;
|
NewHandOffTable->EfiMemoryBottom = PrivateInMem->PhysicalMemoryBegin;
|
||||||
|
@ -774,6 +774,7 @@ Returns:
|
|||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VolumeHandle = 0;
|
||||||
//
|
//
|
||||||
// Retrieve the FirmwareVolume which the file resides in.
|
// Retrieve the FirmwareVolume which the file resides in.
|
||||||
//
|
//
|
||||||
|
@ -21,12 +21,6 @@ Abstract:
|
|||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
static EFI_PEI_PPI_DESCRIPTOR mMemoryDiscoveredPpi = {
|
|
||||||
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
|
|
||||||
&gEfiPeiMemoryDiscoveredPpiGuid,
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
InitializeMemoryServices (
|
InitializeMemoryServices (
|
||||||
IN PEI_CORE_INSTANCE *PrivateData,
|
IN PEI_CORE_INSTANCE *PrivateData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user