diff options
author | royger <royger@FreeBSD.org> | 2014-10-22 16:57:11 +0000 |
---|---|---|
committer | royger <royger@FreeBSD.org> | 2014-10-22 16:57:11 +0000 |
commit | 4d53ee84fafa57a4faed008e018563a5523aa008 (patch) | |
tree | b395b899cb2b694aea4e78a439efd5d4e1181a41 /contrib/netbsd-tests/lib/libc/sys/t_getgroups.c | |
parent | bca209134926c87ca1b88036757b0670f60d16ca (diff) | |
download | FreeBSD-src-4d53ee84fafa57a4faed008e018563a5523aa008.zip FreeBSD-src-4d53ee84fafa57a4faed008e018563a5523aa008.tar.gz |
xen: import a proper event channel user-space device
The user-space event channel device is used by applications to receive
and send event channel interrupts. This device is based on the Linux
evtchn device.
Sponsored by: Citrix Systems R&D
xen/evtchn/evtchn_dev.c:
- Remove the old event channel device, which was already disabled in
the build system.
dev/xen/evtchn/evtchn_dev.c:
- Import a new event channel device based on the one present in
Linux.
- This device allows the following operations:
- Bind VIRQ event channels (ioctl).
- Bind regular event channels (ioctl).
- Create and bind new event channels (ioctl).
- Unbind event channels (ioctl).
- Send notifications to event channels (ioctl).
- Reset the device shared memory ring (ioctl).
- Unmask event channels (write).
- Receive event channel upcalls (read).
- The new code is MP safe, and can be used concurrently.
conf/files:
- Add the new device to the build system.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_getgroups.c')
0 files changed, 0 insertions, 0 deletions