RE: Hibernation
RE: Hibernation
- Subject: RE: Hibernation
- From: "Alexander Klyuev" <email@hidden>
- Date: Mon, 21 Sep 2009 12:10:27 -0400
Hi Niklas,
>Niklas Hoglund wrote:
>> When I try it in the kext where I want it to go, I still get an
>> unresolved reference on __ZN17IOPolledInterface9metaClassE. I notice
>> the working case links to __ZN17IOPolledInterface10metaClassE. I
>> should be able to track that down by comparing differences between the
>> projects.
> Sorry to reply to myself, but I want to clarify now that I solved it. It
turns out the two things that are linked to are IOPolledInterface::metaClass
and IOPolledInterface::gMetaClass.
> I didn't spot the difference in the mangled names. The former is not
exported, as far as I
> can see, but it is not used if I only subclass IOPolledInterface. It gets
used if I try to do an OSDynamicCast to IOPolledInterface.
Exactly. It's used only if you use OSDynamicCast. Unfortunately when we
wanna use OSDynamicCast macro
appropriate metaClass symbols are expected to be additionally required.
Best,
- Alexander
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
com
This email sent to email@hidden
_______________________________________________
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