Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/cpuctl/arch Teach cpuctl(8) about ARMv8.5-RNG RNDR/...



details:   https://anonhg.NetBSD.org/src/rev/e14ffc8fdf14
branches:  trunk
changeset: 1009992:e14ffc8fdf14
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun May 10 21:42:05 2020 +0000

description:
Teach cpuctl(8) about ARMv8.5-RNG RNDR/RNDRRS support.

diffstat:

 usr.sbin/cpuctl/arch/aarch64.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 0307030ce125 -r e14ffc8fdf14 usr.sbin/cpuctl/arch/aarch64.c
--- a/usr.sbin/cpuctl/arch/aarch64.c    Sun May 10 21:41:19 2020 +0000
+++ b/usr.sbin/cpuctl/arch/aarch64.c    Sun May 10 21:42:05 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aarch64.c,v 1.8 2020/01/28 17:36:42 maxv Exp $ */
+/*     $NetBSD: aarch64.c,v 1.9 2020/05/10 21:42:05 riastradh Exp $    */
 
 /*
  * Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -29,7 +29,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: aarch64.c,v 1.8 2020/01/28 17:36:42 maxv Exp $");
+__RCSID("$NetBSD: aarch64.c,v 1.9 2020/05/10 21:42:05 riastradh Exp $");
 #endif /* no lint */
 
 #include <sys/types.h>
@@ -225,6 +225,13 @@
                            "/CRC32CB/CRC32CH/CRC32CW/CRC32CX"
                }
        },
+       {
+               .bitpos = 60, .bitwidth = 4, .name = "RNDR",
+               .info = (const char *[16]) { /* 16=4bit */
+                       [0] = "No RNDR/RNDRRS",
+                       [1] = "RNDR/RNDRRS",
+               },
+       },
        { .bitwidth = 0 }       /* end of table */
 };
 



Home | Main Index | Thread Index | Old Index