git: efi - Add EFI run-time ABI support

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Nov 22 15:06:34 PST 2016


commit bb7548fd68273597588b57868a739b2d3a8a8d94
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Nov 22 14:53:50 2016 -0800

    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

Summary of changes:
 lib/Makefile                     |   1 +
 lib/libefivar/Makefile           |  51 ++++
 lib/libefivar/efivar.3           | 100 ++++++
 lib/libefivar/efivar.c           | 381 +++++++++++++++++++++++
 lib/libefivar/efivar.h           | 121 ++++++++
 lib/libefivar/libefivar.c        | 188 ++++++++++++
 lib/libefivar/libefivar_int.h    |  35 +++
 share/mk/bsd.libnames.mk         |   1 +
 sys/dev/misc/efidev/Makefile     |   9 +
 sys/dev/misc/efidev/efidev.c     | 224 ++++++++++++++
 sys/platform/pc64/include/efi.h  |  59 ++++
 sys/platform/pc64/include/pmap.h |  34 +++
 sys/platform/pc64/x86_64/efirt.c | 637 +++++++++++++++++++++++++++++++++++++++
 sys/platform/pc64/x86_64/pmap.c  |  11 -
 sys/sys/efiio.h                  |  59 ++++
 usr.sbin/Makefile                |   2 +
 usr.sbin/efivar/Makefile         |   9 +
 usr.sbin/efivar/efivar.8         | 164 ++++++++++
 usr.sbin/efivar/efivar.c         | 351 +++++++++++++++++++++
 usr.sbin/uefisign/Makefile       |  11 +
 usr.sbin/uefisign/child.c        | 267 ++++++++++++++++
 usr.sbin/uefisign/magic.h        |  66 ++++
 usr.sbin/uefisign/pe.c           | 564 ++++++++++++++++++++++++++++++++++
 usr.sbin/uefisign/uefisign.8     |  93 ++++++
 usr.sbin/uefisign/uefisign.c     | 425 ++++++++++++++++++++++++++
 usr.sbin/uefisign/uefisign.h     |  91 ++++++
 26 files changed, 3943 insertions(+), 11 deletions(-)
 create mode 100644 lib/libefivar/Makefile
 create mode 100644 lib/libefivar/efivar.3
 create mode 100644 lib/libefivar/efivar.c
 create mode 100644 lib/libefivar/efivar.h
 create mode 100644 lib/libefivar/libefivar.c
 create mode 100644 lib/libefivar/libefivar_int.h
 create mode 100644 sys/dev/misc/efidev/Makefile
 create mode 100644 sys/dev/misc/efidev/efidev.c
 create mode 100644 sys/platform/pc64/include/efi.h
 create mode 100644 sys/platform/pc64/x86_64/efirt.c
 create mode 100644 sys/sys/efiio.h
 create mode 100644 usr.sbin/efivar/Makefile
 create mode 100644 usr.sbin/efivar/efivar.8
 create mode 100644 usr.sbin/efivar/efivar.c
 create mode 100644 usr.sbin/uefisign/Makefile
 create mode 100644 usr.sbin/uefisign/child.c
 create mode 100644 usr.sbin/uefisign/magic.h
 create mode 100644 usr.sbin/uefisign/pe.c
 create mode 100644 usr.sbin/uefisign/uefisign.8
 create mode 100644 usr.sbin/uefisign/uefisign.c
 create mode 100644 usr.sbin/uefisign/uefisign.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bb7548fd68273597588b57868a739b2d3a8a8d94


-- 
DragonFly BSD source repository



More information about the Commits mailing list