summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-11-09 19:18:12 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-11-09 19:18:12 +0000
commit500070ba952da06307f0478e23f6516993226ea6 (patch)
tree53acb6ffc44b52199ad1f6d2033ad48b1de2a6dd /sys/dev
parentbd372d2f3fb22c5ffde4360f952e488b0d396c33 (diff)
Implement wakeup interrupt support. For now this is only implemented for
aplintc(4); other arm64 interrupt controllers will follow. ok patrick@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ofw/ofw_misc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_misc.h b/sys/dev/ofw/ofw_misc.h
index 831cc40a946..3af9d1d5d8b 100644
--- a/sys/dev/ofw/ofw_misc.h
+++ b/sys/dev/ofw/ofw_misc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofw_misc.h,v 1.25 2022/09/02 16:53:28 kettenis Exp $ */
+/* $OpenBSD: ofw_misc.h,v 1.26 2022/11/09 19:18:11 kettenis Exp $ */
/*
* Copyright (c) 2017-2021 Mark Kettenis
*
@@ -262,6 +262,8 @@ void iommu_reserve_region_pci(int, uint32_t, bus_addr_t, bus_size_t);
struct mbox_client {
void (*mc_rx_callback)(void *);
void *mc_rx_arg;
+ int mc_flags;
+#define MC_WAKEUP 0x00000001
};
struct mbox_channel;