Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Add AMD protected processor identification ...



details:   https://anonhg.NetBSD.org/src/rev/c69ccdb6c891
branches:  trunk
changeset: 971435:c69ccdb6c891
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Apr 24 02:27:59 2020 +0000

description:
Add AMD protected processor identification number (PPIN).

diffstat:

 sys/arch/x86/x86/procfs_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b44c1a874297 -r c69ccdb6c891 sys/arch/x86/x86/procfs_machdep.c
--- a/sys/arch/x86/x86/procfs_machdep.c Fri Apr 24 00:22:57 2020 +0000
+++ b/sys/arch/x86/x86/procfs_machdep.c Fri Apr 24 02:27:59 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_machdep.c,v 1.36 2020/04/01 08:21:38 msaitoh Exp $ */
+/*     $NetBSD: procfs_machdep.c,v 1.37 2020/04/24 02:27:59 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.36 2020/04/01 08:21:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.37 2020/04/24 02:27:59 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -155,7 +155,7 @@
        { /* (13) AMD 0x80000008 ebx */
        "clzero", "irperf", "xsaveerptr", NULL, "rdpru", NULL, NULL, NULL,
        NULL, "wbnoinvd", NULL, NULL, NULL, NULL, NULL, NULL,
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+       NULL, NULL, NULL, NULL, NULL, NULL, NULL, "PPIN",
        NULL, "virt_ssbd", NULL, NULL, NULL, NULL, NULL, NULL},
 
        { /* (14) 0x00000006 eax */



Home | Main Index | Thread Index | Old Index