Module Name: src
Committed By: riastradh
Date: Sun May 10 21:42:06 UTC 2020
Modified Files:
src/usr.sbin/cpuctl/arch: aarch64.c
Log Message:
Teach cpuctl(8) about ARMv8.5-RNG RNDR/RNDRRS support.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/cpuctl/arch/aarch64.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/cpuctl/arch/aarch64.c
diff -u src/usr.sbin/cpuctl/arch/aarch64.c:1.8 src/usr.sbin/cpuctl/arch/aarch64.c:1.9
--- src/usr.sbin/cpuctl/arch/aarch64.c:1.8 Tue Jan 28 17:36:42 2020
+++ src/usr.sbin/cpuctl/arch/aarch64.c Sun May 10 21:42:05 2020
@@ -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 <[email protected]>
@@ -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 @@ struct fieldinfo id_aa64isar0_fieldinfo[
"/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 */
};