This patch fixed a GCC build failure issue.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Dong <[email protected]>
---
CorebootModulePkg/Include/Library/CbParseLib.h | 2 +-
CorebootModulePkg/Library/CbParseLib/CbParseLib.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CorebootModulePkg/Include/Library/CbParseLib.h
b/CorebootModulePkg/Include/Library/CbParseLib.h
index 034574f..36727d3 100644
--- a/CorebootModulePkg/Include/Library/CbParseLib.h
+++ b/CorebootModulePkg/Include/Library/CbParseLib.h
@@ -61,11 +61,11 @@ CbParseCbMemTable (
@retval RETURN_NOT_FOUND Failed to find the memory table.
**/
RETURN_STATUS
CbParseAcpiTable (
- IN VOID* pMemTable,
+ IN VOID** pMemTable,
IN UINT32* pMemTableSize
);
/**
Acquire the smbios table from coreboot
diff --git a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
index df02e58..66374b5 100644
--- a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
+++ b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
@@ -420,11 +420,11 @@ CbParseFadtInfo (
RETURN_STATUS Status;
Rsdp = NULL;
Status = RETURN_SUCCESS;
- Status = CbParseAcpiTable (&Rsdp, NULL);
+ Status = CbParseAcpiTable ((VOID **)&Rsdp, NULL);
if (RETURN_ERROR(Status)) {
return Status;
}
if (Rsdp == NULL) {
--
1.9.5.msysgit.0
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel