Re: [Question] x86,APIC: In apicdef.h dfr,svr,...... shouldn't beconst?

From: Maciej W. Rozycki
Date: Tue Sep 01 2009 - 22:30:09 EST


On Tue, 1 Sep 2009, Rakib Mullick wrote:

> Hello guys, Intel System programmers guide says - dfr, svr, esr - this
> registers should be readonly. So shouldn't they use const? Or is it
> anything else?

All the three have meaningful semantics on writes at least on some
versions of the APIC (they either have writable fields or trigger side
effects on writes). It looks like your documentation is wrong (not
unheard of with Intel).

Maciej
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/