All kernel objects in code shared amongs targets (core, plugins, codecs) should be...
commit0f81bc956bb4b3194fcc8ceb3b0ffb9492aaa643
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Mon, 14 Feb 2011 11:27:45 +0000 (14 11:27 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Mon, 14 Feb 2011 11:27:45 +0000 (14 11:27 +0000)
tree90e95627f56397cb74e021269a3cb65dd4c6ba2c
parentdbe13607a7f665b5efa3287d9502b743f9d4afcf
All kernel objects in code shared amongs targets (core, plugins, codecs) should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29305 a1c6a512-1295-4272-9138-f99709370657
18 files changed:
apps/buffering.c
apps/codec_thread.c
apps/mpeg.c
apps/playlist.c
apps/playlist.h
apps/plugins/battery_bench.c
apps/plugins/mikmod/mikmod.c
apps/tagcache.c
firmware/backlight.c
firmware/common/dircache.c
firmware/drivers/ata_mmc.c
firmware/drivers/button.c
firmware/drivers/i2c.c
firmware/scroll_engine.c
firmware/target/arm/ata-sd-pp.c
firmware/test/i2c/main.c
firmware/test/kernel/main.c
firmware/usb.c