25 {
"arm,cortex-a15-gic" }
66 OUT UINT32 *GicVersion
73 return EFI_INVALID_PARAMETER;
83 return EFI_UNSUPPORTED;
126 if (FdtParserHandle ==
NULL) {
128 return EFI_INVALID_PARAMETER;
131 Fdt = FdtParserHandle->Fdt;
134 CpusNode = fdt_path_offset (Fdt,
"/cpus");
136 return EFI_NOT_FOUND;
141 if (EFI_ERROR (Status)) {
143 if (Status == EFI_NOT_FOUND) {
145 Status = EFI_ABORTED;
152 if (EFI_ERROR (Status)) {
159 if (EFI_ERROR (Status)) {
162 ASSERT (Status == EFI_NOT_FOUND);
168 if (EFI_ERROR (Status)) {
174 switch (GicVersion) {
180 if (EFI_ERROR (Status)) {
188 if (EFI_ERROR (Status) &&
189 (Status != EFI_NOT_FOUND))
201 if (EFI_ERROR (Status) &&
202 (Status != EFI_NOT_FOUND))
213 return EFI_UNSUPPORTED;
EFI_STATUS EFIAPI ArmGicCInfoParser(IN CONST FDT_HW_INFO_PARSER_HANDLE FdtParserHandle, IN INT32 FdtBranch)
EFI_STATUS EFIAPI ArmGicDInfoParser(IN CONST FDT_HW_INFO_PARSER_HANDLE FdtParserHandle, IN INT32 FdtBranch)
CONST COMPATIBILITY_INFO GicV2CompatibleInfo
STATIC CONST COMPATIBILITY_STR GicV3CompatibleStr[]
EFI_STATUS EFIAPI GetGicVersion(IN CONST VOID *Fdt, IN INT32 IntcNode, OUT UINT32 *GicVersion)
CONST COMPATIBILITY_INFO GicV3CompatibleInfo
EFI_STATUS EFIAPI ArmGicDispatcher(IN CONST FDT_HW_INFO_PARSER_HANDLE FdtParserHandle, IN INT32 FdtBranch)
STATIC CONST COMPATIBILITY_STR GicV2CompatibleStr[]
EFI_STATUS EFIAPI ArmGicItsInfoParser(IN CONST FDT_HW_INFO_PARSER_HANDLE FdtParserHandle, IN INT32 FdtBranch)
EFI_STATUS EFIAPI ArmGicMsiFrameInfoParser(IN CONST FDT_HW_INFO_PARSER_HANDLE FdtParserHandle, IN INT32 FdtBranch)
EFI_STATUS EFIAPI ArmGicRInfoParser(IN CONST FDT_HW_INFO_PARSER_HANDLE FdtParserHandle, IN INT32 FdtBranch)
BOOLEAN EFIAPI FdtNodeIsCompatible(IN CONST VOID *Fdt, IN INT32 Node, IN CONST VOID *CompatInfo)
EFI_STATUS EFIAPI FdtGetIntcParentNode(IN CONST VOID *Fdt, IN INT32 Node, OUT INT32 *IntcNode)
#define ARRAY_SIZE(Array)