summaryrefslogtreecommitdiffstats
path: root/lib/libefi/efi_setvar.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce libefi -- a library around EFI runtime services and protocols.marcel2010-01-301-0/+66
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.
OpenPOWER on IntegriCloud