diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-30 20:47:53 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-30 20:47:53 +0000 |
commit | da16248e47901c826a90291d2bb2a7aae78b209a (patch) | |
tree | fcc2a1944dd1b543e21346b46f50252ffc27fb7c /apps/plugins/test_fps.c | |
parent | a1997c13c168beeb41bf2f5b814115cdd5cb574c (diff) | |
download | rockbox-da16248e47901c826a90291d2bb2a7aae78b209a.tar.gz rockbox-da16248e47901c826a90291d2bb2a7aae78b209a.zip |
Plugins: modify IRAM copying code
Move to plugin_crt0.c, plugins don't need PLUGIN_IRAM_* macros anymore
IRAM is no longered zeroed before copying (as it is at the same address
than BSS) -> Fix FS#11581
Use cpucache_invalidate() (and not cpucache_flush), needed for self-modifying code on cached IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27948 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_fps.c')
-rw-r--r-- | apps/plugins/test_fps.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index f57f45b000..c03adc49a6 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #include "lib/helper.h" | 22 | #include "lib/helper.h" |
23 | #include "lib/grey.h" | 23 | #include "lib/grey.h" |
24 | 24 | ||
25 | PLUGIN_IRAM_DECLARE | ||
26 | |||
27 | #if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ | 25 | #if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ |
28 | (CONFIG_KEYPAD == IPOD_1G2G_PAD) | 26 | (CONFIG_KEYPAD == IPOD_1G2G_PAD) |
29 | #define FPS_QUIT BUTTON_MENU | 27 | #define FPS_QUIT BUTTON_MENU |
@@ -344,7 +342,6 @@ enum plugin_status plugin_start(const void* parameter) | |||
344 | #endif | 342 | #endif |
345 | 343 | ||
346 | /* standard stuff */ | 344 | /* standard stuff */ |
347 | PLUGIN_IRAM_INIT(rb) | ||
348 | (void)parameter; | 345 | (void)parameter; |
349 | 346 | ||
350 | log_init(); | 347 | log_init(); |