Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/xscale Add a symbolic constant for where extern...



details:   https://anonhg.NetBSD.org/src/rev/eee045ba4909
branches:  trunk
changeset: 537626:eee045ba4909
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Oct 03 20:10:40 2002 +0000

description:
Add a symbolic constant for where external interrupts start.

diffstat:

 sys/arch/arm/xscale/i80321reg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 93a57ccba419 -r eee045ba4909 sys/arch/arm/xscale/i80321reg.h
--- a/sys/arch/arm/xscale/i80321reg.h   Thu Oct 03 19:39:51 2002 +0000
+++ b/sys/arch/arm/xscale/i80321reg.h   Thu Oct 03 20:10:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80321reg.h,v 1.5 2002/08/02 00:33:29 thorpej Exp $    */
+/*     $NetBSD: i80321reg.h,v 1.6 2002/10/03 20:10:40 thorpej Exp $    */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -314,7 +314,8 @@
  * INTERRUPTS.  See i80321_icu.c
  */
 #define        ICU_INT_HPI             31      /* high priority interrupt */
-#define        ICU_INT_XINT(x)         ((x) + 27) /* external interrupts */
+#define        ICU_INT_XINT0           27      /* external interrupts */
+#define        ICU_INT_XINT(x)         ((x) + ICU_INT_XINT0)
 #define        ICU_INT_bit26           26
 #define        ICU_INT_SSP             25      /* SSP serial port */
 #define        ICU_INT_MUE             24      /* msg unit error */



Home | Main Index | Thread Index | Old Index