Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add Ampere eMAG 8180 cpuid



details:   https://anonhg.NetBSD.org/src/rev/22a06b5e16ec
branches:  trunk
changeset: 962366:22a06b5e16ec
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jul 16 10:37:12 2019 +0000

description:
Add Ampere eMAG 8180 cpuid

diffstat:

 sys/arch/aarch64/aarch64/cpu.c  |  5 +++--
 sys/arch/arm/include/cputypes.h |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r d1adcab9cf7a -r 22a06b5e16ec sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Tue Jul 16 10:12:10 2019 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Tue Jul 16 10:37:12 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.18 2019/06/19 05:31:05 mrg Exp $ */
+/* $NetBSD: cpu.c,v 1.19 2019/07/16 10:37:12 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.18 2019/06/19 05:31:05 mrg Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.19 2019/07/16 10:37:12 jmcneill Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -195,6 +195,7 @@
        { CPU_ID_CORTEXA76R3 & CPU_PARTMASK, "Cortex-A76", "Cortex", "V8.2-A+" },
        { CPU_ID_CORTEXA76AER1 & CPU_PARTMASK, "Cortex-A76AE", "Cortex", "V8.2-A+" },
        { CPU_ID_CORTEXA77R0 & CPU_PARTMASK, "Cortex-A77", "Cortex", "V8.2-A+" },
+       { CPU_ID_EMAG8180, "Ampere eMAG 8180", "Skylark", "V8-A" },
        { CPU_ID_THUNDERXRX, "Cavium ThunderX", "Cavium", "V8-A" },
        { CPU_ID_THUNDERX81XXRX, "Cavium ThunderX CN81XX", "Cavium", "V8-A" },
        { CPU_ID_THUNDERX83XXRX, "Cavium ThunderX CN83XX", "Cavium", "V8-A" },
diff -r d1adcab9cf7a -r 22a06b5e16ec sys/arch/arm/include/cputypes.h
--- a/sys/arch/arm/include/cputypes.h   Tue Jul 16 10:12:10 2019 +0000
+++ b/sys/arch/arm/include/cputypes.h   Tue Jul 16 10:37:12 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cputypes.h,v 1.7 2019/06/19 05:31:05 mrg Exp $ */
+/*     $NetBSD: cputypes.h,v 1.8 2019/07/16 10:37:12 jmcneill Exp $    */
 
 /*
  * Copyright (c) 1998, 2001 Ben Harris
@@ -203,6 +203,7 @@
 
 #define CPU_ID_SA110           0x4401a100
 #define CPU_ID_SA1100          0x4401a110
+#define CPU_ID_EMAG8180                0x503f0002
 #define CPU_ID_TI925T          0x54029250
 #define CPU_ID_MV88FR571_VD    0x56155710
 #define CPU_ID_MV88SV131       0x56251310



Home | Main Index | Thread Index | Old Index