From b48a47a7af6ad67f22d6c9200af84e339e76fc4f Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 14 Jan 2023 12:15:12 +0000 Subject: [PATCH] Create /dev/efi on amd64 and arm64. ok yasuoka@ --- etc/MAKEDEV.common | 4 +++- etc/etc.amd64/MAKEDEV.md | 4 +++- etc/etc.arm64/MAKEDEV.md | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common index f38fb1df13d..3a29f37473f 100644 --- a/etc/MAKEDEV.common +++ b/etc/MAKEDEV.common @@ -1,4 +1,4 @@ -vers(a, {-$OpenBSD: MAKEDEV.common,v 1.118 2022/11/10 09:50:00 krw Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.common,v 1.119 2023/01/14 12:15:12 kettenis Exp $-})dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries dnl @@ -533,3 +533,5 @@ __devitem(dt, dt, Dynamic Tracer)dnl _mkdev(dt, dt, {-M dt c major_dt_c 0 600-})dnl __devitem(kstat, kstat, Kernel Statistics)dnl _mkdev(kstat, kstat, {-M kstat c major_kstat_c 0 640-})dnl +__devitem(efi, efi, EFI runtime services)dnl +_mkdev(efi, efi, {-M efi c major_efi_c 0 600-})dnl diff --git a/etc/etc.amd64/MAKEDEV.md b/etc/etc.amd64/MAKEDEV.md index 4d0163b10b4..ccc5a3c37bd 100644 --- a/etc/etc.amd64/MAKEDEV.md +++ b/etc/etc.amd64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,amd64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.81 2022/11/09 19:35:23 krw Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.82 2023/01/14 12:15:12 kettenis Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -72,6 +72,7 @@ _DEV(bpf, 23) _DEV(dt, 30) _DEV(diskmap, 90) _DEV(dri, 87) +_DEV(efi, 84) _DEV(fdesc, 22) _DEV(fuse, 92) _DEV(gpio, 88) @@ -137,5 +138,6 @@ target(all, nvram)dnl target(all, dri)dnl target(all, ttyVI, 00, 10, 20, 30, 40)dnl target(all, ipmi, 0)dnl +target(all, efi)dnl twrget(ramd, wsdisp, ttyC, 0)dnl target(ramd, fd, 0)dnl diff --git a/etc/etc.arm64/MAKEDEV.md b/etc/etc.arm64/MAKEDEV.md index ac4a3bb0c72..4fee77dcffd 100644 --- a/etc/etc.arm64/MAKEDEV.md +++ b/etc/etc.arm64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,arm64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.15 2022/11/09 19:35:23 krw Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.16 2023/01/14 12:15:12 kettenis Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -64,6 +64,7 @@ _DEV(bpf, 23) _DEV(dt, 30) _DEV(diskmap, 90) _DEV(dri, 87) +_DEV(efi, 71) _DEV(fdesc, 22) _DEV(fuse, 92) _DEV(gpio, 88) @@ -115,4 +116,5 @@ target(all, bktr, 0)dnl target(all, gpio, 0, 1, 2)dnl target(all, dri)dnl target(all, ipmi, 0)dnl +target(all, efi)dnl twrget(ramd, wsdisp, ttyC, 0)dnl -- 2.20.1