[Linux-ia64] [RFC][PATCH] /proc access to EFI variables

From: <Matt_Domsch_at_Dell.com>
Date: 2001-02-27 10:21:43
I've created a kernel patch which makes all the EFI variables available
under /proc/efi.  Support for reading, writing, creating, and destroying
variables is present.  This patch is at version 0.01.  I've tested it
myself, and am making it available for comment.  It should not be included
in David's kernel port yet, nor in any distributions.

Other changes include:
- exporting struct efi in kernel/ia64_ksyms.c so efivars can be a module
- setting the high bit on EFI error status codes in include/asm-ia64/efi.h
(per spec)

The patch is available at

I welcome any feedback people may have.  In particular, if you know of a
better way to handle the naming of files, I'm happy to find something
better.  File names like Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c are
ugly, but required to uniquely distinguish between vendor variables.  Also,
I've made the assumption that the variable names are in UTF8, and that I can
ignore the top 8 bits of each unicode character to create a char* file name.


Matt Domsch
Dell Linux Systems Group
Linux OS Development
Received on Mon Feb 26 15:23:23 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:02 EST