summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2024-09-03 09:35:47 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2024-09-03 09:35:47 +0000
commitf7d3d79017a93c728b5944312aa901d386a56170 (patch)
tree895dd2351539fe601754e8ea104a3d815e87c1ff /etc
parentad445364b46a9560a6d51208e9c88ba8e7902703 (diff)
For AMD SEV create /dev/psp.
To call ioctl(2) for the platform security processor (PSP), vmd(8) needs a device file. It is currently linked to the cryptographic co-processor ccp(4). We may split this into a separate psp(4) device. from hshoexer@; input jsg@
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV.common5
-rw-r--r--etc/etc.amd64/MAKEDEV.md3
2 files changed, 6 insertions, 2 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common
index 1e7bb3d235a..eaf77bba602 100644
--- a/etc/MAKEDEV.common
+++ b/etc/MAKEDEV.common
@@ -1,4 +1,4 @@
-vers(a, {-$OpenBSD: MAKEDEV.common,v 1.120 2023/01/28 11:04:47 phessler Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.common,v 1.121 2024/09/03 09:35:46 bluhm Exp $-})dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
dnl
@@ -167,6 +167,7 @@ target(all, bpf)dnl
target(all, kcov)dnl
target(all, dt)dnl
target(all, kstat)dnl
+target(all, psp)dnl
dnl
_mkdev(all, {-all-}, {-dnl
show_target(all)dnl
@@ -535,3 +536,5 @@ __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
+__devitem(psp, psp, Platform Security Processor)dnl
+_mkdev(psp, psp, {-M psp c major_psp_c 0 600-})dnl
diff --git a/etc/etc.amd64/MAKEDEV.md b/etc/etc.amd64/MAKEDEV.md
index ccc5a3c37bd..916116aae6d 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.82 2023/01/14 12:15:12 kettenis Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.83 2024/09/03 09:35:46 bluhm Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
@@ -99,6 +99,7 @@ _DEV(vmm, 10)
_DEV(vscsi, 89)
_DEV(pvbus, 95)
_DEV(kstat, 51)
+_DEV(psp, 101)
dnl
divert(__mddivert)dnl
dnl