summaryrefslogtreecommitdiff
path: root/apps/plugins/test_sampr.c
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/test_sampr.c
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/test_sampr.c')
-rw-r--r--apps/plugins/test_sampr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/test_sampr.c b/apps/plugins/test_sampr.c
index 85525c543b..db8301bba6 100644
--- a/apps/plugins/test_sampr.c
+++ b/apps/plugins/test_sampr.c
@@ -29,8 +29,6 @@
29 */ 29 */
30 30
31 31
32PLUGIN_IRAM_DECLARE;
33
34static int hw_freq IDATA_ATTR = HW_FREQ_DEFAULT; 32static int hw_freq IDATA_ATTR = HW_FREQ_DEFAULT;
35static unsigned long hw_sampr IDATA_ATTR = HW_SAMPR_DEFAULT; 33static unsigned long hw_sampr IDATA_ATTR = HW_SAMPR_DEFAULT;
36 34
@@ -298,8 +296,6 @@ enum plugin_status plugin_start(const void *parameter)
298 /* Disable all talking before initializing IRAM */ 296 /* Disable all talking before initializing IRAM */
299 rb->talk_disable(true); 297 rb->talk_disable(true);
300 298
301 PLUGIN_IRAM_INIT(rb);
302
303 while (!exit) 299 while (!exit)
304 { 300 {
305 int result = rb->do_menu(&menu, &selected, NULL, false); 301 int result = rb->do_menu(&menu, &selected, NULL, false);