1
0
Fork 0
forked from len0rd/rockbox

Made the Coldfire registers volatile, rename PLLCONTROL to PLLCR

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5941 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-02-14 21:30:30 +00:00
parent 9dcb575b74
commit 672092c6dc

View file

@ -22,208 +22,208 @@
#define MBAR 0x40000000 #define MBAR 0x40000000
#define MBAR2 0x80000000 #define MBAR2 0x80000000
#define SYSTEM_CTRL (*(unsigned char *)(MBAR + 0x000)) #define SYSTEM_CTRL (*(volatile unsigned char *)(MBAR + 0x000))
#define BUSMASTER_CTRL (*(unsigned char *)(MBAR + 0x00c)) #define BUSMASTER_CTRL (*(volatile unsigned char *)(MBAR + 0x00c))
#define IPR (*(unsigned long *)(MBAR + 0x040)) #define IPR (*(volatile unsigned long *)(MBAR + 0x040))
#define IMR (*(unsigned long *)(MBAR + 0x044)) #define IMR (*(volatile unsigned long *)(MBAR + 0x044))
#define ICR0 (*(unsigned long *)(MBAR + 0x04c)) #define ICR0 (*(volatile unsigned long *)(MBAR + 0x04c))
#define ICR4 (*(unsigned long *)(MBAR + 0x050)) #define ICR4 (*(volatile unsigned long *)(MBAR + 0x050))
#define ICR8 (*(unsigned long *)(MBAR + 0x054)) #define ICR8 (*(volatile unsigned long *)(MBAR + 0x054))
#define CSAR0 (*(unsigned long *)(MBAR + 0x080)) #define CSAR0 (*(volatile unsigned long *)(MBAR + 0x080))
#define CSMR0 (*(unsigned long *)(MBAR + 0x084)) #define CSMR0 (*(volatile unsigned long *)(MBAR + 0x084))
#define CSCR0 (*(unsigned long *)(MBAR + 0x088)) #define CSCR0 (*(volatile unsigned long *)(MBAR + 0x088))
#define CSAR1 (*(unsigned long *)(MBAR + 0x08c)) #define CSAR1 (*(volatile unsigned long *)(MBAR + 0x08c))
#define CSMR1 (*(unsigned long *)(MBAR + 0x090)) #define CSMR1 (*(volatile unsigned long *)(MBAR + 0x090))
#define CSCR1 (*(unsigned long *)(MBAR + 0x094)) #define CSCR1 (*(volatile unsigned long *)(MBAR + 0x094))
#define CSAR2 (*(unsigned long *)(MBAR + 0x098)) #define CSAR2 (*(volatile unsigned long *)(MBAR + 0x098))
#define CSMR2 (*(unsigned long *)(MBAR + 0x09c)) #define CSMR2 (*(volatile unsigned long *)(MBAR + 0x09c))
#define CSCR2 (*(unsigned long *)(MBAR + 0x0a0)) #define CSCR2 (*(volatile unsigned long *)(MBAR + 0x0a0))
#define CSAR3 (*(unsigned long *)(MBAR + 0x0a4)) #define CSAR3 (*(volatile unsigned long *)(MBAR + 0x0a4))
#define CSMR3 (*(unsigned long *)(MBAR + 0x0a8)) #define CSMR3 (*(volatile unsigned long *)(MBAR + 0x0a8))
#define CSCR3 (*(unsigned long *)(MBAR + 0x0ac)) #define CSCR3 (*(volatile unsigned long *)(MBAR + 0x0ac))
#define DCR (*(unsigned long *)(MBAR + 0x100)) #define DCR (*(volatile unsigned long *)(MBAR + 0x100))
#define DACR0 (*(unsigned long *)(MBAR + 0x108)) #define DACR0 (*(volatile unsigned long *)(MBAR + 0x108))
#define DMR0 (*(unsigned long *)(MBAR + 0x10c)) #define DMR0 (*(volatile unsigned long *)(MBAR + 0x10c))
#define DACR1 (*(unsigned long *)(MBAR + 0x110)) #define DACR1 (*(volatile unsigned long *)(MBAR + 0x110))
#define DMR1 (*(unsigned long *)(MBAR + 0x114)) #define DMR1 (*(volatile unsigned long *)(MBAR + 0x114))
#define TMR0 (*(unsigned short *)(MBAR + 0x140)) #define TMR0 (*(volatile unsigned short *)(MBAR + 0x140))
#define TRR0 (*(unsigned short *)(MBAR + 0x144)) #define TRR0 (*(volatile unsigned short *)(MBAR + 0x144))
#define TCR0 (*(unsigned short *)(MBAR + 0x148)) #define TCR0 (*(volatile unsigned short *)(MBAR + 0x148))
#define TCN0 (*(unsigned short *)(MBAR + 0x14c)) #define TCN0 (*(volatile unsigned short *)(MBAR + 0x14c))
#define TER0 (*(unsigned short *)(MBAR + 0x150)) #define TER0 (*(volatile unsigned short *)(MBAR + 0x150))
#define TMR1 (*(unsigned short *)(MBAR + 0x180)) #define TMR1 (*(volatile unsigned short *)(MBAR + 0x180))
#define TRR1 (*(unsigned short *)(MBAR + 0x184)) #define TRR1 (*(volatile unsigned short *)(MBAR + 0x184))
#define TCR1 (*(unsigned short *)(MBAR + 0x188)) #define TCR1 (*(volatile unsigned short *)(MBAR + 0x188))
#define TCN1 (*(unsigned short *)(MBAR + 0x18c)) #define TCN1 (*(volatile unsigned short *)(MBAR + 0x18c))
#define TER1 (*(unsigned short *)(MBAR + 0x190)) #define TER1 (*(volatile unsigned short *)(MBAR + 0x190))
#define UMR10 (*(unsigned char *)(MBAR + 0x1c0)) #define UMR10 (*(volatile unsigned char *)(MBAR + 0x1c0))
#define UMR20 (*(unsigned char *)(MBAR + 0x1c0)) #define UMR20 (*(volatile unsigned char *)(MBAR + 0x1c0))
#define USR0 (*(unsigned char *)(MBAR + 0x1c4)) #define USR0 (*(volatile unsigned char *)(MBAR + 0x1c4))
#define UCSR0 (*(unsigned char *)(MBAR + 0x1c4)) #define UCSR0 (*(volatile unsigned char *)(MBAR + 0x1c4))
#define UCR0 (*(unsigned char *)(MBAR + 0x1c8)) #define UCR0 (*(volatile unsigned char *)(MBAR + 0x1c8))
#define URB0 (*(unsigned char *)(MBAR + 0x1cc)) #define URB0 (*(volatile unsigned char *)(MBAR + 0x1cc))
#define UTB0 (*(unsigned char *)(MBAR + 0x1cc)) #define UTB0 (*(volatile unsigned char *)(MBAR + 0x1cc))
#define UIPCR0 (*(unsigned char *)(MBAR + 0x1d0)) #define UIPCR0 (*(volatile unsigned char *)(MBAR + 0x1d0))
#define UACR0 (*(unsigned char *)(MBAR + 0x1d0)) #define UACR0 (*(volatile unsigned char *)(MBAR + 0x1d0))
#define UISR0 (*(unsigned char *)(MBAR + 0x1d4)) #define UISR0 (*(volatile unsigned char *)(MBAR + 0x1d4))
#define UIMR0 (*(unsigned char *)(MBAR + 0x1d4)) #define UIMR0 (*(volatile unsigned char *)(MBAR + 0x1d4))
#define UBG10 (*(unsigned char *)(MBAR + 0x1d8)) #define UBG10 (*(volatile unsigned char *)(MBAR + 0x1d8))
#define UBG20 (*(unsigned char *)(MBAR + 0x1dc)) #define UBG20 (*(volatile unsigned char *)(MBAR + 0x1dc))
#define UIVR0 (*(unsigned char *)(MBAR + 0x1f0)) #define UIVR0 (*(volatile unsigned char *)(MBAR + 0x1f0))
#define UIP0 (*(unsigned char *)(MBAR + 0x1f4)) #define UIP0 (*(volatile unsigned char *)(MBAR + 0x1f4))
#define UOP10 (*(unsigned char *)(MBAR + 0x1f8)) #define UOP10 (*(volatile unsigned char *)(MBAR + 0x1f8))
#define UOP00 (*(unsigned char *)(MBAR + 0x1fc)) #define UOP00 (*(volatile unsigned char *)(MBAR + 0x1fc))
#define UMR11 (*(unsigned char *)(MBAR + 0x200)) #define UMR11 (*(volatile unsigned char *)(MBAR + 0x200))
#define UMR21 (*(unsigned char *)(MBAR + 0x200)) #define UMR21 (*(volatile unsigned char *)(MBAR + 0x200))
#define USR1 (*(unsigned char *)(MBAR + 0x204)) #define USR1 (*(volatile unsigned char *)(MBAR + 0x204))
#define UCSR1 (*(unsigned char *)(MBAR + 0x204)) #define UCSR1 (*(volatile unsigned char *)(MBAR + 0x204))
#define UCR1 (*(unsigned char *)(MBAR + 0x208)) #define UCR1 (*(volatile unsigned char *)(MBAR + 0x208))
#define URB1 (*(unsigned char *)(MBAR + 0x20c)) #define URB1 (*(volatile unsigned char *)(MBAR + 0x20c))
#define UTB1 (*(unsigned char *)(MBAR + 0x20c)) #define UTB1 (*(volatile unsigned char *)(MBAR + 0x20c))
#define UIPCR1 (*(unsigned char *)(MBAR + 0x210)) #define UIPCR1 (*(volatile unsigned char *)(MBAR + 0x210))
#define UACR1 (*(unsigned char *)(MBAR + 0x210)) #define UACR1 (*(volatile unsigned char *)(MBAR + 0x210))
#define UISR1 (*(unsigned char *)(MBAR + 0x214)) #define UISR1 (*(volatile unsigned char *)(MBAR + 0x214))
#define UIMR1 (*(unsigned char *)(MBAR + 0x214)) #define UIMR1 (*(volatile unsigned char *)(MBAR + 0x214))
#define UBG11 (*(unsigned char *)(MBAR + 0x218)) #define UBG11 (*(volatile unsigned char *)(MBAR + 0x218))
#define UBG21 (*(unsigned char *)(MBAR + 0x21c)) #define UBG21 (*(volatile unsigned char *)(MBAR + 0x21c))
#define UIVR1 (*(unsigned char *)(MBAR + 0x230)) #define UIVR1 (*(volatile unsigned char *)(MBAR + 0x230))
#define UIP1 (*(unsigned char *)(MBAR + 0x234)) #define UIP1 (*(volatile unsigned char *)(MBAR + 0x234))
#define UOP11 (*(unsigned char *)(MBAR + 0x238)) #define UOP11 (*(volatile unsigned char *)(MBAR + 0x238))
#define UOP01 (*(unsigned char *)(MBAR + 0x23c)) #define UOP01 (*(volatile unsigned char *)(MBAR + 0x23c))
#define MADR (*(unsigned char *)(MBAR + 0x280)) #define MADR (*(volatile unsigned char *)(MBAR + 0x280))
#define MFDR (*(unsigned char *)(MBAR + 0x284)) #define MFDR (*(volatile unsigned char *)(MBAR + 0x284))
#define MBCR (*(unsigned char *)(MBAR + 0x288)) #define MBCR (*(volatile unsigned char *)(MBAR + 0x288))
#define MBSR (*(unsigned char *)(MBAR + 0x28c)) #define MBSR (*(volatile unsigned char *)(MBAR + 0x28c))
#define MBDR (*(unsigned char *)(MBAR + 0x290)) #define MBDR (*(volatile unsigned char *)(MBAR + 0x290))
#define SAR0 (*(unsigned long *)(MBAR + 0x300)) #define SAR0 (*(volatile unsigned long *)(MBAR + 0x300))
#define DAR0 (*(unsigned long *)(MBAR + 0x304)) #define DAR0 (*(volatile unsigned long *)(MBAR + 0x304))
#define DCR0 (*(unsigned short *)(MBAR + 0x308)) #define DCR0 (*(volatile unsigned short *)(MBAR + 0x308))
#define BCR0 (*(unsigned short *)(MBAR + 0x30c)) #define BCR0 (*(volatile unsigned short *)(MBAR + 0x30c))
#define DSR0 (*(unsigned char *)(MBAR + 0x310)) #define DSR0 (*(volatile unsigned char *)(MBAR + 0x310))
#define DIVR0 (*(unsigned char *)(MBAR + 0x314)) #define DIVR0 (*(volatile unsigned char *)(MBAR + 0x314))
#define SAR1 (*(unsigned long *)(MBAR + 0x340)) #define SAR1 (*(volatile unsigned long *)(MBAR + 0x340))
#define DAR1 (*(unsigned long *)(MBAR + 0x344)) #define DAR1 (*(volatile unsigned long *)(MBAR + 0x344))
#define DCR1 (*(unsigned short *)(MBAR + 0x348)) #define DCR1 (*(volatile unsigned short *)(MBAR + 0x348))
#define BCR1 (*(unsigned short *)(MBAR + 0x34c)) #define BCR1 (*(volatile unsigned short *)(MBAR + 0x34c))
#define DSR1 (*(unsigned char *)(MBAR + 0x350)) #define DSR1 (*(volatile unsigned char *)(MBAR + 0x350))
#define DIVR1 (*(unsigned char *)(MBAR + 0x354)) #define DIVR1 (*(volatile unsigned char *)(MBAR + 0x354))
#define SAR2 (*(unsigned long *)(MBAR + 0x380)) #define SAR2 (*(volatile unsigned long *)(MBAR + 0x380))
#define DAR2 (*(unsigned long *)(MBAR + 0x384)) #define DAR2 (*(volatile unsigned long *)(MBAR + 0x384))
#define DCR2 (*(unsigned short *)(MBAR + 0x388)) #define DCR2 (*(volatile unsigned short *)(MBAR + 0x388))
#define BCR2 (*(unsigned short *)(MBAR + 0x38c)) #define BCR2 (*(volatile unsigned short *)(MBAR + 0x38c))
#define DSR2 (*(unsigned char *)(MBAR + 0x390)) #define DSR2 (*(volatile unsigned char *)(MBAR + 0x390))
#define DIVR2 (*(unsigned char *)(MBAR + 0x394)) #define DIVR2 (*(volatile unsigned char *)(MBAR + 0x394))
#define SAR3 (*(unsigned long *)(MBAR + 0x3c0)) #define SAR3 (*(volatile unsigned long *)(MBAR + 0x3c0))
#define DAR3 (*(unsigned long *)(MBAR + 0x3c4)) #define DAR3 (*(volatile unsigned long *)(MBAR + 0x3c4))
#define DCR3 (*(unsigned short *)(MBAR + 0x3c8)) #define DCR3 (*(volatile unsigned short *)(MBAR + 0x3c8))
#define BCR3 (*(unsigned short *)(MBAR + 0x3cc)) #define BCR3 (*(volatile unsigned short *)(MBAR + 0x3cc))
#define DSR3 (*(unsigned char *)(MBAR + 0x3d0)) #define DSR3 (*(volatile unsigned char *)(MBAR + 0x3d0))
#define DIVR3 (*(unsigned char *)(MBAR + 0x3d4)) #define DIVR3 (*(volatile unsigned char *)(MBAR + 0x3d4))
#define QSPIMR (*(unsigned short *)(MBAR + 0x400)) #define QSPIMR (*(volatile unsigned short *)(MBAR + 0x400))
#define QSPIQDLYR (*(unsigned short *)(MBAR + 0x404)) #define QSPIQDLYR (*(volatile unsigned short *)(MBAR + 0x404))
#define QSPIQWR (*(unsigned short *)(MBAR + 0x408)) #define QSPIQWR (*(volatile unsigned short *)(MBAR + 0x408))
#define QSPIQIR (*(unsigned short *)(MBAR + 0x40c)) #define QSPIQIR (*(volatile unsigned short *)(MBAR + 0x40c))
#define QSPIQAR (*(unsigned short *)(MBAR + 0x410)) #define QSPIQAR (*(volatile unsigned short *)(MBAR + 0x410))
#define QIR (*(unsigned short *)(MBAR + 0x414)) #define QIR (*(volatile unsigned short *)(MBAR + 0x414))
#define GPIO_READ (*(unsigned long *)(MBAR2 + 0x000)) #define GPIO_READ (*(volatile unsigned long *)(MBAR2 + 0x000))
#define GPIO_OUT (*(unsigned long *)(MBAR2 + 0x004)) #define GPIO_OUT (*(volatile unsigned long *)(MBAR2 + 0x004))
#define GPIO_ENABLE (*(unsigned long *)(MBAR2 + 0x008)) #define GPIO_ENABLE (*(volatile unsigned long *)(MBAR2 + 0x008))
#define GPIO_FUNCTION (*(unsigned long *)(MBAR2 + 0x00c)) #define GPIO_FUNCTION (*(volatile unsigned long *)(MBAR2 + 0x00c))
#define IIS1CONFIG (*(unsigned long *)(MBAR2 + 0x010)) #define IIS1CONFIG (*(volatile unsigned long *)(MBAR2 + 0x010))
#define IIS2CONFIG (*(unsigned long *)(MBAR2 + 0x014)) #define IIS2CONFIG (*(volatile unsigned long *)(MBAR2 + 0x014))
#define IIS3CONFIG (*(unsigned long *)(MBAR2 + 0x018)) #define IIS3CONFIG (*(volatile unsigned long *)(MBAR2 + 0x018))
#define IIS4CONFIG (*(unsigned long *)(MBAR2 + 0x01c)) #define IIS4CONFIG (*(volatile unsigned long *)(MBAR2 + 0x01c))
#define EBU1CONFIG (*(unsigned long *)(MBAR2 + 0x020)) #define EBU1CONFIG (*(volatile unsigned long *)(MBAR2 + 0x020))
#define EBU1RCVCCHANNEL1 (*(unsigned long *)(MBAR2 + 0x024)) #define EBU1RCVCCHANNEL1 (*(volatile unsigned long *)(MBAR2 + 0x024))
#define EBUTXCCHANNEL1 (*(unsigned long *)(MBAR2 + 0x028)) #define EBUTXCCHANNEL1 (*(volatile unsigned long *)(MBAR2 + 0x028))
#define EBUTXCCHANNEL2 (*(unsigned long *)(MBAR2 + 0x02c)) #define EBUTXCCHANNEL2 (*(volatile unsigned long *)(MBAR2 + 0x02c))
#define DATAINCONTROL (*(unsigned long *)(MBAR2 + 0x030)) #define DATAINCONTROL (*(volatile unsigned long *)(MBAR2 + 0x030))
#define PDIR1_L (*(unsigned long *)(MBAR2 + 0x034)) #define PDIR1_L (*(volatile unsigned long *)(MBAR2 + 0x034))
#define PDIR3_L (*(unsigned long *)(MBAR2 + 0x044)) #define PDIR3_L (*(volatile unsigned long *)(MBAR2 + 0x044))
#define PDIR1_R (*(unsigned long *)(MBAR2 + 0x054)) #define PDIR1_R (*(volatile unsigned long *)(MBAR2 + 0x054))
#define PDIR3_R (*(unsigned long *)(MBAR2 + 0x064)) #define PDIR3_R (*(volatile unsigned long *)(MBAR2 + 0x064))
#define PDOR1_L (*(unsigned long *)(MBAR2 + 0x034)) #define PDOR1_L (*(volatile unsigned long *)(MBAR2 + 0x034))
#define PDOR1_R (*(unsigned long *)(MBAR2 + 0x044)) #define PDOR1_R (*(volatile unsigned long *)(MBAR2 + 0x044))
#define PDOR2_L (*(unsigned long *)(MBAR2 + 0x054)) #define PDOR2_L (*(volatile unsigned long *)(MBAR2 + 0x054))
#define PDOR2_R (*(unsigned long *)(MBAR2 + 0x064)) #define PDOR2_R (*(volatile unsigned long *)(MBAR2 + 0x064))
#define PDIR3 (*(unsigned long *)(MBAR2 + 0x074)) #define PDIR3 (*(volatile unsigned long *)(MBAR2 + 0x074))
#define PDOR3 (*(unsigned long *)(MBAR2 + 0x074)) #define PDOR3 (*(volatile unsigned long *)(MBAR2 + 0x074))
#define UCHANNELTRANSMIT (*(unsigned long *)(MBAR2 + 0x084)) #define UCHANNELTRANSMIT (*(volatile unsigned long *)(MBAR2 + 0x084))
#define U1CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x088)) #define U1CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x088))
#define Q1CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x08c)) #define Q1CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x08c))
#define CD_TEXT_CONTROL (*(unsigned char *)(MBAR2 + 0x092)) #define CD_TEXT_CONTROL (*(volatile unsigned char *)(MBAR2 + 0x092))
#define INTERRUPTEN (*(unsigned long *)(MBAR2 + 0x094)) #define INTERRUPTEN (*(volatile unsigned long *)(MBAR2 + 0x094))
#define INTERRUPTCLEAR (*(unsigned long *)(MBAR2 + 0x098)) #define INTERRUPTCLEAR (*(volatile unsigned long *)(MBAR2 + 0x098))
#define INTERRUPTSTAT (*(unsigned long *)(MBAR2 + 0x098)) #define INTERRUPTSTAT (*(volatile unsigned long *)(MBAR2 + 0x098))
#define DMACONFIG (*(unsigned char *)(MBAR2 + 0x09f)) #define DMACONFIG (*(volatile unsigned char *)(MBAR2 + 0x09f))
#define PHASECONFIG (*(unsigned char *)(MBAR2 + 0x0a3)) #define PHASECONFIG (*(volatile unsigned char *)(MBAR2 + 0x0a3))
#define XTRIM (*(unsigned short *)(MBAR2 + 0x0a6)) #define XTRIM (*(volatile unsigned short *)(MBAR2 + 0x0a6))
#define FREQMEAS (*(unsigned long *)(MBAR2 + 0x0a8)) #define FREQMEAS (*(volatile unsigned long *)(MBAR2 + 0x0a8))
#define BLOCKCONTROL (*(unsigned short *)(MBAR2 + 0x0ca)) #define BLOCKCONTROL (*(volatile unsigned short *)(MBAR2 + 0x0ca))
#define AUDIOGLOB (*(unsigned short *)(MBAR2 + 0x0ce)) #define AUDIOGLOB (*(volatile unsigned short *)(MBAR2 + 0x0ce))
#define EBU2CONFIG (*(unsigned long *)(MBAR2 + 0x0d0)) #define EBU2CONFIG (*(volatile unsigned long *)(MBAR2 + 0x0d0))
#define EBU2RCVCCHANNEL1 (*(unsigned short *)(MBAR2 + 0x0d4)) #define EBU2RCVCCHANNEL1 (*(volatile unsigned short *)(MBAR2 + 0x0d4))
#define U2CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x0d8)) #define U2CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x0d8))
#define Q2CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x0dc)) #define Q2CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x0dc))
#define GPIO1_READ (*(unsigned long *)(MBAR2 + 0x0b0)) #define GPIO1_READ (*(volatile unsigned long *)(MBAR2 + 0x0b0))
#define GPIO1_OUT (*(unsigned long *)(MBAR2 + 0x0b4)) #define GPIO1_OUT (*(volatile unsigned long *)(MBAR2 + 0x0b4))
#define GPIO1_ENABLE (*(unsigned long *)(MBAR2 + 0x0b8)) #define GPIO1_ENABLE (*(volatile unsigned long *)(MBAR2 + 0x0b8))
#define GPIO1_FUNCTION (*(unsigned long *)(MBAR2 + 0x0bc)) #define GPIO1_FUNCTION (*(volatile unsigned long *)(MBAR2 + 0x0bc))
#define GPIO_INT_STAT (*(unsigned long *)(MBAR2 + 0x0c0)) #define GPIO_INT_STAT (*(volatile unsigned long *)(MBAR2 + 0x0c0))
#define GPIO_INT_CLEAR (*(unsigned long *)(MBAR2 + 0x0c0)) #define GPIO_INT_CLEAR (*(volatile unsigned long *)(MBAR2 + 0x0c0))
#define GPIO_INT_EN (*(unsigned long *)(MBAR2 + 0x0c4)) #define GPIO_INT_EN (*(volatile unsigned long *)(MBAR2 + 0x0c4))
#define INTERRUPTSTAT3 (*(unsigned long *)(MBAR2 + 0x0e0)) #define INTERRUPTSTAT3 (*(volatile unsigned long *)(MBAR2 + 0x0e0))
#define INTERRUPTCLEAR3 (*(unsigned long *)(MBAR2 + 0x0e0)) #define INTERRUPTCLEAR3 (*(volatile unsigned long *)(MBAR2 + 0x0e0))
#define INTERRUPTEN3 (*(unsigned long *)(MBAR2 + 0x0e4)) #define INTERRUPTEN3 (*(volatile unsigned long *)(MBAR2 + 0x0e4))
#define INTPRI1 (*(unsigned long *)(MBAR2 + 0x140)) #define INTPRI1 (*(volatile unsigned long *)(MBAR2 + 0x140))
#define INTPRI2 (*(unsigned long *)(MBAR2 + 0x144)) #define INTPRI2 (*(volatile unsigned long *)(MBAR2 + 0x144))
#define INTPRI3 (*(unsigned long *)(MBAR2 + 0x148)) #define INTPRI3 (*(volatile unsigned long *)(MBAR2 + 0x148))
#define INTPRI4 (*(unsigned long *)(MBAR2 + 0x14c)) #define INTPRI4 (*(volatile unsigned long *)(MBAR2 + 0x14c))
#define INTPRI5 (*(unsigned long *)(MBAR2 + 0x150)) #define INTPRI5 (*(volatile unsigned long *)(MBAR2 + 0x150))
#define INTPRI6 (*(unsigned long *)(MBAR2 + 0x154)) #define INTPRI6 (*(volatile unsigned long *)(MBAR2 + 0x154))
#define INTPRI7 (*(unsigned long *)(MBAR2 + 0x158)) #define INTPRI7 (*(volatile unsigned long *)(MBAR2 + 0x158))
#define INTPRI8 (*(unsigned long *)(MBAR2 + 0x15c)) #define INTPRI8 (*(volatile unsigned long *)(MBAR2 + 0x15c))
#define SPURVEC (*(unsigned char *)(MBAR2 + 0x167)) #define SPURVEC (*(volatile unsigned char *)(MBAR2 + 0x167))
#define INTBASE (*(unsigned char *)(MBAR2 + 0x16b)) #define INTBASE (*(volatile unsigned char *)(MBAR2 + 0x16b))
#define PLLCONTROL (*(unsigned long *)(MBAR2 + 0x180)) #define PLLCR (*(volatile unsigned long *)(MBAR2 + 0x180))
#define DMAROUTE (*(unsigned long *)(MBAR2 + 0x188)) #define DMAROUTE (*(volatile unsigned long *)(MBAR2 + 0x188))
#define IDECONFIG1 (*(unsigned long *)(MBAR2 + 0x18c)) #define IDECONFIG1 (*(volatile unsigned long *)(MBAR2 + 0x18c))
#define IDECONFIG2 (*(unsigned long *)(MBAR2 + 0x190)) #define IDECONFIG2 (*(volatile unsigned long *)(MBAR2 + 0x190))
#define IPERRORADR (*(unsigned long *)(MBAR2 + 0x194)) #define IPERRORADR (*(volatile unsigned long *)(MBAR2 + 0x194))
#define EXTRAINT (*(unsigned long *)(MBAR2 + 0x198)) #define EXTRAINT (*(volatile unsigned long *)(MBAR2 + 0x198))
#define ADCONFIG (*(unsigned short *)(MBAR2 + 0x402)) #define ADCONFIG (*(volatile unsigned short *)(MBAR2 + 0x402))
#define ADVALUE (*(unsigned short *)(MBAR2 + 0x406)) #define ADVALUE (*(volatile unsigned short *)(MBAR2 + 0x406))
#define MADR2 (*(unsigned char *)(MBAR2 + 0x440)) #define MADR2 (*(volatile unsigned char *)(MBAR2 + 0x440))
#define MFDR2 (*(unsigned char *)(MBAR2 + 0x444)) #define MFDR2 (*(volatile unsigned char *)(MBAR2 + 0x444))
#define MBCR2 (*(unsigned char *)(MBAR2 + 0x448)) #define MBCR2 (*(volatile unsigned char *)(MBAR2 + 0x448))
#define MBSR2 (*(unsigned char *)(MBAR2 + 0x44c)) #define MBSR2 (*(volatile unsigned char *)(MBAR2 + 0x44c))
#define MBDR2 (*(unsigned char *)(MBAR2 + 0x450)) #define MBDR2 (*(volatile unsigned char *)(MBAR2 + 0x450))
#define FLASHMEDIACONFIG (*(unsigned long *)(MBAR2 + 0x460)) #define FLASHMEDIACONFIG (*(volatile unsigned long *)(MBAR2 + 0x460))
#define FLASHMEDIACMD1 (*(unsigned long *)(MBAR2 + 0x464)) #define FLASHMEDIACMD1 (*(volatile unsigned long *)(MBAR2 + 0x464))
#define FLASHMEDIACMD2 (*(unsigned long *)(MBAR2 + 0x468)) #define FLASHMEDIACMD2 (*(volatile unsigned long *)(MBAR2 + 0x468))
#define FLASHMEDIADATA1 (*(unsigned long *)(MBAR2 + 0x46c)) #define FLASHMEDIADATA1 (*(volatile unsigned long *)(MBAR2 + 0x46c))
#define FLASHMEDIADATA2 (*(unsigned long *)(MBAR2 + 0x470)) #define FLASHMEDIADATA2 (*(volatile unsigned long *)(MBAR2 + 0x470))
#define FLASHMEDIASTATUS (*(unsigned long *)(MBAR2 + 0x474)) #define FLASHMEDIASTATUS (*(volatile unsigned long *)(MBAR2 + 0x474))
#define FLASHMEDIAINTEN (*(unsigned long *)(MBAR2 + 0x478)) #define FLASHMEDIAINTEN (*(volatile unsigned long *)(MBAR2 + 0x478))
#define FLASHMEDIAINTSTAT (*(unsigned long *)(MBAR2 + 0x47c)) #define FLASHMEDIAINTSTAT (*(volatile unsigned long *)(MBAR2 + 0x47c))
#define FLASHMEDIAINTCLEAR (*(unsigned long *)(MBAR2 + 0x47c)) #define FLASHMEDIAINTCLEAR (*(volatile unsigned long *)(MBAR2 + 0x47c))
#define DEVICE_ID (*(unsigned long *)(MBAR2 + 0x0ac)) #define DEVICE_ID (*(volatile unsigned long *)(MBAR2 + 0x0ac))
#endif #endif