Re: Accessing APIC from KEXT
Re: Accessing APIC from KEXT
- Subject: Re: Accessing APIC from KEXT
- From: Michael Smith <email@hidden>
- Date: Mon, 26 Feb 2007 13:11:15 -0800
On Feb 25, 2007, at 12:21 PM, Arvind Dalvi wrote:
If i need to access APIC registers from KEXT, do i need to develop an
IOKit driver, or a simple KEXT with inline assembly will do ?
The IOAPIC and LAPIC registers are owned by their respective drivers,
and register access to them is not permitted.
The obvious question here would be why the reason to access APIC or
device memory-mapped registers ?.
I am currently designing a small HWINFO software, which could provide
me with the device information.
There are better and higher-level ways to obtain most of the
information you could obtain from APIC registers. You should also be
aware that not all Macintosh systems have or use the IOAPIC, and if
you stick to the higher-level constructs your software is likely to
be much more portable.
What specific pieces of information are you thinking to obtain? I/O
Kit is not very much like WDM, so you may need to adjust your
thinking anyway.
= Mike
_______________________________________________
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