vmm(4): reorder segment registers to match SDM.
authordv <dv@openbsd.org>
Sat, 6 Jan 2024 13:17:20 +0000 (13:17 +0000)
committerdv <dv@openbsd.org>
Sat, 6 Jan 2024 13:17:20 +0000 (13:17 +0000)
commit205ff0180a066059076bf09dbc263e2a1d56dbf0
treee08c634eac0fd9c05a1001af5b62dbea3a4b417d
parenta2f0dcb21b0187db6051935d2be4112b861b7ca2
vmm(4): reorder segment registers to match SDM.

Shuffles around the defines so the segment register indexes match
the values used by both Intel and AMD in vm exit information.
Simplifies some upcoming changes.

ok mlarkin@
sys/arch/amd64/amd64/vmm_machdep.c
sys/arch/amd64/include/vmmvar.h