mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 18:54:09 +08:00
KVM: Order segment register constants in the same way as cpu operand encoding
This can be used to simplify the x86 instruction decoder. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
f08864b42a
commit
81609e3e26
@ -109,12 +109,12 @@ enum {
|
||||
};
|
||||
|
||||
enum {
|
||||
VCPU_SREG_CS,
|
||||
VCPU_SREG_DS,
|
||||
VCPU_SREG_ES,
|
||||
VCPU_SREG_CS,
|
||||
VCPU_SREG_SS,
|
||||
VCPU_SREG_DS,
|
||||
VCPU_SREG_FS,
|
||||
VCPU_SREG_GS,
|
||||
VCPU_SREG_SS,
|
||||
VCPU_SREG_TR,
|
||||
VCPU_SREG_LDTR,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user