Use AMD SEV C-bit in inital page tables setup by locore0.
authorbluhm <bluhm@openbsd.org>
Wed, 10 Jul 2024 12:36:13 +0000 (12:36 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 10 Jul 2024 12:36:13 +0000 (12:36 +0000)
commit21a0e33342fc8e5d8a92fd2bed10632aa32a6785
treec443a8fbd4f84b603bc4679acc04335c1ecc519d
parent49d7ba99a928132210b97b2a5438468e49f421fc
Use AMD SEV C-bit in inital page tables setup by locore0.

Similar to the NX-bit apply the C-bit to the PTEs built by locore0.
Right now, pg_crypt is initialized to 0, so nothing will change.

from hshoexer@; OK mlarkin@
sys/arch/amd64/amd64/locore0.S