freebsd-dev/sys/x86/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
..
hvm.c Fix various places which cast a pointer to a vm_paddr_t or vice versa. 2022-10-03 16:10:41 -07:00
pv.c xen: take struct size into account for video information 2023-03-14 09:59:08 +01:00
xen_apic.c xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
xen_intr.c xen: switch to using core atomics for synchronization 2023-03-29 09:51:42 +02:00