Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

non-driver PCI hardware access



Hi

I need to access some hardware registers in a PCI device, bypassing the
(already loaded) device driver.

Obviously, my kext can't pretend to be the driver for the device, since
I only want it loaded when my application is running, and I don't want
to interfere with the normal operation of the driver.

I've downloaded, built and messed with the "SimpleUserClient" sample,
which seems to be the way to go, but I don't know how to find the PCI
device's registers programmatically from the driver part of that code.

All the other driver samples I've found are "given" a device reference
by the kernel's driver loading mechanism, but I don't think this will
work for me (or will it?).

Anyone know how to get access to a PCI device (presumably via the
registry) without having been loaded as it's driver?

BTW - I know this is bad form, but needs must... ;-)

Mark
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.