site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On jeudi, novembre 1, 2007, at 11:41 PM, Dean Reece wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Nov 1, 2007, at 3:20 PM, Stéphane Sudre wrote: What's a personality supposed to be for a StartupItem or Kernel Extension? For kexts, it is documented here: (I just went to <http://developer.apple.com> and searched for "Personality") <http://developer.apple.com/documentation/DeviceDrivers/Conceptual/ IOKitFundamentals/Matching/chapter_5_section_2.html> Basically, it is a dictionary in your kext's plist that is used to drive IOKit's passive matching. Also, when the driver goes through active matching, the contents of the personality is passed to the driver as its initial property list. Note that any given kext can have several personalities, each offering different matching criteria, and possibly other data left as hints to the driver object that gets run later. This is why they are called "personalities", since one kext can match on several different kinds of devices and can alter its behavior based on the selected personality. Also, your kext only has to contain personalities if it is going to participate in IOKit matching. IOKit families typically don't have personalities since they are loaded as libraries for other kexts, and non-IOKit kexts obviously don't have personalities. I'll let somebody else address StartupItems. OK, but then why does Leopard tells me a kext that is not related to IOKit has no personalities? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre