CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/07/21 13:41:31
Modified files:
sys/arch/amd64/amd64: cpu.c locore0.S pmap.c
sys/arch/amd64/include: cpu.h specialreg.h
Log message:
For AMD SEV determine C-bit position and guest mode in locore0.
Actually determine the C-bit position if we are running as a guest
with SEV enabled. Configure pg_crypt, pg_frame and pg_lgframe
accordingly, using the physical address bit reduction provided by
cpuid.
from hshoexer@; OK mlarkin@
