diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-08-04 00:11:41 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-08-04 00:11:41 +0000 |
| commit | 8edfff979b9bd65145f5b6d5a83bb86f64d84dde (patch) | |
| tree | cd7247bcacb2e3490fac538dace13736b9298b73 /apps/plugin.c | |
| parent | 7f85b5b907d8f9a5545e3bfec80c19c3083cd303 (diff) | |
| download | rockbox-8edfff979b9bd65145f5b6d5a83bb86f64d84dde.zip rockbox-8edfff979b9bd65145f5b6d5a83bb86f64d84dde.tar.gz rockbox-8edfff979b9bd65145f5b6d5a83bb86f64d84dde.tar.bz2 rockbox-8edfff979b9bd65145f5b6d5a83bb86f64d84dde.tar.xz | |
Flush-out cleared sections on dual core targets when loading plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14172 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index fee3a51..5028bfd 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -718,6 +718,10 @@ void plugin_iram_init(char *iramstart, char *iramcopy, size_t iram_size, memcpy(iramstart, iramcopy, iram_size); memset(iedata, 0, iedata_size); memset(iramcopy, 0, iram_size); +#if NUM_CORES > 1 + /* writeback cleared iedata and iramcopy areas */ + flush_icache(); +#endif } #endif /* IRAM_STEAL */ |