Discontinue any use of 'swp(b)' on PP5020. While clocking is stable, some testing...
commit8ffb2b5eec91751c29d1d78b49a9ba0cbe9bc088
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 6 Oct 2007 15:01:37 +0000 (6 15:01 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 6 Oct 2007 15:01:37 +0000 (6 15:01 +0000)
treed9ff262690167784c0c65d9c1eb2a3ad2e97b479
parent6e4b69616d06bf473d808f858c5c6bac860ee9da
Discontinue any use of 'swp(b)' on PP5020. While clocking is stable, some testing revealed this instruction can still cause problems without concurrent access. Make sure mpegplayer is safe while not using spinlock (no longer atomic) between cores to protect the stream byte counters - use nonwrapping head and tail pointers.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15005 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/mpegplayer/mpegplayer.c
firmware/export/thread.h