mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
a1997c13c1
commit
da16248e47
15 changed files with 39 additions and 110 deletions
|
@ -26,8 +26,6 @@
|
|||
#include "midifile.h"
|
||||
|
||||
|
||||
PLUGIN_IRAM_DECLARE
|
||||
|
||||
/* variable button definitions */
|
||||
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
|
||||
#define BTN_QUIT BUTTON_OFF
|
||||
|
@ -451,8 +449,6 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
{
|
||||
int retval;
|
||||
|
||||
PLUGIN_IRAM_INIT(rb)
|
||||
|
||||
if (parameter == NULL)
|
||||
{
|
||||
rb->splash(HZ*2, " Play .MID file ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue