This library will parse the coreboot table in memory and extract those required\r
information.\r
\r
- Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
typedef RETURN_STATUS \\r
(*CB_MEM_INFO_CALLBACK) (UINT64 Base, UINT64 Size, UINT32 Type, VOID *Param);\r
\r
+/**\r
+ Find coreboot record with given Tag from the memory Start in 4096\r
+ bytes range.\r
+\r
+ @param Start The start memory to be searched in\r
+ @param Tag The tag id to be found\r
+\r
+ @retval NULL The Tag is not found.\r
+ @retval Others The poiter to the record found.\r
+\r
+**/\r
+VOID *\r
+EFIAPI\r
+FindCbTag (\r
+ IN VOID *Start,\r
+ IN UINT32 Tag\r
+ );\r
+\r
/**\r
Acquire the memory information from the coreboot table in memory.\r
\r
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseMemoryInfo (\r
IN CB_MEM_INFO_CALLBACK MemInfoCallback,\r
IN VOID *pParam\r
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseCbMemTable (\r
IN UINT32 TableId,
IN VOID** pMemTable,\r
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseAcpiTable (\r
IN VOID** pMemTable,\r
IN UINT32* pMemTableSize\r
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseSmbiosTable (\r
IN VOID** pMemTable,\r
IN UINT32* pMemTableSize\r
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseFadtInfo (\r
IN UINTN* pPmCtrlReg,\r
IN UINTN* pPmTimerReg,\r
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseSerialInfo (\r
OUT UINT32 *pRegBase,
OUT UINT32 *pRegAccessType,
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseGetCbHeader (\r
IN UINTN Level,\r
IN VOID** HeaderPtr\r
\r
**/\r
RETURN_STATUS\r
+EFIAPI\r
CbParseFbInfo (\r
IN FRAME_BUFFER_INFO* pFbInfo\r
);\r