summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin_crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugin_crt0.c')
-rw-r--r--apps/plugins/plugin_crt0.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/plugin_crt0.c b/apps/plugins/plugin_crt0.c
index 1db9d6a81a..d86c5c367c 100644
--- a/apps/plugins/plugin_crt0.c
+++ b/apps/plugins/plugin_crt0.c
@@ -90,6 +90,10 @@ enum plugin_status plugin__start(const void *param)
90 90
91 /* zero out the bss section */ 91 /* zero out the bss section */
92 rb->memset(plugin_bss_start, 0, plugin_end_addr - plugin_bss_start); 92 rb->memset(plugin_bss_start, 0, plugin_end_addr - plugin_bss_start);
93 /* Some parts of bss may be used via a no-cache alias (at least
94 * portalplayer has this). If we don't clear the cache, those aliases
95 * may read garbage */
96 rb->cpucache_invalidate();
93#endif 97#endif
94 98
95 /* we come back here if exit() was called or the plugin returned normally */ 99 /* we come back here if exit() was called or the plugin returned normally */