Commit graph

5 commits

Author SHA1 Message Date
Max Raulea
4dc132937f Port components/Spinlock.c to Linux kernel module
Route Spinlock.c's three MSVC intrinsics through the platform
intrinsics layer instead of the Windows builtins:
  _mm_pause                 -> CpuPause (already existed)
  _interlockedbittestandset -> CpuInterlockedBitTestAndSet (new)
  InterlockedCompareExchange-> CpuInterlockedCompareExchange (new, 32-bit)

Add the two new Cpu* wrappers to the kernel PlatformIntrinsics
{.h,.c} with win + linux arms (Linux uses __atomic_* builtins,
mirroring the existing 64-bit CAS), keeping the Cpu* wrappers the
single intrinsic boundary.
2026-08-14 11:35:21 +02:00
sina
dd44025dde refactor doxygen, variables, function names 7 2026-06-01 14:07:01 +02:00
Sinaei
98a87fe63d add the synchronization implementation of vmx-root broadcast 2023-10-10 21:46:05 +09:00
unknown
2358accfaa add ioctl for mode based hooks 2023-03-23 18:42:33 +09:00
unknown
43c59c8230 share spinlock between kd and hv and hyperlog 2023-01-23 22:58:55 +09:00