diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-08-08 11:06:34 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-08-08 11:06:34 +0000 |
commit | 314e32bd20822e951b092622e1f28e716b4e50b5 (patch) | |
tree | 7525f77e674079e27f00da3a7fea8aeacbf3457b /sys/arch/arm/include | |
parent | 4ce8e2acdd0a7547ff511b49d951481c88310145 (diff) |
Extend the FDT interrupt API to support masking and unmasking IRQs.
Discussed with kettenis@
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r-- | sys/arch/arm/include/fdt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm/include/fdt.h b/sys/arch/arm/include/fdt.h index a0f571e2f4c..8269c3f4d5e 100644 --- a/sys/arch/arm/include/fdt.h +++ b/sys/arch/arm/include/fdt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fdt.h,v 1.8 2018/08/06 10:52:30 patrick Exp $ */ +/* $OpenBSD: fdt.h,v 1.9 2018/08/08 11:06:33 patrick Exp $ */ /* * Copyright (c) 2016 Patrick Wildt <patrick@blueri.se> * @@ -40,10 +40,12 @@ extern bus_space_tag_t fdt_cons_bs_tag; void *fdt_find_cons(const char *); +#define fdt_intr_enable arm_intr_enable #define fdt_intr_establish arm_intr_establish_fdt #define fdt_intr_establish_idx arm_intr_establish_fdt_idx #define fdt_intr_establish_imap arm_intr_establish_fdt_imap #define fdt_intr_establish_msi arm_intr_establish_fdt_msi +#define fdt_intr_disable arm_intr_disable #define fdt_intr_disestablish arm_intr_disestablish_fdt #define fdt_intr_get_parent arm_intr_get_parent #define fdt_intr_parent_establish arm_intr_parent_establish_fdt |