From owner-freebsd-hackers Wed Mar 10 17: 2:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from www.crb-web.com (ns1.crb-web.com [209.70.120.131]) by hub.freebsd.org (Postfix) with SMTP id 9613D1516A for ; Wed, 10 Mar 1999 17:02:05 -0800 (PST) (envelope-from wayne@crb.crb-web.com) Received: (qmail 8066 invoked by uid 1001); 11 Mar 1999 01:48:09 -0000 Date: Wed, 10 Mar 1999 20:48:09 -0500 (EST) From: Wayne Cuddy Reply-To: wayne@crb-web.com To: FreeBSD Hackers List Subject: new to driver coding Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been reading any information I can find, which is very little, on writing unix device drivers. Specifically I would like information on FreeBSD;) I really want to start simple by writing a character driver that is not attached to a REAL device but just holds on to some memory and allows me to writing some bytes in (write()) and read them back (read()). I don't think this will be very difficult but I need some detailed information specific to FreeBDS on what header files I need to include and how to build my driver as part of the kernel. What directory should I build my driver in? What entry point will the kernel call when the system boots so I can print a pretty little string from my driver showing a sample initialization. I am kinda in the dark here to specifics of this so ALL help is greatly appreciated. Thanks, Wayne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message