diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-16 00:50:46 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-16 00:50:46 +0000 |
commit | 478ba0afa11061a620e44cd9cc60debd955b1b33 (patch) | |
tree | bd39e2100c58ea8e60a3cd61e9d402323834fb06 | |
parent | 3005cf5c86aefac3c14efe669f869be097a8ab6a (diff) | |
download | rockbox-478ba0afa11061a620e44cd9cc60debd955b1b33.tar.gz rockbox-478ba0afa11061a620e44cd9cc60debd955b1b33.zip |
Add two missing coldfire interrupt vectors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16681 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/coldfire/system-coldfire.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c index 8b20360b46..eca5440679 100644 --- a/firmware/target/coldfire/system-coldfire.c +++ b/firmware/target/coldfire/system-coldfire.c | |||
@@ -46,7 +46,7 @@ static const char* const irqname[] = { | |||
46 | "","","","","","","","SOFTINT0", | 46 | "","","","","","","","SOFTINT0", |
47 | "SOFTINT1","SOFTINT2","SOFTINT3","", | 47 | "SOFTINT1","SOFTINT2","SOFTINT3","", |
48 | "","CDROMCRCERR","CDROMNOSYNC","CDROMILSYNC", | 48 | "","CDROMCRCERR","CDROMNOSYNC","CDROMILSYNC", |
49 | "CDROMNEWBLK","","","","","","","", | 49 | "CDROMNEWBLK","","","","","","IIC2","ADC", |
50 | "","","","","","","","", | 50 | "","","","","","","","", |
51 | "","","","","","","","", | 51 | "","","","","","","","", |
52 | "","","","","","","","", | 52 | "","","","","","","","", |
@@ -136,6 +136,9 @@ default_interrupt (CDROMNOSYNC); /* CD-ROM No sync */ | |||
136 | default_interrupt (CDROMILSYNC); /* CD-ROM Illegal sync */ | 136 | default_interrupt (CDROMILSYNC); /* CD-ROM Illegal sync */ |
137 | default_interrupt (CDROMNEWBLK); /* CD-ROM New block */ | 137 | default_interrupt (CDROMNEWBLK); /* CD-ROM New block */ |
138 | 138 | ||
139 | default_interrupt (IIC2); /* I2C 2 */ | ||
140 | default_interrupt (ADC); /* A/D converter */ | ||
141 | |||
139 | #if defined(IAUDIO_X5) || defined(IAUDIO_M5) | 142 | #if defined(IAUDIO_X5) || defined(IAUDIO_M5) |
140 | #define EXCP_BUTTON_GPIO_READ GPIO_READ | 143 | #define EXCP_BUTTON_GPIO_READ GPIO_READ |
141 | #define EXCP_BUTTON_MASK 0x0c000000 | 144 | #define EXCP_BUTTON_MASK 0x0c000000 |
@@ -219,7 +222,7 @@ void (* const vbr[]) (void) __attribute__ ((section (".vectors"))) = | |||
219 | UIE,UIE,UIE,UIE,UIE,UIE,UIE,SOFTINT0, | 222 | UIE,UIE,UIE,UIE,UIE,UIE,UIE,SOFTINT0, |
220 | SOFTINT1,SOFTINT2,SOFTINT3,UIE, | 223 | SOFTINT1,SOFTINT2,SOFTINT3,UIE, |
221 | UIE,CDROMCRCERR,CDROMNOSYNC,CDROMILSYNC, | 224 | UIE,CDROMCRCERR,CDROMNOSYNC,CDROMILSYNC, |
222 | CDROMNEWBLK,UIE,UIE,UIE,UIE,UIE,UIE,UIE, | 225 | CDROMNEWBLK,UIE,UIE,UIE,UIE,UIE,IIC2,ADC, |
223 | 226 | ||
224 | UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE, | 227 | UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE, |
225 | UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE, | 228 | UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE,UIE, |