summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/fdt_common.c
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-10-21 21:13:01 +0000
committerbrooks <brooks@FreeBSD.org>2013-10-21 21:13:01 +0000
commitc993286d6ac32e22fbd07c18badb3138f07bf88d (patch)
tree1ad095931322c23dc8628e44c44379b0922b188c /sys/dev/fdt/fdt_common.c
parentcbedeeb267836a2817d72284e5a10709bd8f0c4c (diff)
downloadFreeBSD-src-c993286d6ac32e22fbd07c18badb3138f07bf88d.zip
FreeBSD-src-c993286d6ac32e22fbd07c18badb3138f07bf88d.tar.gz
MFP4: 223121 (FDT infrastructure portion)
Implement support for interrupt-parent nodes in simplebus. The current implementation requires that device declarations have an interrupt-parent node and that it point to a device that has registered itself as a interrupt controller in fdt_ic_list_head and implements the fdt_ic interface. Sponsored by: DARPA/AFRL
Diffstat (limited to 'sys/dev/fdt/fdt_common.c')
-rw-r--r--sys/dev/fdt/fdt_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/fdt/fdt_common.c b/sys/dev/fdt/fdt_common.c
index e8cd11f..dad4297 100644
--- a/sys/dev/fdt/fdt_common.c
+++ b/sys/dev/fdt/fdt_common.c
@@ -63,6 +63,8 @@ vm_paddr_t fdt_immr_pa;
vm_offset_t fdt_immr_va;
vm_offset_t fdt_immr_size;
+struct fdt_ic_list fdt_ic_list_head = SLIST_HEAD_INITIALIZER(fdt_ic_list_head);
+
int
fdt_get_range(phandle_t node, int range_id, u_long *base, u_long *size)
{
OpenPOWER on IntegriCloud