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 some bit definitions
details: https://anonhg.NetBSD.org/src/rev/ec94ab3a1a85
branches: trunk
changeset: 480690:ec94ab3a1a85
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jan 17 21:41:13 2000 +0000
description:
add some bit definitions
diffstat:
sys/arch/sh3/include/ccrreg.h | 8 +++++++-
sys/arch/sh3/include/tmureg.h | 9 ++++++++-
sys/arch/sh3/include/wdtreg.h | 10 +++++++++-
3 files changed, 24 insertions(+), 3 deletions(-)
diffs (64 lines):
diff -r 5e8a844a83f6 -r ec94ab3a1a85 sys/arch/sh3/include/ccrreg.h
--- a/sys/arch/sh3/include/ccrreg.h Mon Jan 17 21:21:55 2000 +0000
+++ b/sys/arch/sh3/include/ccrreg.h Mon Jan 17 21:41:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccrreg.h,v 1.1 1999/09/13 10:31:15 itojun Exp $ */
+/* $NetBSD: ccrreg.h,v 1.2 2000/01/17 21:41:13 msaitoh Exp $ */
/*-
* Copyright (C) 1999 SAITOH Masanobu. All rights reserved.
@@ -50,4 +50,10 @@
#endif
+#define CCR_CF 0x00000008
+#define CCR_CB 0x00000004
+#define CCR_WT 0x00000002
+#define CCR_CE 0x00000001
+
+
#endif /* !_SH3_CCRREG_H_ */
diff -r 5e8a844a83f6 -r ec94ab3a1a85 sys/arch/sh3/include/tmureg.h
--- a/sys/arch/sh3/include/tmureg.h Mon Jan 17 21:21:55 2000 +0000
+++ b/sys/arch/sh3/include/tmureg.h Mon Jan 17 21:41:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmureg.h,v 1.2 1999/09/16 21:15:36 msaitoh Exp $ */
+/* $NetBSD: tmureg.h,v 1.3 2000/01/17 21:41:14 msaitoh Exp $ */
/*-
* Copyright (C) 1999 SAITOH Masanobu. All rights reserved.
@@ -100,4 +100,11 @@
#define TCR_TPSC1 0x0002
#define TCR_TPSC0 0x0001
+#define TCR_TPSC_P4 0x0000
+#define TCR_TPSC_P16 0x0001
+#define TCR_TPSC_P64 0x0002
+#define TCR_TPSC_P256 0x0003
+#define TCR_TPSC_RTC 0x0004
+#define TCR_TPSC_TCLK 0x0005
+
#endif /* !_SH3_TMUREG_H_ */
diff -r 5e8a844a83f6 -r ec94ab3a1a85 sys/arch/sh3/include/wdtreg.h
--- a/sys/arch/sh3/include/wdtreg.h Mon Jan 17 21:21:55 2000 +0000
+++ b/sys/arch/sh3/include/wdtreg.h Mon Jan 17 21:41:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wdtreg.h,v 1.2 1999/09/16 12:48:35 msaitoh Exp $ */
+/* $NetBSD: wdtreg.h,v 1.3 2000/01/17 21:41:14 msaitoh Exp $ */
/*-
* Copyright (C) 1999 SAITOH Masanobu. All rights reserved.
@@ -64,5 +64,13 @@
#define WTCSR_CKS0 0x01
#define WTCSR_CKS 0x07
+#define WTCSR_CKS_1 0x00
+#define WTCSR_CKS_4 0x01
+#define WTCSR_CKS_16 0x02
+#define WTCSR_CKS_32 0x03
+#define WTCSR_CKS_64 0x04
+#define WTCSR_CKS_256 0x05
+#define WTCSR_CKS_1024 0x06
+#define WTCSR_CKS_4096 0x07
#endif /* !_SH3_WDTREG_H_ */
Home |
Main Index |
Thread Index |
Old Index