Re: [x86] only print out DR registers if they are not power-on defaults.

Borislav Petkov
2013-06-19T21:52:43Z

On Wed, Jun 19, 2013 at 02:42:49PM -0700, H. Peter Anvin wrote:
> There is serious confusion with regards to DR6 about the bits which
> are *fixed* (forced to 1) and the ones which are *reserved* (should
> always have a fixed value.)
>
> There are some bits in DR6 which are used by hardware probes.

Haha, I knew it! HW guys don't care about the architectural documents.

Maybe DR6 should probably be dropped altogether from the check before
exiting __show_regs early?

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--