**/\r
#include <Guid/FrameBufferInfoGuid.h>\r
\r
+typedef RETURN_STATUS \\r
+ (*CB_MEM_INFO_CALLBACK) (UINT64 Base, UINT64 Size, UINT32 Type, VOID *Param);\r
+\r
/**\r
Acquire the memory information from the coreboot table in memory.\r
\r
- @param pLowMemorySize Pointer to the variable of low memory size\r
- @param pHighMemorySize Pointer to the variable of high memory size\r
+ @param MemInfoCallback The callback routine\r
+ @param pParam Pointer to the callback routine parameter\r
\r
@retval RETURN_SUCCESS Successfully find out the memory information.\r
- @retval RETURN_INVALID_PARAMETER Invalid input parameters.\r
@retval RETURN_NOT_FOUND Failed to find the memory information.\r
\r
**/\r
RETURN_STATUS\r
CbParseMemoryInfo (\r
- IN UINT64* pLowMemorySize,\r
- IN UINT64* pHighMemorySize\r
+ IN CB_MEM_INFO_CALLBACK MemInfoCallback,\r
+ IN VOID *pParam\r
);\r
/**\r