diff options
author | Tobias Markus <tobias@markus-regensburg.de> | 2013-08-25 12:20:06 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-09-20 20:09:24 +0400 |
commit | 469936ae0a9891b2de7e46743f683535b0819bee (patch) | |
tree | 250ddc0929bf423ae9d277776cae327e7824d863 /linux-headers/linux/virtio_ring.h | |
parent | 2be178a475289286db80de5ddd7830e67e112bdd (diff) |
target-i386: Fix segment cache dump
When in Long Mode, cpu_x86_seg_cache() logs "DS16" because the Default
operation size bit (D/B bit) is not set for Long Mode Data Segments since
there are only Data Segments in Long Mode and no explicit 16/32/64-bit
Descriptors.
This patch fixes this by checking the Long Mode Active bit of the hidden
flags variable and logging "DS" if it is set. (I.e. in Long Mode all Data
Segments are logged as "DS")
Signed-off-by: Tobias Markus <tobias@markus-regensburg.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-headers/linux/virtio_ring.h')
0 files changed, 0 insertions, 0 deletions