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 definitions for IRR0 bits.



details:   https://anonhg.NetBSD.org/src/rev/56b395baf510
branches:  trunk
changeset: 552945:56b395baf510
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Oct 07 01:24:32 2003 +0000

description:
Add definitions for IRR0 bits.

diffstat:

 sys/arch/sh3/include/intcreg.h |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r ec0d4a9ea6af -r 56b395baf510 sys/arch/sh3/include/intcreg.h
--- a/sys/arch/sh3/include/intcreg.h    Tue Oct 07 00:23:17 2003 +0000
+++ b/sys/arch/sh3/include/intcreg.h    Tue Oct 07 01:24:32 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intcreg.h,v 1.6 2002/04/28 17:10:35 uch Exp $  */
+/*     $NetBSD: intcreg.h,v 1.7 2003/10/07 01:24:32 uwe Exp $  */
 
 /*-
  * Copyright (C) 1999 SAITOH Masanobu.  All rights reserved.
@@ -64,6 +64,15 @@
 #define        IPRE_SCIF_MASK          0x00f0
 #define        IPRE_ADC_MASK           0x000f
 
+#define IRR0_PINT8F            0x80
+#define IRR0_PINT07            0x40
+#define IRR0_IRQ5              0x20
+#define IRR0_IRQ4              0x10
+#define IRR0_IRQ3              0x08
+#define IRR0_IRQ2              0x04
+#define IRR0_IRQ1              0x02
+#define IRR0_IRQ0              0x01
+
 
 /* SH4 */
 #define        SH4_ICR                 0xffd00000      /* 16bit */



Home | Main Index | Thread Index | Old Index