lkml.org 
[lkml]   [2009]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Question] x86,APIC: In apicdef.h dfr,svr,...... shouldn't be const?
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


\
 
 \ /
  Last update: 2009-09-02 04:33    [W:0.340 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site