Re: about sys_call and ioctl
Re: about sys_call and ioctl
- Subject: Re: about sys_call and ioctl
- From: Shawn Erickson <email@hidden>
- Date: Mon, 19 Apr 2004 10:44:55 -0700
On Apr 19, 2004, at 7:11 AM, yetty wrote:
question 1: Can I register my driver in the kernel and then access the
kernel in Mac OS X like that?
question2:Can I create my system call in the kernel and use it in user
space in Mac OS X like that?
What type or driver will you be working on? What does the driver do?
Based on answer to those the correct / recommended access/interface
method varies. Note the driver and kernel extension model between Linux
and Mac OS X is different and so talking about direct parallel is
likely not the best way to attack things, instead outline what you need
or are trying to do / implement.
Note decent documentation exists on Apple's Darwin site.
<
http://developer.apple.com/darwin/> &
<
http://developer.apple.com/documentation/Darwin/Darwin.html>
In particular...
<
http://developer.apple.com/documentation/Darwin/Conceptual/
KernelProgramming/index.html>
<
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/
AccessingHardware/index.html>
<
http://developer.apple.com/documentation/Darwin/Conceptual/howto/
kext_tutorials/about_kext/about_kext.html>
<
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/
IOKitFundamentals/index.html>
-Shawn
_______________________________________________
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.