freebsd-nq/sys/xen
Elliott Mitchell 9f3be3a6ec xen: switch to using core atomics for synchronization
Now that the atomic macros are always genuinely atomic on x86, they can
be used for synchronization with Xen.  A single core VM isn't too
unusual, but actual single core hardware is uncommon.

Replace an open-coding of evtchn_clear_port() with the inline.

Substantially inspired by work done by Julien Grall <julien@xen.org>,
2014-01-13 17:40:58.

Reviewed by: royger
MFC after: 1 week
2023-03-29 09:51:42 +02:00
..
evtchn xen: switch to using core atomics for synchronization 2023-03-29 09:51:42 +02:00
xenbus xenbus: improve device tracking 2022-06-07 12:29:53 +02:00
xenmem
xenstore xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
blkif.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
error.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
evtchn.h
features.c
features.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
gntdev.h xen(3): Fix a typo in a source code comment 2022-03-28 19:32:53 +02:00
gnttab.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
hvm.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
hypervisor.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
privcmd.h xen/privcmd: fix MMAP_RESOURCE ioctl to copy out results 2021-11-18 09:46:44 +01:00
xen_intr.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
xen_pv.h
xen-os.h xen: bump used interface version 2023-03-09 17:13:17 +01:00