Mailing Lists: Apple Mailing Lists

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

Communication with already loaded kext



Hello,
I am developing a filter graphics kext that will call the original graphics kext's functions.


Is it possible to call a function of already loaded graphics kext( eg call alloc_texture function of ATIRadeon8500.kext ) from my filter kext .
I dont have the source code for ATIRadeon8500 so no header file is availablle with us , only information that is availabe the symbols (eg ATIRadeon8500::allocate_Texture(), ATIRadeon8500::alloc_and_load_texture) .
Now I want to call these functions from my graphics kext .


     What I am trying to do is  :

In Dependencies I have given ATIRadeon8500
I am inheriting my class from ATIRadeon8500 which is failing , and that should be correct as how my application will find the class ATIRadeon8500 . eg class com_Samsung_driver_Magic_Pivot : public ATIRadeon8500 ->error : class ATIRadeon8500 undeclared .
The basic purpose is to inherit my class from ATIRadeon8500 , so as to call the functions of ATIRadeon from my own kext .


In the example source code IOKitWithLibrary , they are preparing their own Library kext and I dont have that priviledge here.

Is there a way to achive it.
Thanking You
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden


This email sent to email@hidden


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.