diff options
author | Michael Sparmann <theseven@rockbox.org> | 2011-02-27 22:44:30 +0000 |
---|---|---|
committer | Michael Sparmann <theseven@rockbox.org> | 2011-02-27 22:44:30 +0000 |
commit | 751303c2acf22f7fa431690efcddcc8cb0d3a84e (patch) | |
tree | 1b1943ffdbefb3a2fe96e95a2af5c6c6c12968c5 /firmware/font.c | |
parent | b25f17200f4dd5e7fc8046ffc8fd6e64a61183bd (diff) | |
download | rockbox-751303c2acf22f7fa431690efcddcc8cb0d3a84e.tar.gz rockbox-751303c2acf22f7fa431690efcddcc8cb0d3a84e.zip |
iPod Classic CE-ATA Support (Part 1 of 4: Cacheline align some statically allocated sector buffers)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29444 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/font.c')
-rw-r--r-- | firmware/font.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/font.c b/firmware/font.c index 8538ef9490..45ddef3afe 100644 --- a/firmware/font.c +++ b/firmware/font.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <stdlib.h> | 31 | #include <stdlib.h> |
32 | #include "inttypes.h" | 32 | #include "inttypes.h" |
33 | #include "lcd.h" | 33 | #include "lcd.h" |
34 | #include "system.h" | ||
34 | #include "font.h" | 35 | #include "font.h" |
35 | #include "file.h" | 36 | #include "file.h" |
36 | #include "debug.h" | 37 | #include "debug.h" |
@@ -76,11 +77,11 @@ extern struct font sysfont; | |||
76 | /* structure filled in by font_load */ | 77 | /* structure filled in by font_load */ |
77 | static struct font font_ui; | 78 | static struct font font_ui; |
78 | /* static buffer allocation structures */ | 79 | /* static buffer allocation structures */ |
79 | static unsigned char main_buf[MAX_FONT_SIZE]; | 80 | static unsigned char main_buf[MAX_FONT_SIZE] CACHEALIGN_ATTR; |
80 | #ifdef HAVE_REMOTE_LCD | 81 | #ifdef HAVE_REMOTE_LCD |
81 | #define REMOTE_FONT_SIZE 10000 | 82 | #define REMOTE_FONT_SIZE 10000 |
82 | static struct font remote_font_ui; | 83 | static struct font remote_font_ui; |
83 | static unsigned char remote_buf[REMOTE_FONT_SIZE]; | 84 | static unsigned char remote_buf[REMOTE_FONT_SIZE] CACHEALIGN_ATTR; |
84 | #endif | 85 | #endif |
85 | 86 | ||
86 | /* system font table, in order of FONT_xxx definition */ | 87 | /* system font table, in order of FONT_xxx definition */ |