recognise Cortex-A78C
authorjsg <jsg@openbsd.org>
Fri, 29 Jan 2021 08:48:19 +0000 (08:48 +0000)
committerjsg <jsg@openbsd.org>
Fri, 29 Jan 2021 08:48:19 +0000 (08:48 +0000)
sys/arch/arm64/arm64/cpu.c

index f620770..e24e851 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: cpu.c,v 1.45 2021/01/26 23:02:18 kettenis Exp $       */
+/*     $OpenBSD: cpu.c,v 1.46 2021/01/29 08:48:19 jsg Exp $    */
 
 /*
  * Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
@@ -69,6 +69,7 @@
 #define CPU_PART_CORTEX_X1     0xd44
 #define CPU_PART_NEOVERSE_N2   0xd49
 #define CPU_PART_NEOVERSE_E1   0xd4a
+#define CPU_PART_CORTEX_A78C   0xd4b
 
 #define CPU_PART_THUNDERX_T88  0x0a1
 #define CPU_PART_THUNDERX_T81  0x0a2
@@ -109,6 +110,7 @@ struct cpu_cores cpu_cores_arm[] = {
        { CPU_PART_CORTEX_A77, "Cortex-A77" },
        { CPU_PART_CORTEX_A78, "Cortex-A78" },
        { CPU_PART_CORTEX_A78AE, "Cortex-A78AE" },
+       { CPU_PART_CORTEX_A78C, "Cortex-A78C" },
        { CPU_PART_CORTEX_X1, "Cortex-X1" },
        { CPU_PART_NEOVERSE_E1, "Neoverse E1" },
        { CPU_PART_NEOVERSE_N1, "Neoverse N1" },