summaryrefslogtreecommitdiff
path: root/etc/MAKEDEV.common
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/MAKEDEV.common
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/MAKEDEV.common')
-rw-r--r--etc/MAKEDEV.common5
1 files changed, 4 insertions, 1 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