From: Ralf Baechle <ralf@linux-mips.org>
To: JinuM <jinum@esntechnologies.co.in>
Cc: linux-mips@linux-mips.org
Subject: Re: open file in kernel mode
Date: Fri, 9 May 2003 17:06:12 +0200 [thread overview]
Message-ID: <20030509150612.GA7837@linux-mips.org> (raw)
In-Reply-To: <AF572D578398634881E52418B28925670EFF20@mail.esn.activedirectory>
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.
Ralf
prev parent reply other threads:[~2003-05-09 15:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 5:54 open file in kernel mode JinuM
2003-05-09 15:06 ` Ralf Baechle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030509150612.GA7837@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=jinum@esntechnologies.co.in \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox