diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2008-02-08 02:20:05 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2008-02-08 02:20:05 +0000 |
| commit | a07c034de77e9159cf5d9501c75ea1f0165b6a13 (patch) | |
| tree | 4a563faa46f15d67787759e66fa578a6da65273e /firmware/export | |
| parent | 7667a865ff06565a2a7f91ccde0120cd2e0c977e (diff) | |
| download | rockbox-a07c034de77e9159cf5d9501c75ea1f0165b6a13.zip rockbox-a07c034de77e9159cf5d9501c75ea1f0165b6a13.tar.gz rockbox-a07c034de77e9159cf5d9501c75ea1f0165b6a13.tar.bz2 rockbox-a07c034de77e9159cf5d9501c75ea1f0165b6a13.tar.xz | |
Gigabeat S: Interrupt enabled bootloader. Miscellaneous integration changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rwxr-xr-x | firmware/export/imx31l.h | 6 | ||||
| -rw-r--r-- | firmware/export/kernel.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h index 1712a5b..b1f35e8 100755 --- a/firmware/export/imx31l.h +++ b/firmware/export/imx31l.h @@ -23,7 +23,8 @@ #define REG16_PTR_T volatile unsigned short * #define REG32_PTR_T volatile unsigned long * -#define TTB_BASE_ADDR (0x80000000 + (64*1024*1024)-TTB_SIZE) +/* Place in the section with the framebuffer */ +#define TTB_BASE_ADDR (0x80100000 + 0x00100000 - TTB_SIZE) #define IRAM_BASE_ADDR 0x1fffc000 #define L2CC_BASE_ADDR 0x30000000 @@ -275,6 +276,7 @@ #define INTENABLEL (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x14)) #define INTTYPEH (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x18)) #define INTTYPEL (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x1C)) +#define NIPRIORITY(n) (((REG32_PTR_T)(AVIC_BASE_ADDR+0x20))[n]) #define NIPRIORITY7 (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x20)) #define NIPRIORITY6 (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x24)) #define NIPRIORITY5 (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x28)) @@ -294,7 +296,7 @@ #define FIPNDH (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x60)) #define FIPNDL (*(REG32_PTR_T)(AVIC_BASE_ADDR+0x64)) #define VECTOR_BASE_ADDR (AVIC_BASE_ADDR+0x100) -#define VECTOR(n) (*(REG32_PTR_T)(VECTOR_BASE_ADDR+((n)*4))) +#define VECTOR(n) (((REG32_PTR_T)VECTOR_BASE_ADDR)[n]) /* The vectors go all the way up to 63. 4 bytes for each */ #define INTCNTL_ABFLAG (1 << 25) diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index be5041f..70a2f98 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h @@ -157,8 +157,6 @@ struct event /* We don't enable interrupts in the iPod bootloader, so we need to fake the current_tick variable */ #define current_tick (signed)(USEC_TIMER/10000) -#elif (CONFIG_CPU == IMX31L) && defined(BOOTLOADER) -#define current_tick (signed)((0xFFFFFFFF - EPITCNT1)/10000) #else extern volatile long current_tick; #endif |