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.zip rockbox-751303c2acf22f7fa431690efcddcc8cb0d3a84e.tar.gz rockbox-751303c2acf22f7fa431690efcddcc8cb0d3a84e.tar.bz2 rockbox-751303c2acf22f7fa431690efcddcc8cb0d3a84e.tar.xz | |
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 8538ef9..45ddef3a 100644 --- a/firmware/font.c +++ b/firmware/font.c @@ -31,6 +31,7 @@ #include <stdlib.h> #include "inttypes.h" #include "lcd.h" +#include "system.h" #include "font.h" #include "file.h" #include "debug.h" @@ -76,11 +77,11 @@ extern struct font sysfont; /* structure filled in by font_load */ static struct font font_ui; /* static buffer allocation structures */ -static unsigned char main_buf[MAX_FONT_SIZE]; +static unsigned char main_buf[MAX_FONT_SIZE] CACHEALIGN_ATTR; #ifdef HAVE_REMOTE_LCD #define REMOTE_FONT_SIZE 10000 static struct font remote_font_ui; -static unsigned char remote_buf[REMOTE_FONT_SIZE]; +static unsigned char remote_buf[REMOTE_FONT_SIZE] CACHEALIGN_ATTR; #endif /* system font table, in order of FONT_xxx definition */ |