summaryrefslogtreecommitdiff
path: root/CorebootModulePkg/Library
diff options
context:
space:
mode:
authorgdong1 <guo.dong@intel.com>2016-10-27 07:56:15 -0700
committerMaurice Ma <maurice.ma@intel.com>2016-10-27 09:51:16 -0700
commit3176d84fe807974f38fa95cd18211ad8ee2cb3ea (patch)
tree029c21e771a8362226b671a8554a3eb4b0a19e35 /CorebootModulePkg/Library
parentf94623aacc35bd1dd32a5d4ecb6b00121adf3847 (diff)
downloadedk2-platforms-3176d84fe807974f38fa95cd18211ad8ee2cb3ea.tar.xz
CorebootModulePkgPkg: Expose FindCbTag API from CbParseLib
CbPlatformSupportLib might use FindCbTag() API to parse platform specific information. So expose this API. And add EFIAPI to all functions in CbParseLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Dong <guo.dong@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com>
Diffstat (limited to 'CorebootModulePkg/Library')
-rw-r--r--CorebootModulePkg/Library/CbParseLib/CbParseLib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
index 305e38fa47..0909b0f492 100644
--- a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
+++ b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
@@ -94,6 +94,7 @@ CbCheckSum16 (
**/
VOID *
+EFIAPI
FindCbTag (
IN VOID *Start,
IN UINT32 Tag
@@ -175,6 +176,7 @@ FindCbTag (
**/
RETURN_STATUS
+EFIAPI
FindCbMemTable (
IN struct cbmem_root *Root,
IN UINT32 TableId,
@@ -237,6 +239,7 @@ FindCbMemTable (
**/
RETURN_STATUS
+EFIAPI
CbParseMemoryInfo (
IN CB_MEM_INFO_CALLBACK MemInfoCallback,
IN VOID *pParam
@@ -287,6 +290,7 @@ CbParseMemoryInfo (
**/
RETURN_STATUS
+EFIAPI
CbParseCbMemTable (
IN UINT32 TableId,
OUT VOID **pMemTable,
@@ -343,6 +347,7 @@ CbParseCbMemTable (
**/
RETURN_STATUS
+EFIAPI
CbParseAcpiTable (
OUT VOID **pMemTable,
OUT UINT32 *pMemTableSize
@@ -363,6 +368,7 @@ CbParseAcpiTable (
**/
RETURN_STATUS
+EFIAPI
CbParseSmbiosTable (
OUT VOID **pMemTable,
OUT UINT32 *pMemTableSize
@@ -386,6 +392,7 @@ CbParseSmbiosTable (
**/
RETURN_STATUS
+EFIAPI
CbParseFadtInfo (
OUT UINTN *pPmCtrlReg,
OUT UINTN *pPmTimerReg,
@@ -533,6 +540,7 @@ CbParseFadtInfo (
**/
RETURN_STATUS
+EFIAPI
CbParseSerialInfo (
OUT UINT32 *pRegBase,
OUT UINT32 *pRegAccessType,
@@ -591,6 +599,7 @@ CbParseSerialInfo (
**/
RETURN_STATUS
+EFIAPI
CbParseGetCbHeader (
IN UINTN Level,
OUT VOID **HeaderPtr
@@ -629,6 +638,7 @@ CbParseGetCbHeader (
**/
RETURN_STATUS
+EFIAPI
CbParseFbInfo (
OUT FRAME_BUFFER_INFO *pFbInfo
)