rockbox/firmware/usbstack
Cástor Muñoz 8f38f85fbd Workaround for usb_storage_init_connection() panic
For s5l8701, s5l8702 and as3525v2 targets.

The crash occurs when USB is inserted or extracted while the playlist
is being loaded or updated (it could take a few seconds for huge
playlists), at this point all buflib memory is allocated and not freed
before usb_starage_init_connection() is executed.

This workaround mitigates this panic by using static memory for USB
buffers, so this memory cannot be used for other tasks, in addition
the problem still persist when playlist load is 'paused' by USB
insertion and then updated after USB extraction.

Change-Id: Iff1db5a949361fd543e0b494924d1f2906c84b5e
2018-07-30 17:54:51 -04:00
..
usb_charging_only.c usb PACK_DATA: use a static inline to enable type checking 2011-12-29 21:58:34 +00:00
usb_charging_only.h
usb_class_driver.h usb PACK_DATA: use a static inline to enable type checking 2011-12-29 21:58:34 +00:00
usb_core.c Coding style fix for bde5394 2014-02-10 07:46:13 +01:00
usb_hid.c usb PACK_DATA: use a static inline to enable type checking 2011-12-29 21:58:34 +00:00
usb_hid.h
usb_hid_usage_tables.h Commit "FS#10468 - USB HID: Show keypad mode on screen" 2009-09-30 10:06:04 +00:00
usb_serial.c usb_serial: fix send buffer alignment 2016-08-04 17:57:04 +02:00
usb_serial.h Add const to usb_serial_send() buffer. 2009-08-19 05:30:40 +00:00
usb_storage.c Workaround for usb_storage_init_connection() panic 2018-07-30 17:54:51 -04:00
usb_storage.h