freebsd-dev/sys/dev/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
..
balloon xen: bump used interface version 2023-03-09 17:13:17 +01:00
blkback Fix unused variable warning in xen's blkback.c 2022-07-26 19:59:55 +02:00
blkfront Fix unused variable warning in xen's blkfront.c 2022-07-26 19:59:55 +02:00
bus pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00
console xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
control Adjust function definitions in xen's control.c to avoid clang 15 warnings 2022-07-26 19:59:55 +02:00
cpu xen/acpi: only evaluate Processor objects matching online CPUs 2022-11-29 16:36:34 +01:00
debug xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
efi
evtchn xen: switch to using core atomics for synchronization 2023-03-29 09:51:42 +02:00
gntdev xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
grant_table xen: switch to using core atomics for synchronization 2023-03-29 09:51:42 +02:00
netback xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
netfront xen/netfront: deal with mbuf data crossing a page boundary 2022-11-03 13:32:21 +01:00
privcmd xen: bump used interface version 2023-03-09 17:13:17 +01:00
timer xen/timer: rename "timer.c" to "xen_timer.c" 2023-02-05 10:50:50 -07:00
xenpci xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
xenstore xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00