./usr/share/man/man4/arm64/aplspi.4
./usr/share/man/man4/arm64/aplspmi.4
./usr/share/man/man4/arm64/apm.4
-./usr/share/man/man4/arm64/efi.4
./usr/share/man/man4/arm64/intro.4
./usr/share/man/man4/arm64/smbios.4
./usr/share/man/man4/armv7/agtimer.4
./usr/share/man/man4/ec.4
./usr/share/man/man4/eephy.4
./usr/share/man/man4/ef.4
+./usr/share/man/man4/efi.4
./usr/share/man/man4/eg.4
./usr/share/man/man4/ehci.4
./usr/share/man/man4/eisa.4
-# $OpenBSD: Makefile,v 1.847 2024/03/02 20:21:33 kettenis Exp $
+# $OpenBSD: Makefile,v 1.848 2024/04/29 20:18:12 kn Exp $
MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \
acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \
dc.4 dcphy.4 ddb.4 de.4 diskmap.4 divert.4 drm.4 dsxrtc.4 dt.4 \
dwctwo.4 dwdog.4 dwge.4 dwgpio.4 dwiic.4 dwmmc.4 dwmshc.4 dwpcie.4 \
dwqe.4 dwxe.4 \
- eap.4 ec.4 eephy.4 ef.4 eg.4 ehci.4 eisa.4 el.4 em.4 emc.4 gcu.4 \
+ eap.4 ec.4 eephy.4 ef.4 efi.4 eg.4 ehci.4 eisa.4 el.4 em.4 emc.4 gcu.4 \
emu.4 enc.4 endrun.4 envy.4 eoip.4 ep.4 epic.4 esa.4 escodec.4 \
eso.4 ess.4 et.4 etherip.4 etphy.4 ex.4 exphy.4 exrtc.4 \
fanpwr.4 fd.4 fdc.4 fec.4 fido.4 fins.4 fintek.4 fms.4 fusbtc.4 \
--- /dev/null
+.\" $OpenBSD: efi.4,v 1.1 2024/04/29 20:18:12 kn Exp $
+.\"
+.\" Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
+.\" Copyright (c) 2024 Klemens Nanni <kn@openbsd.org>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: April 29 2024 $
+.Dt EFI 4
+.Os
+.Sh NAME
+.Nm efi
+.Nd Unified Extensible Firmware Interface
+.Sh SYNOPSIS
+.Cd "# amd64"
+.Cd "efi* at bios?"
+.Pp
+.Cd "# arm64"
+.Cd "efi* at fdt?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for EFI runtime services offered by UEFI
+firmware implementations.
+It can read and write the Real Time Clock and provides userland applications
+.Xr ioctl 2
+access to the System Resource Table and to read and write variables.
+.Sh FILES
+.Bl -tag -width /dev/efi -compact
+.It Pa /dev/efi
+.El
+.Sh SEE ALSO
+.Xr ioctl 2 ,
+.Xr intro 4
+.Sh HISTORY
+The
+.Nm
+device driver first appeared for arm64 in
+.Ox 6.3 .
+Support for amd64, the ESRT and EFI variables appeard in
+.Ox 7.3 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Mark Kettenis Aq Mt kettenis@openbsd.org .
+Support for the ESRT and EFI variables is heavily based on work done by
+.An Sergii Dmytruk Aq Mt sergii.dmytruk@3meb.com .
-# $OpenBSD: Makefile,v 1.34 2024/01/22 18:56:18 kettenis Exp $
+# $OpenBSD: Makefile,v 1.35 2024/04/29 20:18:12 kn Exp $
MAN= agintc.4 agtimer.4 ampchwm.4 ampintc.4 \
aplaudio.4 aplcpu.4 apldart.4 apldcp.4 apldma.4 apldog.4 apldrm.4 \
aplhidev.4 apliic.4 aplintc.4 aplmbox.4 aplmca.4 aplnco.4 aplns.4 \
aplpcie.4 aplpinctrl.4 aplpmgr.4 aplpmu.4 aplpwm.4 \
aplsart.4 aplsmc.4 aplspi.4 aplspmi.4 apm.4 \
- efi.4 intro.4 smbios.4
+ intro.4 smbios.4
MANSUBDIR=arm64
+++ /dev/null
-.\" $OpenBSD: efi.4,v 1.2 2018/04/07 13:52:48 jmc Exp $
-.\"
-.\" Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
-.\"
-.\" Permission to use, copy, modify, and distribute this software for any
-.\" purpose with or without fee is hereby granted, provided that the above
-.\" copyright notice and this permission notice appear in all copies.
-.\"
-.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\"
-.Dd $Mdocdate: April 7 2018 $
-.Dt EFI 4 arm64
-.Os
-.Sh NAME
-.Nm efi
-.Nd EFI runtime services
-.Sh SYNOPSIS
-.Cd "efi* at fdt?"
-.Sh DESCRIPTION
-The
-.Nm
-driver provides support for EFI runtime services offered by UEFI
-firmware implementations.
-Support is currently limited to reading and setting the Real Time
-Clock on systems that offer such functionality.
-.Sh SEE ALSO
-.Xr intro 4
-.Sh HISTORY
-The
-.Nm
-device driver first appeared in
-.Ox 6.3 .
-.Sh AUTHORS
-.An -nosplit
-The
-.Nm
-driver was written by
-.An Mark Kettenis Aq Mt kettenis@openbsd.org .