Safely reading Intel MSRs?
Safely reading Intel MSRs?
- Subject: Safely reading Intel MSRs?
- From: "Brent Burton" <email@hidden>
- Date: Fri, 21 Nov 2008 10:58:22 -0600
Hi all,
I am writing some internal system software including a kernel
extension that has the ability to read MSR values.
While I have a runtime check for processor family and model, the
mapping to valid MSR registers isn't finished (and of course, may have
errors when it is finished). If an invalid MSR is read or written, it
causes a kernel panic (via GPF), and I'd like to protect against this
for all cases.
Are there kernel functions, accessible from a kext, that provide safe
reading of Intel MSRs?
If not, one alternative is to (temporarily) redirect GPF handling. I
don't particularly like this path, but I want to get more information
on it. Where is documentation or headers that cover this, if any?
thanks,
-Brent
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden