fa.netbsd.tech.kern
[Top] [All Lists]

Re: rfc: a driver to access MSRs on i386

Subject: Re: rfc: a driver to access MSRs on i386
From: Joerg Sonnenberger
Date: Sun, 24 Jan 2010 19:31:27 UTC
Newsgroups: fa.netbsd.tech.kern

On Sun, Jan 24, 2010 at 01:13:10PM -0600, David Young wrote:
> Can you do without an ioctl for invoking rdmsr/wrmsr if you trap the
> instructions and simulate them in the kernel?

That is IMO a very bad idea, especially for wrmsr. This instructions
require proper access control and doing that in the fault handler sounds
like a very stupid idea.

Joerg

<Prev in Thread] Current Thread [Next in Thread>