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/include/dir_uncached.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/include') diff --git a/firmware/include/dir_uncached.h b/firmware/include/dir_uncached.h index c2c7d67..19bed9a 100644 --- a/firmware/include/dir_uncached.h +++ b/firmware/include/dir_uncached.h @@ -57,9 +57,9 @@ struct dirent_uncached { #ifndef DIR_DEFINED typedef struct { #if (CONFIG_PLATFORM & PLATFORM_NATIVE) + struct fat_dir fatdir CACHEALIGN_ATTR; bool busy; long startcluster; - struct fat_dir fatdir; struct dirent_uncached theent; #ifdef HAVE_MULTIVOLUME int volumecounter; /* running counter for faked volume entries */ @@ -69,7 +69,7 @@ typedef struct { void *dir; /* actually a DIR* dir */ char *name; #endif -} DIR_UNCACHED; +} DIR_UNCACHED CACHEALIGN_ATTR; #endif -- cgit v1.1