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/pacbox | |
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/pacbox')
-rw-r--r-- | apps/plugins/pacbox/pacbox.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index e942841a19..5165ff3047 100644 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c | |||
@@ -32,9 +32,6 @@ | |||
32 | #include "lib/configfile.h" | 32 | #include "lib/configfile.h" |
33 | #include "lib/playback_control.h" | 33 | #include "lib/playback_control.h" |
34 | 34 | ||
35 | |||
36 | PLUGIN_IRAM_DECLARE | ||
37 | |||
38 | struct pacman_settings { | 35 | struct pacman_settings { |
39 | int difficulty; | 36 | int difficulty; |
40 | int numlives; | 37 | int numlives; |
@@ -493,8 +490,6 @@ enum plugin_status plugin_start(const void* parameter) | |||
493 | { | 490 | { |
494 | (void)parameter; | 491 | (void)parameter; |
495 | 492 | ||
496 | PLUGIN_IRAM_INIT(rb) | ||
497 | |||
498 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 493 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
499 | rb->cpu_boost(true); | 494 | rb->cpu_boost(true); |
500 | #endif | 495 | #endif |