CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/09/17 12:37:44
Modified files:
sys/arch/amd64/amd64: ghcb.c trap.c
sys/arch/amd64/include: ghcb.h vmmvar.h
Log message:
SEV-ES: GHCB protocol for IO and MMIO
Implement the parts of the GHCB protocol for IO and MMIO; to be
used to paravirtualize bus_space(9) for SEV-ES:
- extend the ghcb_sync_out() and ghcb_sync_in() to pass a data
buffer to or from the hypervisor
- implement for both IO and MMIO generic functions _ghcb_io_rw()
and _ghcb_mem_rw() that build, send and receive the respective
GHCB messages for various data sizes
- add wrapper functions that call _ghcb_io_rw() and _ghcb_mem_rw()
with the actual data sizes; these will be used for bus_space(9)
>From Sebastian Sturm with tweaks by hshoexer@ and myself
ok mlarkin@