From: David Mosberger <davidm@napali.hpl.hp.com>
To: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] Generic access to firmware environment variables
Date: Wed, 10 Apr 2002 12:00:07 -0700 [thread overview]
Message-ID: <15540.35767.394315.176611@napali.hpl.hp.com> (raw)
In-Reply-To: <20020410184231.GC8136@lug-owl.de>
>>>>> On Wed, 10 Apr 2002 20:42:31 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de> said:
Jan-Benedict> Hi! I've developed a driver to access environment
Jan-Benedict> variables on Alpha computers from userspace through
Jan-Benedict> procfs some time ago. These days, I updated the
Jan-Benedict> driver. While doing this, I also looked at other
Jan-Benedict> architectures; some of them also do have some kind of
Jan-Benedict> environment variables in firmware:
Jan-Benedict> Alphas - SRM firmware SGI Workstations - ARCS
Jan-Benedict> firmware MIPS/ITE-Boards - PMON m68k/MAC - ?? (info is
Jan-Benedict> placed into a "bootinfo" struct) IA64 - (_seems_ to
Jan-Benedict> know about environment...)
Jan-Benedict> They all access environment variables either by name,
Jan-Benedict> or by an internally handles number. For Alpha, I've
Jan-Benedict> (now) implemented both, access by name (if variable
Jan-Benedict> name is known/described) and access by generic number.
Jan-Benedict> I think it would be useful to have something like this
Jan-Benedict> for other architectures as well. So I'm currently
Jan-Benedict> thinking about implementing a base driver (like
Jan-Benedict> parport does) and additional modules to implement
Jan-Benedict> machine/architecture specific access methode (like
Jan-Benedict> parport_pc).
Jan-Benedict> It's easy to code, so what do you think of this?
On EFI platforms, there is /proc/efi/vars. The module was written by
Matt Domsch <Matt_Domsch@Dell.com>. EFI is used on ia64 and x86
servers. Note that EFI variables can contain arbitrary binary data,
not just text strings.
--david
prev parent reply other threads:[~2002-04-10 19:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 18:42 Jan-Benedict Glaw
2002-04-10 19:00 ` David Mosberger [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=15540.35767.394315.176611@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=davidm@hpl.hp.com \
--cc=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®