Date: Wed, 3 Apr 2002 10:16:14 -0500 From: "Kreider, Carl" <carl.kreider@windriver.com> To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: read a file from a driver Message-ID: <20020403101614.A12363@indy.doctordesign.com>
next in thread | raw e-mail | index | archive | help
I am working on an embedded project running FreeBSD, and my driver for our custom card needs to load an FPGA with code. I know I can compile the code in as data, but for ease of development, I would rather fetch the FPGA code from a file. With a driver in kernel space. Really. Can it be done? If so, how? open() and read() are obviously in libc which rules them out. Do I have to write my own in assembler? -- Carl Kreider Wind River Doctor Design Services 700 E Beardsley Suite 14A Elkhart Indiana 46514 219-206-8050 x104 carl.kreider@windriver.com ckreider@doctordesign.com ckreider@acm.org ckreider@gte.net ============================================================= On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage ============================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403101614.A12363>