Module Name: src
Committed By: ryo
Date: Sat Apr 30 14:06:10 UTC 2022
Modified Files:
src/usr.sbin/cpuctl/arch: aarch64.c
Log Message:
add CPU_ID_APPLE_M1_ICESTORM and CPU_ID_APPLE_M1_FIRESTORM.
sync cpuids[] to sys/arch/aarch64/aarch64/cpu.c r1.69
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 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.20 src/usr.sbin/cpuctl/arch/aarch64.c:1.21
--- src/usr.sbin/cpuctl/arch/aarch64.c:1.20 Thu Jan 6 18:00:58 2022
+++ src/usr.sbin/cpuctl/arch/aarch64.c Sat Apr 30 14:06:10 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64.c,v 1.20 2022/01/06 18:00:58 ryo Exp $ */
+/* $NetBSD: aarch64.c,v 1.21 2022/04/30 14:06:10 ryo Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <[email protected]>
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: aarch64.c,v 1.20 2022/01/06 18:00:58 ryo Exp $");
+__RCSID("$NetBSD: aarch64.c,v 1.21 2022/04/30 14:06:10 ryo Exp $");
#endif /* no lint */
#include <sys/types.h>
@@ -91,6 +91,8 @@ const struct cpuidtab cpuids[] = {
{ CPU_ID_THUNDERX81XXRX, "ThunderX CN81XX", "Cavium", "v8-A" },
{ CPU_ID_THUNDERX83XXRX, "ThunderX CN83XX", "Cavium", "v8-A" },
{ CPU_ID_THUNDERX2RX, "ThunderX2", "Marvell", "v8.1-A" },
+ { CPU_ID_APPLE_M1_ICESTORM & CPU_PARTMASK, "M1 Icestorm", "Apple", "Apple Silicon" },
+ { CPU_ID_APPLE_M1_FIRESTORM & CPU_PARTMASK, "M1 Firestorm", "Apple", "Apple Silicon" },
};
const struct impltab implids[] = {