summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2015-12-21 19:43:16 +0000
committermikeb <mikeb@openbsd.org>2015-12-21 19:43:16 +0000
commit925a4773a9a2261d5c4460732cce033c7be8bd88 (patch)
tree5c949f57ff981ad57bff74fd1e557a5ce07f75fc /lib
parentRemove NULL-checks before free(). (diff)
downloadwireguard-openbsd-925a4773a9a2261d5c4460732cce033c7be8bd88.tar.xz
wireguard-openbsd-925a4773a9a2261d5c4460732cce033c7be8bd88.zip
Introduce xen_intr_mask and xen_intr_unmask primitives
Mask the event port during xen_intr_establish, but don't set the masked flag in the intsrc. By providing mask and unmask routines we allow the device to decide when to perform these actions. The port will still be unmasked during xen_intr_enable. This allows netfront to fulfil the intr_barrier pattern requirements fairly easily and at the same time should be sufficient for diskfront that doesn't need to fiddle with interrupt masking.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions