[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrmsr, rdmsr library..
Hi,
The kernel has support for it. It is a character device with
major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
So you can read/write from/to these devices.
To enable this support you need to enable
"/dev/cpu/*/msr - Model-specific register support" while compiling.
Thanks,
Arun.
On Sun, 1 Jun 2003, Jung Woon Ho wrote:
> Hi,
> I'm trying to use the instructions
> rdmsr, wrmsr, rdpmc from the user level.
> However these instructions have to be run with the previlege level 0.
>
> Is there any patch available that installs system calls that
> would allow me to read and write to the msr(model specific register)
> from the user level?
>
> thanks
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/