Re: Info regarding module and kernel building
Re: Info regarding module and kernel building
- Subject: Re: Info regarding module and kernel building
- From: Quinn <email@hidden>
- Date: Tue, 13 Jul 2004 12:15:58 +0100
At 15:10 +0530 13/7/04, Manjunath wrote:
Is there any concept of module in darwin kernel similar to linux?
The Darwin kernel supports loadable kernel extensions, KEXTs.
There's a bunch of documentation about this on the Apple developer
web site.
<
http://developer.apple.com/documentation/Darwin/Kernel-date.html#//apple_ref/doc/uid/TP30000422-TP30000532>
Also can i configure the darwin kernel and then build the same? If i can
configure the kernel how do i do it?
I don't really understand your question. You can build the Darwin
kernel from source if you like, but you don't need to do this in
order to build and load a kernel extension. Similarly, you don't
need to specifically configure the kernel in order to load a KEXT.
Some classes of KEXTs are loaded on demand when the appropriate
hardware is found (I/O Kit) and others can be loaded programmatically
at any time.
If you're looking for more pointers about implementing a kernel
extension, you'll have to provide us more information about what
you're trying to do. There are three basic classes of KEXTs on Mac
OS X, I/O Kit drivers, VFS plug-ins, and Network Kernel Extensions
(NKEs). Your first step is to decide what class of KEXT you want to
be.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.