x86: Filter out garbage from segment flags dump
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 27 Dec 2010 14:52:24 +0000 (15:52 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Dec 2010 21:02:52 +0000 (22:02 +0100)
commit4058fd98fd7e9c476774717adbd49698dd273166
tree69a12466ceb7ece9c416fc9df68477fb6a415188
parent5569fd7c38ddc7482c9b05af0988779cd0027f6d
x86: Filter out garbage from segment flags dump

Only bits 8..23 of the segment flags contain valid data, so only dump
those when printing the CPU state.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-i386/helper.c