mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-23 17:57:45 +02:00
Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202302.
This commit is contained in:
parent
8f3ea92eda
commit
fb8bf205c3
@ -73,6 +73,7 @@ EFI_STATUS
|
||||
@param FileHeader A pointer to the file header that contains the set of sections to
|
||||
be searched.
|
||||
@param SectionData A pointer to the discovered section, if successful.
|
||||
@param SectionSize A pointer to the size of the discovered section, if successful.
|
||||
|
||||
@retval EFI_SUCCESS The section was found.
|
||||
@retval EFI_NOT_FOUND The section was not found.
|
||||
@ -84,7 +85,8 @@ FfsFindSectionDataWithHook (
|
||||
IN EFI_SECTION_TYPE SectionType,
|
||||
IN FFS_CHECK_SECTION_HOOK SectionCheckHook,
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
OUT VOID **SectionData
|
||||
OUT VOID **SectionData,
|
||||
OUT UINT32 *SectionSize
|
||||
);
|
||||
|
||||
/**
|
||||
@ -94,6 +96,7 @@ FfsFindSectionDataWithHook (
|
||||
@param FileHandle A pointer to the file header that contains the set of sections to
|
||||
be searched.
|
||||
@param SectionData A pointer to the discovered section, if successful.
|
||||
@param SectionSize A pointer to the size of the discovered section, if successful.
|
||||
|
||||
@retval EFI_SUCCESS The section was found.
|
||||
@retval EFI_NOT_FOUND The section was not found.
|
||||
|
@ -472,6 +472,7 @@ CheckNextSection:
|
||||
@param FileHandle A pointer to the file header that contains the set of sections to
|
||||
be searched.
|
||||
@param SectionData A pointer to the discovered section, if successful.
|
||||
@param SectionSize A pointer to the size of the discovered section, if successful.
|
||||
|
||||
@retval EFI_SUCCESS The section was found.
|
||||
@retval EFI_NOT_FOUND The section was not found.
|
||||
@ -483,7 +484,7 @@ FfsFindSectionDataWithHook (
|
||||
IN EFI_SECTION_TYPE SectionType,
|
||||
IN FFS_CHECK_SECTION_HOOK SectionCheckHook,
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
OUT VOID **SectionData
|
||||
OUT VOID **SectionData,
|
||||
OUT UINT32 *SectionSize
|
||||
)
|
||||
{
|
||||
@ -519,6 +520,7 @@ FfsFindSectionDataWithHook (
|
||||
@param FileHandle A pointer to the file header that contains the set of sections to
|
||||
be searched.
|
||||
@param SectionData A pointer to the discovered section, if successful.
|
||||
@param SectionSize A pointer to the size of the discovered section, if successful.
|
||||
|
||||
@retval EFI_SUCCESS The section was found.
|
||||
@retval EFI_NOT_FOUND The section was not found.
|
||||
@ -529,7 +531,7 @@ EFIAPI
|
||||
FfsFindSectionData (
|
||||
IN EFI_SECTION_TYPE SectionType,
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
OUT VOID **SectionData
|
||||
OUT VOID **SectionData,
|
||||
OUT UINT32 *SectionSize
|
||||
)
|
||||
{
|
||||
|
@ -35,6 +35,7 @@
|
||||
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
||||
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
||||
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
||||
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
||||
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
||||
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
||||
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
||||
|
@ -44,8 +44,6 @@ STATIC BOOLEAN mAcceptAllMemoryAtEBS = TRUE;
|
||||
|
||||
STATIC EFI_EVENT mAcceptAllMemoryEvent = NULL;
|
||||
|
||||
#define IS_ALIGNED(x, y) ((((x) & ((y) - 1)) == 0))
|
||||
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <IndustryStandard/Tdx.h>
|
||||
#include <IndustryStandard/IntelTdx.h>
|
||||
#include <Library/PeiServicesLib.h>
|
||||
#include <Library/TdxLib.h>
|
||||
#include <Pi/PrePiHob.h>
|
||||
#include <WorkArea.h>
|
||||
#include <ConfidentialComputingGuestAttr.h>
|
||||
|
@ -1379,36 +1379,6 @@ ConfigSmmCodeAccessCheck (
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
This API provides a way to allocate memory for page table.
|
||||
|
||||
This API can be called more once to allocate memory for page tables.
|
||||
|
||||
Allocates the number of 4KB pages of type EfiRuntimeServicesData and returns a pointer to the
|
||||
allocated buffer. The buffer returned is aligned on a 4KB boundary. If Pages is 0, then NULL
|
||||
is returned. If there is not enough memory remaining to satisfy the request, then NULL is
|
||||
returned.
|
||||
|
||||
@param Pages The number of 4 KB pages to allocate.
|
||||
|
||||
@return A pointer to the allocated buffer or NULL if allocation fails.
|
||||
|
||||
**/
|
||||
VOID *
|
||||
AllocatePageTableMemory (
|
||||
IN UINTN Pages
|
||||
)
|
||||
{
|
||||
VOID *Buffer;
|
||||
|
||||
Buffer = SmmCpuFeaturesAllocatePageTableMemory (Pages);
|
||||
if (Buffer != NULL) {
|
||||
return Buffer;
|
||||
}
|
||||
|
||||
return AllocatePages (Pages);
|
||||
}
|
||||
|
||||
/**
|
||||
Perform the remaining tasks.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user