Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOKit /devfs



Check out the IOSerialFamily project/ IOSerialBSDClient.cpp

It creates a dev node and setup the cdevsw entry.

Godfrey

On 05/19/2005, at 2:43 , Hado Hein wrote:

I want to implement a device interfacing api in /dev that is already
done in linux.

So I scanned the docs about i/o kit and kernel for a simple list (or
sample code) of how to build a kext that provides a devnode _and_ on
where to implement the api.

I looked over the darwin sources of rs232 and saw how to register the
devnode but I found nowhere the implementation of
open,close,read,write,seek somewhere.

Can one please point me to clear docs where I can see how to implement a
(dummy) /devnode.



-- Hado Hein, Berlin, Fed.Rep. of Germany

http://www.batchmaker.de (software authoring, including stage lighting)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-drivers mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden
References: 
 >IOKit /devfs (From: email@hidden (Hado Hein))



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.