Modify CPU registers
Modify CPU registers
- Subject: Modify CPU registers
- From: Raul Flores <email@hidden>
- Date: Fri, 01 Jun 2007 13:54:29 -0500
I would like to lock/invalidate/flush cache areas and or set other cpu
registers on a 7447A processor (Apple G4 PowerBook) with OS X (Darwin) 10.4.
Not sure how to proceed, as many of the commands are "supervisor mode".
A simple example would be reading HID0 and HID1 registers. Trying to
perform an "mfspr" command for any other than 1,8,or 9 results in an
illegal exception, when executed from the user state.
Any ideas on how to approach/implement this type of functionality from
my software?
It appears that the CHUD framework installs a KEXT to control the
performance counter registers. Am I looking at the same type of
implementation (KEXT) to have my user application query/modify some of
the register settings?
Thanks,
Raul Flores
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 000746-2, 06/01/2007
Tested on: 6/1/2007 1:54:29 PM
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com
_______________________________________________
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