summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/sets/lists/man/mi2
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/efi.4 (renamed from share/man/man4/man4.arm64/efi.4)29
-rw-r--r--share/man/man4/man4.arm64/Makefile4
4 files changed, 27 insertions, 12 deletions
diff --git a/distrib/sets/lists/man/mi b/distrib/sets/lists/man/mi
index 9939ca3db98..82b0e7c7aeb 100644
--- a/distrib/sets/lists/man/mi
+++ b/distrib/sets/lists/man/mi
@@ -1280,7 +1280,6 @@
./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
@@ -1418,6 +1417,7 @@
./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
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 2407c0b4245..f4f3b8317c9 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,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 \
@@ -31,7 +31,7 @@ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.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 \
diff --git a/share/man/man4/man4.arm64/efi.4 b/share/man/man4/efi.4
index bd9e3938623..02fd5abde54 100644
--- a/share/man/man4/man4.arm64/efi.4
+++ b/share/man/man4/efi.4
@@ -1,6 +1,7 @@
-.\" $OpenBSD: efi.4,v 1.2 2018/04/07 13:52:48 jmc Exp $
+.\" $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
@@ -14,31 +15,45 @@
.\" 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
+.Dd $Mdocdate: April 29 2024 $
+.Dt EFI 4
.Os
.Sh NAME
.Nm efi
-.Nd EFI runtime services
+.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.
-Support is currently limited to reading and setting the Real Time
-Clock on systems that offer such functionality.
+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 in
+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 .
diff --git a/share/man/man4/man4.arm64/Makefile b/share/man/man4/man4.arm64/Makefile
index a60135e815b..743afc108a3 100644
--- a/share/man/man4/man4.arm64/Makefile
+++ b/share/man/man4/man4.arm64/Makefile
@@ -1,4 +1,4 @@
-# $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 \
@@ -6,7 +6,7 @@ MAN= agintc.4 agtimer.4 ampchwm.4 ampintc.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