Module Name: src Committed By: jakllsch Date: Fri Sep 27 15:13:41 UTC 2024
Modified Files: src/usr.sbin/cpuctl/arch: aarch64.c Log Message: add Ampere 1 and 1A To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 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.23 src/usr.sbin/cpuctl/arch/aarch64.c:1.24 --- src/usr.sbin/cpuctl/arch/aarch64.c:1.23 Wed Feb 7 04:20:28 2024 +++ src/usr.sbin/cpuctl/arch/aarch64.c Fri Sep 27 15:13:41 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: aarch64.c,v 1.23 2024/02/07 04:20:28 msaitoh Exp $ */ +/* $NetBSD: aarch64.c,v 1.24 2024/09/27 15:13:41 jakllsch Exp $ */ /* * Copyright (c) 2018 Ryo Shimizu @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: aarch64.c,v 1.23 2024/02/07 04:20:28 msaitoh Exp $"); +__RCSID("$NetBSD: aarch64.c,v 1.24 2024/09/27 15:13:41 jakllsch Exp $"); #endif /* no lint */ #include <sys/types.h> @@ -93,6 +93,8 @@ const struct cpuidtab cpuids[] = { { 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" }, + { CPU_ID_AMPERE1 & CPU_PARTMASK, "Ampere-1", "Ampere", "v8.6-A+" }, + { CPU_ID_AMPERE1A & CPU_PARTMASK, "Ampere-1A", "Ampere", "v8.6-A+" }, }; const struct impltab implids[] = { @@ -110,7 +112,8 @@ const struct impltab implids[] = { { CPU_ID_MARVELL, "Marvell International Ltd." }, { CPU_ID_APPLE, "Apple Inc." }, { CPU_ID_FARADAY, "Faraday Technology Corporation" }, - { CPU_ID_INTEL, "Intel Corporation" } + { CPU_ID_INTEL, "Intel Corporation" }, + { CPU_ID_AMPERE, "Ampere" }, }; #define FIELDNAME(_bitpos, _bitwidth, _name) \