TianoCore EDK2 master
Loading...
Searching...
No Matches
PeiResourcePublicationLib.c
Go to the documentation of this file.
1
9#include <PiPei.h>
10
13#include <Library/DebugLib.h>
14
32RETURN_STATUS
33EFIAPI
35 IN PHYSICAL_ADDRESS MemoryBegin,
36 IN UINT64 MemoryLength
37 )
38{
39 EFI_STATUS Status;
40
41 ASSERT (MemoryLength > 0);
42 ASSERT (MemoryLength <= (MAX_ADDRESS - MemoryBegin + 1));
43
44 Status = PeiServicesInstallPeiMemory (MemoryBegin, MemoryLength);
45
46 return (RETURN_STATUS)Status;
47}
#define MAX_ADDRESS
EFI_STATUS EFIAPI PeiServicesInstallPeiMemory(IN EFI_PHYSICAL_ADDRESS MemoryBegin, IN UINT64 MemoryLength)
#define IN
Definition: Base.h:279
RETURN_STATUS EFIAPI PublishSystemMemory(IN PHYSICAL_ADDRESS MemoryBegin, IN UINT64 MemoryLength)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29