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 all CPU types if _LKM is defined.
details: https://anonhg.NetBSD.org/src/rev/003297eabae5
branches: trunk
changeset: 525733:003297eabae5
user: uch <uch%NetBSD.org@localhost>
date: Tue Apr 16 17:33:56 2002 +0000
description:
Define all CPU types if _LKM is defined.
diffstat:
sys/arch/sh3/include/cputypes.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 99df6a7754cf -r 003297eabae5 sys/arch/sh3/include/cputypes.h
--- a/sys/arch/sh3/include/cputypes.h Tue Apr 16 17:07:58 2002 +0000
+++ b/sys/arch/sh3/include/cputypes.h Tue Apr 16 17:33:56 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cputypes.h,v 1.3 2002/03/24 18:04:40 uch Exp $ */
+/* $NetBSD: cputypes.h,v 1.4 2002/04/16 17:33:56 uch Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -50,6 +50,12 @@
#define CPU_PRODUCT_7750 6
#define CPU_PRODUCT_7750S 7
+#ifdef _LKM
+/* Assume all CPU architectures are valid for LKM's */
+#define SH3 1
+#define SH4 1
+#endif /* _LKM */
+
#ifndef _LOCORE
extern int cpu_arch;
extern int cpu_product;
Home |
Main Index |
Thread Index |
Old Index