UefiPayloadPkg: Replace MEMROY_ENTRY by MEMORY_ENTRY

Fixes simple typo, no behavioral change.

Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
Guo Dong 2021-10-18 20:34:38 -07:00 committed by mergify[bot]
parent 36b561623a
commit 91a978ce7e
5 changed files with 8 additions and 8 deletions

View File

@ -23,14 +23,14 @@ typedef struct {
UINT8 Type;
UINT8 Flag;
UINT8 Reserved[6];
} MEMROY_MAP_ENTRY;
} MEMORY_MAP_ENTRY;
typedef struct {
UINT8 Revision;
UINT8 Reserved0[3];
UINT32 Count;
MEMROY_MAP_ENTRY Entry[0];
} MEMROY_MAP_INFO;
MEMORY_MAP_ENTRY Entry[0];
} MEMORY_MAP_INFO;
#pragma pack()
#endif

View File

@ -19,7 +19,7 @@
#define GET_BOOTLOADER_PARAMETER() PcdGet64 (PcdBootloaderParameter)
typedef RETURN_STATUS \
(*BL_MEM_INFO_CALLBACK) (MEMROY_MAP_ENTRY *MemoryMapEntry, VOID *Param);
(*BL_MEM_INFO_CALLBACK) (MEMORY_MAP_ENTRY *MemoryMapEntry, VOID *Param);
/**
This function retrieves the parameter base address from boot loader.

View File

@ -383,7 +383,7 @@ ParseMemoryInfo (
struct cb_memory *rec;
struct cb_memory_range *Range;
UINTN Index;
MEMROY_MAP_ENTRY MemoryMap;
MEMORY_MAP_ENTRY MemoryMap;
//
// Get the coreboot memory table

View File

@ -93,10 +93,10 @@ ParseMemoryInfo (
IN VOID *Params
)
{
MEMROY_MAP_INFO *MemoryMapInfo;
MEMORY_MAP_INFO *MemoryMapInfo;
UINTN Idx;
MemoryMapInfo = (MEMROY_MAP_INFO *) GetGuidHobDataFromSbl (&gLoaderMemoryMapInfoGuid);
MemoryMapInfo = (MEMORY_MAP_INFO *) GetGuidHobDataFromSbl (&gLoaderMemoryMapInfoGuid);
if (MemoryMapInfo == NULL) {
ASSERT (FALSE);
return RETURN_NOT_FOUND;

View File

@ -24,7 +24,7 @@ STATIC UINT32 mTopOfLowerUsableDram = 0;
**/
EFI_STATUS
MemInfoCallbackMmio (
IN MEMROY_MAP_ENTRY *MemoryMapEntry,
IN MEMORY_MAP_ENTRY *MemoryMapEntry,
IN VOID *Params
)
{