-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sounds like a hack to me, but if it works... Anyway, you need to declare a dependancy on the AppleGMac driver in your audio kext's OSBundleLibraries PLIST dictionary. This consists of the drivers reverse DNS id and the version. The kernel linker will then know to link in the AppleGMac driver when loading your kext. HTH. On Thursday, August 21, 2003, at 04:41 PM, rimas avizienis wrote:
greetings,
I have acquired and read and compiled the
AppleGMacEthernet source but I'm not sure how to go
about doing what I want to do. I first tried
declaring a global variable in the AppleGMacEthernet
KEXT, thinking that i could then reference that
variable from my audio driver KEXT. however when i
try to load the audio driver KEXT it complains about
an undefined symbol for the variable. obviously i'm
missing something about the way the kernel namespace
works.
anyways i would be very grateful for any advice or
direction as to how best establish communication
between these two KEXTs, like how i could get a
reference to the ethernet driver object from my
coreaudio driver or something of the sort.
thanks!
-rimas
Brian Bergstrand <http://www.classicalguitar.net/brian/> PGP Key: <http://www.classicalguitar.net/brian/misc/public_key.txt> Blessed is he who expects nothing, for he shall never be disappointed. - - Jonathan Swift -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.2 iQA/AwUBP0VgHnnR2Fu2x7aiEQI88ACggllWAVXa4PX2ojfRq67EqYqARB8AnRm1 d2cYIT3poRFrgEXejTqoLAXk =Veu/ -----END PGP SIGNATURE----- _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.