aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdt/fdt_common.h
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2013-10-21 21:13:01 +0000
committerBrooks Davis <brooks@FreeBSD.org>2013-10-21 21:13:01 +0000
commit1f40dbc85461b76d8aa691cd5bdf39ec9c2115cc (patch)
tree1ad095931322c23dc8628e44c44379b0922b188c /sys/dev/fdt/fdt_common.h
parentcf058082cdeb6aad591f67824bb92d433fcef2b3 (diff)
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
Notes
Notes: svn path=/head/; revision=256861
Diffstat (limited to 'sys/dev/fdt/fdt_common.h')
-rw-r--r--sys/dev/fdt/fdt_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/fdt/fdt_common.h b/sys/dev/fdt/fdt_common.h
index d244a17963b5..8c16257215a4 100644
--- a/sys/dev/fdt/fdt_common.h
+++ b/sys/dev/fdt/fdt_common.h
@@ -70,6 +70,13 @@ struct fdt_fixup_entry {
};
extern struct fdt_fixup_entry fdt_fixup_table[];
+extern SLIST_HEAD(fdt_ic_list, fdt_ic) fdt_ic_list_head;
+struct fdt_ic {
+ SLIST_ENTRY(fdt_ic) fdt_ics;
+ ihandle_t iph;
+ device_t dev;
+};
+
extern vm_paddr_t fdt_immr_pa;
extern vm_offset_t fdt_immr_va;
extern vm_offset_t fdt_immr_size;