diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-04-20 17:53:05 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-04-20 17:53:05 +0000 |
| commit | cea07eb2a4ddb72d084c7085192521613004a997 (patch) | |
| tree | adbcaeac857c7fd10fa5f89f7acff0728f75f447 /apps | |
| parent | 02bfba6c616a4e4aedf0e36d742598c36334e228 (diff) | |
| download | rockbox-cea07eb2a4ddb72d084c7085192521613004a997.zip rockbox-cea07eb2a4ddb72d084c7085192521613004a997.tar.gz rockbox-cea07eb2a4ddb72d084c7085192521613004a997.tar.bz2 rockbox-cea07eb2a4ddb72d084c7085192521613004a997.tar.xz | |
Fix freezing of some builds on PP5002. The PP5002 needs the not-sleep-at 0xNNNNNNN0-addresses fix everywhere when caching is enabled, not only in core_sleep(). Introduced a pair of inline functions to sleep and wake cores on PP for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17192 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 47af3ab..8b1e2e4 100644 --- a/apps/main.c +++ b/apps/main.c @@ -604,7 +604,7 @@ void cop_main(void) /* This should never be reached */ #endif while(1) { - COP_CTL = PROC_SLEEP; + sleep_core(COP); } } #endif /* CPU_PP */ |