Temporary solution for code and data in IRAM for iriver codecs

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6029 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-02-22 00:42:22 +00:00
parent b9c9d80fef
commit e638eadaff
4 changed files with 24 additions and 1 deletions

View file

@ -155,6 +155,9 @@ FLAC__bool flac_eof_handler (const FLAC__SeekableStreamDecoder *decoder,
}
}
extern char iramcopy[];
extern char iramstart[];
extern char iramend[];
/* this is the plugin entry point */
enum plugin_status plugin_start(struct plugin_api* api, void* file)
@ -168,6 +171,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
otherwise you will get lovely "I04: IllInstr" errors... :-) */
rb = api;
rb->memcpy(iramstart, iramcopy, iramend-iramstart);
/* This function sets up the buffers and reads the file into RAM */