Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 1998 12:48:31 +0930
From:      Greg Lehey <grog@lemis.com>
To:        eT <edebruin@iname.com>, hackers@FreeBSD.ORG
Subject:   Re: developing device drivers
Message-ID:  <19980813124831.D1147@freebie.lemis.com>
In-Reply-To: <35D1C5E1.3C33DB61@iname.com>; from eT on Wed, Aug 12, 1998 at 04:42:09PM %2B0000
References:  <35D1C5E1.3C33DB61@iname.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 12 August 1998 at 16:42:09 +0000, eT wrote:
> Greets,
>
> Thanks to all the guys out there who are so willing to help.  One day
> when I'm big I want to be like you guys :)
>
> I have read 'Writing a Unix Device driver 2nd edition' and have read
> 'FreeBSD device driver's guide' and I now need to take the plunge and
> start developing/coding.
>
> I was wondering if there was a way to develop & test & debug a device
> driver before linking it into the kernel .. i know it sorta doesn't make
> sense, but as i said i was wondering...

Sure.  Make it an LKM.  It's a lot easier to debug, though there are a
couple of things you need to know to get the symbols for the kernel
debugger.

There's some stuff on this subject in the online handbook.  I'm also
planning to write some stuff up about the testing environment.

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980813124831.D1147>