Date: Sat, 30 Jan 2010 04:24:03 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib Makefile src/lib/libefi Makefile efi_getvar.c efi_nextvarname.c efi_setvar.c libefi.3 libefi.c libefi.h libefi_int.h Message-ID: <201001300424.o0U4Ow53066750@repoman.freebsd.org>
index | next in thread | raw e-mail
marcel 2010-01-30 04:24:03 UTC
FreeBSD src repository
Modified files:
lib Makefile
Added files:
lib/libefi Makefile efi_getvar.c efi_nextvarname.c
efi_setvar.c libefi.3 libefi.c libefi.h
libefi_int.h
Log:
SVN rev 203181 on 2010-01-30 04:24:03Z by marcel
Introduce libefi -- a library around EFI runtime services and protocols.
This first commit brings 3 functions for enumerating, retrieving,
adding, removing and modifying EFI variables. The immediate use of these
include the insertion of a new boot option as part of the installation
process.
This library uses ioctl(2) requests implemented by io(4) to pass the
requests down through the kernel to EFI. These ioctl requests are only
implemented on ia64, so libefi is currently only enabled on ia64. The
interface is generic and io(4) on mad64/i386 can easily be taught to
handle these once EFI support has been added to the kernel there.
Revision Changes Path
1.243 +3 -2 src/lib/Makefile
1.1 +22 -0 src/lib/libefi/Makefile (new)
1.1 +68 -0 src/lib/libefi/efi_getvar.c (new)
1.1 +66 -0 src/lib/libefi/efi_nextvarname.c (new)
1.1 +66 -0 src/lib/libefi/efi_setvar.c (new)
1.1 +136 -0 src/lib/libefi/libefi.3 (new)
1.1 +176 -0 src/lib/libefi/libefi.c (new)
1.1 +57 -0 src/lib/libefi/libefi.h (new)
1.1 +40 -0 src/lib/libefi/libefi_int.h (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001300424.o0U4Ow53066750>
