Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with...
commit1422af8c9734336ef1144bdc3da8a9dd0336c058
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 6 Apr 2008 04:34:57 +0000 (6 04:34 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 6 Apr 2008 04:34:57 +0000 (6 04:34 +0000)
tree3dd5494dd494bcb4490ddcedef99e9f3a895cd3f
parent18bf9e8d984be5ee20be89ded384e41e6249e855
Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
40 files changed:
apps/codecs/spc.c
apps/codecs/spc/spc_codec.h
apps/playback.c
apps/plugins/mpegplayer/alloc.c
apps/plugins/mpegplayer/audio_thread.c
apps/plugins/mpegplayer/disk_buf.c
apps/plugins/mpegplayer/disk_buf.h
apps/plugins/mpegplayer/mpeg_parser.c
apps/plugins/mpegplayer/stream_mgr.c
apps/plugins/mpegplayer/stream_mgr.h
apps/plugins/mpegplayer/video_out_rockbox.c
apps/plugins/mpegplayer/video_thread.c
apps/plugins/plugin.lds
apps/voice_thread.c
firmware/drivers/ata.c
firmware/drivers/fat.c
firmware/export/config.h
firmware/kernel.c
firmware/pcm.c
firmware/pcm_record.c
firmware/system.c
firmware/target/arm/i2c-pp.c
firmware/target/arm/ipod/1g2g/adc-ipod-1g2g.c
firmware/target/arm/ipod/app.lds
firmware/target/arm/ipod/boot.lds
firmware/target/arm/iriver/app.lds
firmware/target/arm/iriver/boot.lds
firmware/target/arm/iriver/h10/lcd-h10_20gb.c
firmware/target/arm/olympus/app.lds
firmware/target/arm/olympus/boot.lds
firmware/target/arm/pcm-pp.c
firmware/target/arm/sandisk/app.lds
firmware/target/arm/sandisk/ata-c200_e200.c
firmware/target/arm/sandisk/boot.lds
firmware/target/arm/sandisk/sansa-c200/lcd-c200.c
firmware/target/arm/sandisk/sansa-e200/lcd-e200.c
firmware/target/arm/system-target.h
firmware/target/arm/tcc780x/ata-nand-tcc780x.c
firmware/thread.c
firmware/timer.c