Module Name: src
Committed By: uwe
Date: Sat Jul 25 22:59:55 UTC 2020
Modified Files:
src/sys/arch/sh3/include: cputypes.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sh3/include/cputypes.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sh3/include/cputypes.h
diff -u src/sys/arch/sh3/include/cputypes.h:1.12 src/sys/arch/sh3/include/cputypes.h:1.13
--- src/sys/arch/sh3/include/cputypes.h:1.12 Tue Apr 21 12:57:41 2009
+++ src/sys/arch/sh3/include/cputypes.h Sat Jul 25 22:59:55 2020
@@ -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;