Subject: Re: CVS commit: src/sys/arch
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Juan RP <juan@xtrarom.org>
List: source-changes
Date: 03/21/2007 06:25:19
On Wed, 21 Mar 2007 14:22:08 +0900 (JST)
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:

> > Module Name:	src
> > Committed By:	xtraeme
> > Date:		Tue Mar 20 21:07:40 UTC 2007
> > 
> > Modified Files:
> > 	src/sys/arch/amd64/amd64: ipifuncs.c machdep.c
> > 	src/sys/arch/amd64/include: cpu.h
> > 	src/sys/arch/i386/i386: ipifuncs.c machdep.c
> > 	src/sys/arch/i386/include: cpu.h
> > 	src/sys/arch/x86/conf: files.x86
> > 	src/sys/arch/x86/include: intrdefs.h
> > 	src/sys/arch/x86/x86: x86_machdep.c
> > Added Files:
> > 	src/sys/arch/x86/include: cpu_msr.h
> > 	src/sys/arch/x86/x86: msr_ipifuncs.c
> > 
> > Log Message:
> > MSR read and write IPI handlers for x86. A MSR will be read or
> > written in all CPUs available in the system. This adds another
> > member to struct cpu_info, ci_msr_rvalue; it will contain the value
> > of the MSR in a previous operation.
> 
> is ci_msr_rvalue only for DPRINTF?

It's used there, but for future access the value is assigned in
msr_read_ipi(). So that if you do a read operation in the driver,
you can access to it.

-- 
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish