From owner-freebsd-hackers Sat Mar 18 18:24:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id B8F0D37BC51 for ; Sat, 18 Mar 2000 18:24:43 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id TAA11872; Sat, 18 Mar 2000 19:24:25 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38D43A96.DD54B20B@softweyr.com> Date: Sat, 18 Mar 2000 19:25:26 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Daniel C. Sobral" Cc: "Gary T. Corcoran" , Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? References: <38D2FF48.CE3E396B@home.com> <20000317202018.C14789@fw.wintelcom.net> <38D3085D.37F31443@home.com> <38D3108F.2CDEF5BF@softweyr.com> <38D3D245.F40CE729@newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > > Wes Peters wrote: > > > > Can you repackage the binary as a data-only kld, with a couple of public > > symbols wrapping the beginning and end of the binary, or a couple of > > symbols with start and length? You could then have the loader pre- > > load the .ko at boot time. > > As a matter of fact, there is no need to repackage it. Loader can load > the file with a specific -t type, in which case the file is loaded as > is. See, for instance, the splash screen code. Coolness. You know, I think this FreeBSD thing is really going to take off one of these days. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message