CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/11/08 11:48:20
Modified files:
sys/arch/amd64/include: cpufunc.h
Log message:
SEV-SNP: Add memory clobber to vmgexit()
The hypervisor reads and writes the GHCB while handling a VMGEXIT.
Without a memory clobber the compiler may cache GHCB contents across
the instruction. "asm volatile" alone does not prevent that.
No change in generated code.
ok mlarkin@
