From 751303c2acf22f7fa431690efcddcc8cb0d3a84e Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Sun, 27 Feb 2011 22:44:30 +0000 Subject: 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 --- firmware/font.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'firmware/font.c') 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 @@ #include #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 */ -- cgit v1.2.3