Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/include Define CPU_PRODUCT_STX7105.



details:   https://anonhg.NetBSD.org/src/rev/34d0430a5c10
branches:  trunk
changeset: 936336:34d0430a5c10
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Jul 25 22:59:55 2020 +0000

description:
Define CPU_PRODUCT_STX7105.

I'm not sure if this should rather be named CPU_PRODUCT_ST40_300, but
that's probably too general.  These constants don't have to be
backward compatible, so we can re-do this properly later if we need to.

diffstat:

 sys/arch/sh3/include/cputypes.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9c7e69c0ba21 -r 34d0430a5c10 sys/arch/sh3/include/cputypes.h
--- a/sys/arch/sh3/include/cputypes.h   Sat Jul 25 22:53:38 2020 +0000
+++ b/sys/arch/sh3/include/cputypes.h   Sat Jul 25 22:59:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cputypes.h,v 1.12 2009/04/21 12:57:41 nonaka Exp $     */
+/*     $NetBSD: cputypes.h,v 1.13 2020/07/25 22:59:55 uwe Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -57,6 +57,9 @@
 #define        CPU_PRODUCT_7751        10
 #define        CPU_PRODUCT_7751R       11
 
+/* STMicroelectronics ST40 series (SH4) */
+#define CPU_PRODUCT_STX7105    12      /* ST40-300 */
+
 
 #ifndef _LOCORE
 extern int cpu_arch;



Home | Main Index | Thread Index | Old Index