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 Add the definitions of SH4's TPSC field...
details: https://anonhg.NetBSD.org/src/rev/265fc82b87ec
branches: trunk
changeset: 483914:265fc82b87ec
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Mar 20 20:36:58 2000 +0000
description:
Add the definitions of SH4's TPSC field of TCR register
(This field is not compatible with SH3's)
diffstat:
sys/arch/sh3/include/tmureg.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 180d5032502f -r 265fc82b87ec sys/arch/sh3/include/tmureg.h
--- a/sys/arch/sh3/include/tmureg.h Mon Mar 20 20:30:33 2000 +0000
+++ b/sys/arch/sh3/include/tmureg.h Mon Mar 20 20:36:58 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmureg.h,v 1.3 2000/01/17 21:41:14 msaitoh Exp $ */
+/* $NetBSD: tmureg.h,v 1.4 2000/03/20 20:36:58 msaitoh Exp $ */
/*-
* Copyright (C) 1999 SAITOH Masanobu. All rights reserved.
@@ -104,7 +104,13 @@
#define TCR_TPSC_P16 0x0001
#define TCR_TPSC_P64 0x0002
#define TCR_TPSC_P256 0x0003
+#if !defined(SH4)
#define TCR_TPSC_RTC 0x0004
#define TCR_TPSC_TCLK 0x0005
+#else
+#define TCR_TPSC_P512 0x0004
+#define TCR_TPSC_RTC 0x0006
+#define TCR_TPSC_TCLK 0x0007
+#endif
#endif /* !_SH3_TMUREG_H_ */
Home |
Main Index |
Thread Index |
Old Index