[Top] [All Lists]

Re: open file in kernel mode

To: JinuM <>
Subject: Re: open file in kernel mode
From: Ralf Baechle <>
Date: Fri, 9 May 2003 17:06:12 +0200
In-reply-to: <AF572D578398634881E52418B28925670EFF20@mail.esn.activedirectory>
Original-recipient: rfc822;
References: <AF572D578398634881E52418B28925670EFF20@mail.esn.activedirectory>
User-agent: Mutt/1.4.1i
On Fri, May 09, 2003 at 11:24:25AM +0530, JinuM wrote:

> I am trying to write a firmware loader driver. Instead of reading the
> firmware as a buffer(predefined array)  we would like to read the firmware
> from a file (say /root/firmware). Do we have some function which reads the
> file contents in kernel mode.

This one seems a candidate for an faq ...

Provide some special file in /dev/ and use a small user application to
install the firmware by writing it into that file.


<Prev in Thread] Current Thread [Next in Thread>