From fbfe6d66745426099fea9aaa7dac0ba3eba13e26 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 3 Apr 2008 21:48:41 +0000 Subject: Fix the PP5002 interrupt controller register definitions. The PP5002 interrupt controller matches the first half of the PP502x interrupt controller (the actual interrupt bits are different though). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16956 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/pp5002.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/firmware/export/pp5002.h b/firmware/export/pp5002.h index 8882f296c3..bbd7003c63 100644 --- a/firmware/export/pp5002.h +++ b/firmware/export/pp5002.h @@ -93,12 +93,22 @@ #define GPIOC_INT_CLR (*(volatile unsigned char *)(0xcf000078)) #define GPIOD_INT_CLR (*(volatile unsigned char *)(0xcf00007c)) -#define INT_FORCED_CLR (*(volatile unsigned long *)(0xcf00101c)) #define CPU_INT_STAT (*(volatile unsigned long *)(0xcf001000)) +#define COP_INT_STAT (*(volatile unsigned long *)(0xcf001004)) +#define CPU_FIQ_STAT (*(volatile unsigned long *)(0xcf001008)) +#define COP_FIQ_STAT (*(volatile unsigned long *)(0xcf00100c)) + +#define INT_STAT (*(volatile unsigned long *)(0xcf001010)) +#define INT_FORCED_STAT (*(volatile unsigned long *)(0xcf001014)) +#define INT_FORCED_SET (*(volatile unsigned long *)(0xcf001018)) +#define INT_FORCED_CLR (*(volatile unsigned long *)(0xcf00101c)) + +#define CPU_INT_EN_STAT (*(volatile unsigned long *)(0xcf001020)) #define CPU_INT_EN (*(volatile unsigned long *)(0xcf001024)) #define CPU_INT_CLR (*(volatile unsigned long *)(0xcf001028)) #define CPU_INT_PRIORITY (*(volatile unsigned long *)(0xcf00102c)) -#define COP_INT_STAT (*(volatile unsigned long *)(0xcf001010)) + +#define COP_INT_EN_STAT (*(volatile unsigned long *)(0xcf001030)) #define COP_INT_EN (*(volatile unsigned long *)(0xcf001034)) #define COP_INT_CLR (*(volatile unsigned long *)(0xcf001038)) #define COP_INT_PRIORITY (*(volatile unsigned long *)(0xcf00103c)) -- cgit v1.2.3