diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2021-10-10 13:03:08 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2021-10-10 13:03:08 +0000 |
| commit | 25ff60a647236a2f67fc08ecac96a14fecffd6f1 (patch) | |
| tree | 9e294fa34b95c1c6d543d5ee9b53c056ea3aff66 /sys/dev/files.dev | |
| parent | bb18b00d04ee512d526a620a8e16276e464d6241 (diff) | |
efi: Add /dev/efi character device
Introduce a /dev/efi character device that provides a means for accessing
UEFI RT variable services from userland. Compatible with the FreeBSD ioctl
interface for ease of porting their libefivar and associated tools.
The ioctl interface is defined in sys/efiio.h.
To enable support for this on an arch, the kernel needs `pseudo-device efi`
and the MD EFI implementation needs to register its backend by calling
efi_ops_register(). This commit includes an implementation for Arm.
Diffstat (limited to 'sys/dev/files.dev')
| -rw-r--r-- | sys/dev/files.dev | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/files.dev b/sys/dev/files.dev index 5b5c00eb413..902363c0d72 100644 --- a/sys/dev/files.dev +++ b/sys/dev/files.dev @@ -1,4 +1,4 @@ -# $NetBSD: files.dev,v 1.7 2021/07/21 23:16:09 jmcneill Exp $ +# $NetBSD: files.dev,v 1.8 2021/10/10 13:03:09 jmcneill Exp $ file dev/bio.c bio needs-flag file dev/ccd.c ccd @@ -27,3 +27,6 @@ file dev/video.c video needs-flag file dev/vnd.c vnd file dev/ipmi.c ipmi needs-flag file dev/smbios.c smbios + +defpseudo efi +file dev/efi.c efi needs-flag |
