diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-11 23:56:00 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-11 23:56:00 +0000 |
commit | 63e709c7c83a3c0a462275d6b7c053804127e295 (patch) | |
tree | ba6b42e381886d8803b607e34567e14ef77436fe /firmware/export/s3c2440.h | |
parent | 00a9685985881866dd08d9dc38ef58e93a27917f (diff) | |
download | rockbox-63e709c7c83a3c0a462275d6b7c053804127e295.tar.gz rockbox-63e709c7c83a3c0a462275d6b7c053804127e295.zip |
Refine the routines in mmu-arm.c and move them to mmu-arm.S since the code is now 100% assembly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19980 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/s3c2440.h')
-rw-r--r-- | firmware/export/s3c2440.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/s3c2440.h b/firmware/export/s3c2440.h index f1d41dbae3..a7da64f688 100644 --- a/firmware/export/s3c2440.h +++ b/firmware/export/s3c2440.h | |||
@@ -24,8 +24,9 @@ | |||
24 | #define LCD_BUFFER_SIZE (320*240*2) | 24 | #define LCD_BUFFER_SIZE (320*240*2) |
25 | #define TTB_SIZE (0x4000) | 25 | #define TTB_SIZE (0x4000) |
26 | /* must be 16Kb (0x4000) aligned */ | 26 | /* must be 16Kb (0x4000) aligned */ |
27 | #define TTB_BASE ((unsigned long *)(0x30000000 + (32*1024*1024) - TTB_SIZE)) /* End of memory */ | 27 | #define TTB_BASE_ADDR (0x30000000 + (32*1024*1024) - TTB_SIZE) |
28 | #define FRAME ((unsigned short *)((unsigned char *)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ | 28 | #define TTB_BASE ((unsigned long *)TTB_BASE_ADDR) /* End of memory */ |
29 | #define FRAME ((unsigned short *)(TTB_BASE_ADDR - LCD_BUFFER_SIZE)) /* Right before TTB */ | ||
29 | 30 | ||
30 | /* Memory Controllers */ | 31 | /* Memory Controllers */ |
31 | 32 | ||