efi - Add EFI run-time ABI support
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 22 Nov 2016 22:53:50 +0000 (14:53 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 22 Nov 2016 22:53:50 +0000 (14:53 -0800)
commitbb7548fd68273597588b57868a739b2d3a8a8d94
treeb4d9cacd09dd75a9ebec9aa2c7f5155f3ccfae8d
parentca8d604703937a2b1a4f677d75adf432bf9f43e2
efi - Add EFI run-time ABI support

* Add EFI run-time ABI support, ability to query and set the time,
  scan EFI BIOS variables, etc.

* Port from FreeBSD.  Use our vmspace management functions to handle
  the specialized pmap requirements instead of rerolling the page
  table.  Make adjustments for differences in the device API.  etc.

Ported-by: swildner, dillon
Ported-from: FreeBSD, Warner Losh
26 files changed:
lib/Makefile
lib/libefivar/Makefile [new file with mode: 0644]
lib/libefivar/efivar.3 [new file with mode: 0644]
lib/libefivar/efivar.c [new file with mode: 0644]
lib/libefivar/efivar.h [new file with mode: 0644]
lib/libefivar/libefivar.c [new file with mode: 0644]
lib/libefivar/libefivar_int.h [new file with mode: 0644]
share/mk/bsd.libnames.mk
sys/dev/misc/efidev/Makefile [new file with mode: 0644]
sys/dev/misc/efidev/efidev.c [new file with mode: 0644]
sys/platform/pc64/include/efi.h [new file with mode: 0644]
sys/platform/pc64/include/pmap.h
sys/platform/pc64/x86_64/efirt.c [new file with mode: 0644]
sys/platform/pc64/x86_64/pmap.c
sys/sys/efiio.h [new file with mode: 0644]
usr.sbin/Makefile
usr.sbin/efivar/Makefile [new file with mode: 0644]
usr.sbin/efivar/efivar.8 [new file with mode: 0644]
usr.sbin/efivar/efivar.c [new file with mode: 0644]
usr.sbin/uefisign/Makefile [new file with mode: 0644]
usr.sbin/uefisign/child.c [new file with mode: 0644]
usr.sbin/uefisign/magic.h [new file with mode: 0644]
usr.sbin/uefisign/pe.c [new file with mode: 0644]
usr.sbin/uefisign/uefisign.8 [new file with mode: 0644]
usr.sbin/uefisign/uefisign.c [new file with mode: 0644]
usr.sbin/uefisign/uefisign.h [new file with mode: 0644]