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/pdbox/pdbox.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/pdbox/pdbox.c')
-rw-r--r-- | apps/plugins/pdbox/pdbox.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/pdbox/pdbox.c b/apps/plugins/pdbox/pdbox.c index 7f4a7ac6dc..3ba6f4e2cb 100644 --- a/apps/plugins/pdbox/pdbox.c +++ b/apps/plugins/pdbox/pdbox.c | |||
@@ -29,8 +29,6 @@ | |||
29 | 29 | ||
30 | /* Welcome to the PDBox plugin */ | 30 | /* Welcome to the PDBox plugin */ |
31 | 31 | ||
32 | PLUGIN_IRAM_DECLARE | ||
33 | |||
34 | /* Name of the file to open. */ | 32 | /* Name of the file to open. */ |
35 | char* filename; | 33 | char* filename; |
36 | 34 | ||
@@ -159,8 +157,6 @@ void core_thread(void) | |||
159 | /* Plug-in entry point */ | 157 | /* Plug-in entry point */ |
160 | enum plugin_status plugin_start(const void* parameter) | 158 | enum plugin_status plugin_start(const void* parameter) |
161 | { | 159 | { |
162 | PLUGIN_IRAM_INIT(rb) | ||
163 | |||
164 | /* Memory pool variables. */ | 160 | /* Memory pool variables. */ |
165 | size_t mem_size; | 161 | size_t mem_size; |
166 | void* mem_pool; | 162 | void* mem_pool; |