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/mpegplayer/mpegplayer.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/plugins/mpegplayer/mpegplayer.c') diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 8142c6f43e..5b333c33f7 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c @@ -109,8 +109,6 @@ #include "stream_mgr.h" -PLUGIN_IRAM_DECLARE - /* button definitions */ #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) #define MPEG_MENU BUTTON_MODE @@ -1761,9 +1759,6 @@ enum plugin_status plugin_start(const void* parameter) /* Disable all talking before initializing IRAM */ rb->talk_disable(true); - /* Initialize IRAM - stops audio and voice as well */ - PLUGIN_IRAM_INIT(rb) - #ifdef HAVE_LCD_COLOR rb->lcd_set_backdrop(NULL); rb->lcd_set_foreground(LCD_WHITE); -- cgit v1.2.3