hvf: Fix segment selector format
authorJessica Clarke <jrtc27@jrtc27.com>
Mon, 16 Nov 2020 20:04:14 +0000 (20:04 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Nov 2020 08:32:17 +0000 (09:32 +0100)
commitc6a89b45bd625c6ea745cba550cffd8220602ce7
tree01075e8c3f9734582a61fe69f76f238fcb92e8fd
parent65baabca22366e5246955474228908d6a8354881
hvf: Fix segment selector format

The Requested Privilege Level field is 2 bits, the Table Indicator field
is 1 bit and the Index field is the remaining 15 bits, with TI=0 meaning
GDT and TI=1 meaning LDT.

Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
Message-Id: <20201116200414.28286-1-jrtc27@jrtc27.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/x86.h