summaryrefslogtreecommitdiff
path: root/tests/kernel
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2021-10-10 13:03:08 +0000
committerjmcneill <jmcneill@NetBSD.org>2021-10-10 13:03:08 +0000
commit25ff60a647236a2f67fc08ecac96a14fecffd6f1 (patch)
tree9e294fa34b95c1c6d543d5ee9b53c056ea3aff66 /tests/kernel
parentbb18b00d04ee512d526a620a8e16276e464d6241 (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 'tests/kernel')
0 files changed, 0 insertions, 0 deletions