summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-30 20:47:53 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-30 20:47:53 +0000
commitda16248e47901c826a90291d2bb2a7aae78b209a (patch)
treefcc2a1944dd1b543e21346b46f50252ffc27fb7c /apps/plugins/mpegplayer
parenta1997c13c168beeb41bf2f5b814115cdd5cb574c (diff)
downloadrockbox-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/mpegplayer')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c5
1 files changed, 0 insertions, 5 deletions
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 @@
109#include "stream_mgr.h" 109#include "stream_mgr.h"
110 110
111 111
112PLUGIN_IRAM_DECLARE
113
114/* button definitions */ 112/* button definitions */
115#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) 113#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
116#define MPEG_MENU BUTTON_MODE 114#define MPEG_MENU BUTTON_MODE
@@ -1761,9 +1759,6 @@ enum plugin_status plugin_start(const void* parameter)
1761 /* Disable all talking before initializing IRAM */ 1759 /* Disable all talking before initializing IRAM */
1762 rb->talk_disable(true); 1760 rb->talk_disable(true);
1763 1761
1764 /* Initialize IRAM - stops audio and voice as well */
1765 PLUGIN_IRAM_INIT(rb)
1766
1767#ifdef HAVE_LCD_COLOR 1762#ifdef HAVE_LCD_COLOR
1768 rb->lcd_set_backdrop(NULL); 1763 rb->lcd_set_backdrop(NULL);
1769 rb->lcd_set_foreground(LCD_WHITE); 1764 rb->lcd_set_foreground(LCD_WHITE);