)\r
{\r
EFI_STATUS Status;\r
- struct cb_memory *rec;\r
+ CB_MEMORY *Rec;\r
struct cb_memory_range *Range;\r
UINT64 Start;\r
UINT64 Size;\r
//\r
// Get the coreboot memory table\r
//\r
- rec = (struct cb_memory *)FindCbTag (CB_TAG_MEMORY);\r
- if (rec == NULL) {\r
+ Rec = (CB_MEMORY *)FindCbTag (CB_TAG_MEMORY);\r
+ if (Rec == NULL) {\r
return Status;\r
}\r
\r
- for (Index = 0; Index < MEM_RANGE_COUNT(rec); Index++) {\r
- Range = MEM_RANGE_PTR(rec, Index);\r
+ for (Index = 0; Index < MEM_RANGE_COUNT(Rec); Index++) {\r
+ Range = MEM_RANGE_PTR(Rec, Index);\r
Start = cb_unpack64(Range->start);\r
Size = cb_unpack64(Range->size);\r
\r
IN VOID *Params\r
)\r
{\r
- struct cb_memory *rec;\r
+ CB_MEMORY *Rec;\r
struct cb_memory_range *Range;\r
UINTN Index;\r
MEMORY_MAP_ENTRY MemoryMap;\r
//\r
// Get the coreboot memory table\r
//\r
- rec = (struct cb_memory *)FindCbTag (CB_TAG_MEMORY);\r
- if (rec == NULL) {\r
+ Rec = (CB_MEMORY *)FindCbTag (CB_TAG_MEMORY);\r
+ if (Rec == NULL) {\r
return RETURN_NOT_FOUND;\r
}\r
\r
- for (Index = 0; Index < MEM_RANGE_COUNT(rec); Index++) {\r
- Range = MEM_RANGE_PTR(rec, Index);\r
+ for (Index = 0; Index < MEM_RANGE_COUNT(Rec); Index++) {\r
+ Range = MEM_RANGE_PTR(Rec, Index);\r
MemoryMap.Base = cb_unpack64(Range->start);\r
MemoryMap.Size = cb_unpack64(Range->size);\r
MemoryMap.Type = (UINT8)Range->type;\r
/**\r
Find the serial port information\r
\r
- @param SERIAL_PORT_INFO Pointer to serial port info structure\r
+ @param SerialPortInfo Pointer to serial port info structure\r
\r
@retval RETURN_SUCCESS Successfully find the serial port information.\r
@retval RETURN_NOT_FOUND Failed to find the serial port information .\r