32 IN VOID *HwDataSource,
40 if ((ParserHandle ==
NULL) ||
42 (HwDataSource ==
NULL) ||
43 (fdt_check_header (HwDataSource) < 0))
46 return EFI_INVALID_PARAMETER;
50 if (FdtParserHandle ==
NULL) {
52 return EFI_OUT_OF_RESOURCES;
56 FdtParserHandle->
Fdt = HwDataSource;
57 FdtParserHandle->
Context = Context;
80 if (ParserHandle ==
NULL) {
82 return EFI_INVALID_PARAMETER;
108 if (ParserHandle ==
NULL) {
110 return EFI_INVALID_PARAMETER;
EFI_STATUS EFIAPI ArchFdtHwInfoMainDispatcher(IN CONST FDT_HW_INFO_PARSER_HANDLE FdtParserHandle, IN INT32 FdtBranch)
STATIC EFI_STATUS EFIAPI HwInfoAdd(IN HW_INFO_PARSER_HANDLE ParserHandle, IN VOID *Context, IN CONST CM_OBJ_DESCRIPTOR *CmObjDesc, OUT CM_OBJECT_TOKEN *Token OPTIONAL)
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePool(IN VOID *Buffer)
EFI_STATUS EFIAPI HwInfoParse(IN HW_INFO_PARSER_HANDLE ParserHandle)
EFI_STATUS EFIAPI HwInfoParserShutdown(IN HW_INFO_PARSER_HANDLE ParserHandle)
EFI_STATUS EFIAPI HwInfoParserInit(IN VOID *HwDataSource, IN VOID *Context, IN HW_INFO_ADD_OBJECT HwInfoAdd, OUT HW_INFO_PARSER_HANDLE *ParserHandle)
VOID * HW_INFO_PARSER_HANDLE
EFI_STATUS(EFIAPI * HW_INFO_ADD_OBJECT)(IN HW_INFO_PARSER_HANDLE ParserHandle, IN VOID *Context, IN CONST CM_OBJ_DESCRIPTOR *CmObjDesc, OUT CM_OBJECT_TOKEN *Token OPTIONAL)
#define ASSERT_EFI_ERROR(StatusParameter)
VOID * Context
Pointer to the caller's context.
HW_INFO_ADD_OBJECT HwInfoAdd