1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00

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@
This commit is contained in:
bluhm 2024-09-03 09:35:46 +00:00
parent 42dc57535e
commit 48fdf972e3
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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