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 add CPU_ID_APPLE_M1_ICESTORM and CPU_ID...
details: https://anonhg.NetBSD.org/src/rev/33be756c8265
branches: trunk
changeset: 365877:33be756c8265
user: ryo <ryo%NetBSD.org@localhost>
date: Sat Apr 30 14:06:10 2022 +0000
description:
add CPU_ID_APPLE_M1_ICESTORM and CPU_ID_APPLE_M1_FIRESTORM.
sync cpuids[] to sys/arch/aarch64/aarch64/cpu.c r1.69
diffstat:
usr.sbin/cpuctl/arch/aarch64.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 0fa483f98ca6 -r 33be756c8265 usr.sbin/cpuctl/arch/aarch64.c
--- a/usr.sbin/cpuctl/arch/aarch64.c Sat Apr 30 13:48:09 2022 +0000
+++ b/usr.sbin/cpuctl/arch/aarch64.c Sat Apr 30 14:06:10 2022 +0000
@@ -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 <ryo%nerv.org@localhost>
@@ -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 @@
{ 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[] = {
Home |
Main Index |
Thread Index |
Old Index