Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include fix define of CPU IDs



details:   https://anonhg.NetBSD.org/src/rev/6e79c9a60a81
branches:  trunk
changeset: 318613:6e79c9a60a81
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue May 01 10:10:31 2018 +0000
description:
fix define of CPU IDs
* fix incorrect CPU_ID of APM/APPLE
* add CPU_ID of SAMSUNG
* fix typo about BROADCOM

diffstat:

 sys/arch/arm/include/cputypes.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r ef224e96f601 -r 6e79c9a60a81 sys/arch/arm/include/cputypes.h
--- a/sys/arch/arm/include/cputypes.h   Tue May 01 09:03:49 2018 +0000
+++ b/sys/arch/arm/include/cputypes.h   Tue May 01 10:10:31 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cputypes.h,v 1.1 2018/03/20 10:14:29 ryo Exp $ */
+/*     $NetBSD: cputypes.h,v 1.2 2018/05/01 10:10:31 ryo Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Ben Harris
@@ -47,16 +47,18 @@
 /* The high-order byte is always the implementor */
 #define CPU_ID_IMPLEMENTOR_MASK        0xff000000
 #define CPU_ID_ARM_LTD         0x41000000 /* 'A' */
-#define CPU_ID_BROADCMO                0x42000000 /* 'B' */
+#define CPU_ID_BROADCOM                0x42000000 /* 'B' */
 #define CPU_ID_CAVIUM          0x43000000 /* 'C' */
 #define CPU_ID_DEC             0x44000000 /* 'D' */
 #define CPU_ID_INFINEON                0x49000000 /* 'I' */
 #define CPU_ID_MOTOROLA                0x4d000000 /* 'M' */
 #define CPU_ID_NVIDIA          0x4e000000 /* 'N' */
-#define CPU_ID_APPLE           0x50000000 /* 'P' */
+#define CPU_ID_APM             0x50000000 /* 'P' */
 #define CPU_ID_QUALCOMM                0x51000000 /* 'Q' */
+#define CPU_ID_SAMSUNG         0x53000000 /* 'S' */
 #define CPU_ID_TI              0x54000000 /* 'T' */
 #define CPU_ID_MARVELL         0x56000000 /* 'V' */
+#define CPU_ID_APPLE           0x61000000 /* 'a' */
 #define CPU_ID_FARADAY         0x66000000 /* 'f' */
 #define CPU_ID_INTEL           0x69000000 /* 'i' */
 



Home | Main Index | Thread Index | Old Index