Re: Data Link driver porting guide for Mac OS X 10.4?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Dec 20, 2004, at 1:02 PM, Andrew Gallatin wrote: Jamie Wood writes: Hi, Please excuse me if the answer to this question is obvious. You're bumping up against the kpi. From the header files, it looks like most of the mbuf related functions have been wrapped in mbuf_* wrapper functions. Eg, m_adj() becomes mbuf_adj(). Look at mbuf.h on a 10.4 system, and look at the file it includes (mbuf_kpi.h or something (my development box is not on right now). I assume they did this so they could change the size of struct mbuf without breaking drivers. You might be able to declare the exact right dependancy in your Info.plist and get compat versions. I'm not sure what that is. If this kpi stuff is actually documented someplace besides the headers, I'd love to know about it. -- Mark Grimes MacOSX Software Developer sourcecode@mac.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I have a network device that operates at the Data Link layer. It works fine on 10.2 and 10.3, but when I try to load it using the developer preview of 10.4, I get a bunch of undefined symbols. Really basic mbuf functions like 'm_get' and 'm_free' are reported as undefined. I looked at the 'nm' output of the 10.4 mach_kernel, and I see functions like "mbuf_get" and "mbuf_free", so I have a feeling that I just need to do some name changes. Is any documentation out that there that can help me port my driver to 10.4? Drew If you are an ADC Select or Premier member then you already have access to this documentation. It should be pretty evident (NDA) that this is not the place to be discussing Tiger details, BTW. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mark Grimes