diff options
author | Greg White <gwhite@rockbox.org> | 2007-01-04 11:45:06 +0000 |
---|---|---|
committer | Greg White <gwhite@rockbox.org> | 2007-01-04 11:45:06 +0000 |
commit | fbc1612a51f0866d13996ef233c0e57ff551ba69 (patch) | |
tree | 58e8c349ec0064a0460dcb6ad383a8f9111b2617 | |
parent | 82c77576339389bf3bdab7391a99a5299e0f70d0 (diff) | |
download | rockbox-fbc1612a51f0866d13996ef233c0e57ff551ba69.tar.gz rockbox-fbc1612a51f0866d13996ef233c0e57ff551ba69.zip |
Move invalidate_icache macro to function in GB target tree, GB only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11908 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index 66a21332fc..94922871b6 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h | |||
@@ -181,6 +181,11 @@ enum { | |||
181 | #include "system-target.h" | 181 | #include "system-target.h" |
182 | #endif | 182 | #endif |
183 | #endif | 183 | #endif |
184 | #ifndef SIMULATOR | ||
185 | #if CONFIG_CPU == S3C2440 | ||
186 | #include "system-target.h" | ||
187 | #endif | ||
188 | #endif | ||
184 | 189 | ||
185 | #if CONFIG_CPU == SH7034 | 190 | #if CONFIG_CPU == SH7034 |
186 | #define or_b(mask, address) \ | 191 | #define or_b(mask, address) \ |
@@ -342,7 +347,9 @@ static inline void disable_fiq(void) | |||
342 | ); | 347 | ); |
343 | } | 348 | } |
344 | 349 | ||
350 | #if CONFIG_CPU != S3C2440 | ||
345 | #define invalidate_icache() | 351 | #define invalidate_icache() |
352 | #endif | ||
346 | 353 | ||
347 | #if CONFIG_CPU == PNX0101 | 354 | #if CONFIG_CPU == PNX0101 |
348 | typedef void (*interrupt_handler_t)(void); | 355 | typedef void (*interrupt_handler_t)(void); |