From da16248e47901c826a90291d2bb2a7aae78b209a Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 30 Aug 2010 20:47:53 +0000 Subject: 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 --- apps/plugins/mp3_encoder.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/plugins/mp3_encoder.c') diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c index d26500819b..392fc36d31 100644 --- a/apps/plugins/mp3_encoder.c +++ b/apps/plugins/mp3_encoder.c @@ -15,8 +15,6 @@ #include "plugin.h" -PLUGIN_IRAM_DECLARE - #define SAMP_PER_FRAME 1152 #define SAMPL2 576 #define SBLIMIT 32 @@ -2504,8 +2502,6 @@ enum plugin_status plugin_start(const void* parameter) if (parameter == NULL) return PLUGIN_ERROR; - PLUGIN_IRAM_INIT(rb) - enc_buffer = rb->plugin_get_audio_buffer(&enc_buffer_size); #ifdef CPU_COLDFIRE -- cgit v1.2.3