Update VMCS-GUEST.md

merge-requests/1/head
_xeroxz 4 years ago
parent 8dc7453b2c
commit d8675e3335

@ -63,20 +63,17 @@ This section specifies the checks on the fields for CS, SS, DS, ES, FS, GS, TR,
* Selector fields. * Selector fields.
- TR. The TI flag (bit 2) must be 0. - TR. The TI flag (bit 2) must be 0.
- LDTR. If LDTR is usable, the TI flag (bit 2) must be 0. (windows does not use LDT!)... - LDTR. If LDTR is usable, the TI flag (bit 2) must be 0.
- SS. If the guest will not be virtual-8086 and the “unrestricted guest” VM-execution control is 0, the RPL - SS. If the guest will not be virtual-8086 and the “unrestricted guest” VM-execution control is 0, the RPL
(bits 1:0) must equal the RPL of the selector field for CS. (bits 1:0) must equal the RPL of the selector field for CS.
* Base-address fields. * Base-address fields.
- TR, FS, GS. The address must be canonical. - TR, FS, GS. The address must be canonical.
- CS. Bits 63:32 of the address must be zero. - CS. Bits 63:32 of the address must be zero.
- SS, DS, ES. If the register is usable, bits 63:32 of the address must be zero. - SS, DS, ES. If the register is usable, bits 63:32 of the address must be zero.
* Access-rights fields for CS, SS, DS, ES, FS, GS. * Access-rights fields for CS, SS, DS, ES, FS, GS.
- CS Bits 3:0 (Type): must be 9, 11, 13, or 15 (accessed code segment). - CS Bits 3:0 (Type): must be 9, 11, 13, or 15 (accessed code segment).
@ -86,7 +83,6 @@ This section specifies the checks on the fields for CS, SS, DS, ES, FS, GS, TR,
- If bit 3 of the Type is 1 (code segment), then bit 1 of the Type must be 1 (readable). - If bit 3 of the Type is 1 (code segment), then bit 1 of the Type must be 1 (readable).
- Bit 4 (S). If the register is CS or if the register is usable, S must be 1 - Bit 4 (S). If the register is CS or if the register is usable, S must be 1
``` ```
es selector: 0x000000000000002B es selector: 0x000000000000002B
- es.index: 5 - es.index: 5

Loading…
Cancel
Save