Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 report A12 as A17 to the user. A12 is ret...



details:   https://anonhg.NetBSD.org/src/rev/2cbb8aa91823
branches:  trunk
changeset: 454184:2cbb8aa91823
user:      tnn <tnn%NetBSD.org@localhost>
date:      Sun Sep 08 07:59:43 2019 +0000

description:
report A12 as A17 to the user. A12 is retcon'ed by ARM.

diffstat:

 sys/arch/arm/arm32/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 25a5ba890bb7 -r 2cbb8aa91823 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c  Sun Sep 08 07:00:20 2019 +0000
+++ b/sys/arch/arm/arm32/cpu.c  Sun Sep 08 07:59:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.130 2019/09/07 19:42:42 tnn Exp $    */
+/*     $NetBSD: cpu.c,v 1.131 2019/09/08 07:59:43 tnn Exp $    */
 
 /*
  * Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.130 2019/09/07 19:42:42 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.131 2019/09/08 07:59:43 tnn Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -518,7 +518,7 @@
          pN_steppings, "7A" },
        { CPU_ID_CORTEXA9R4,    CPU_CLASS_CORTEX,       "Cortex-A9 r4",
          pN_steppings, "7A" },
-       { CPU_ID_CORTEXA12R0,   CPU_CLASS_CORTEX,       "Cortex-A12 r0",
+       { CPU_ID_CORTEXA12R0,   CPU_CLASS_CORTEX,       "Cortex-A17(A12) r0",   /* A12 was rebranded A17 */
          pN_steppings, "7A" },
        { CPU_ID_CORTEXA15R2,   CPU_CLASS_CORTEX,       "Cortex-A15 r2",
          pN_steppings, "7A" },



Home | Main Index | Thread Index | Old Index