rockbox/firmware/target/arm/pp
Boris Gjenero 0fec8414a3 Fix FS#12391 : Memory corruption on PP502x after commit_discard_idcache()
In commit_discard_idcache(), cache lines were marked as invalid. When
some cache lines are marked as invalid, memory corruption can occur.
This caused instability when using PP502x ATA DMA because of the many
more calls to that function. Here, commit_discard_idcache() is changed
to avoid the problem. Also, the cache is filled after being enabled to
to ensure there are never any cache lines that aren't marked as valid.

Change-Id: Ia26300acef6b0573c1f40299c496ee5cbda3dac8
Reviewed-on: http://gerrit.rockbox.org/339
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
Tested-by: Szymon Dziok <b0hoon@o2.pl>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2013-01-24 11:26:23 +01:00
..
adc-pp5020.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
ascodec-pp.c ascodec-target.h: remove 2012-01-08 01:43:16 +00:00
ata-pp5002.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
ata-pp5020.c Remove STATICIRAM hack 2012-05-08 22:46:12 +02:00
ata-sd-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
ata-target.h
audio-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
boot-pp502x-bl-usb.lds Fix path to PP USB bootloader crt0 2012-01-03 04:47:29 +00:00
crt0-pp-bl.S move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
crt0-pp.S move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
crt0-pp502x-bl-usb.S move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
debug-pp.c PP: move DEBUG_CANCEL definition to .c 2012-01-04 06:34:29 +00:00
i2c-pp.c ascodec-target.h: remove 2012-01-08 01:43:16 +00:00
i2s-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
kernel-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
pcm-pp.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
sd-pp-target.h
system-pp502x.c Fix FS#12391 : Memory corruption on PP502x after commit_discard_idcache() 2013-01-24 11:26:23 +01:00
system-pp5002.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
system-target.h
thread-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
timer-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
usb-fw-pp502x.c Reorganise USB initialisation to not depend on a specific enumeration sequence, by Bartosz Fabianowski, with minor tweaks by Michael Sevakis (FS#12497) 2012-01-04 21:55:09 +00:00
usb-fw-pp5002.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00
wmcodec-pp.c move PP specific files to pp/ 2012-01-03 04:39:56 +00:00