summaryrefslogtreecommitdiffstats
path: root/firmware/asm/arm
AgeCommit message (Collapse)AuthorFilesLines
2012-03-03Revise the PCM callback system after adding multichannel audio.Michael Sevakis3-10/+10
Additional status callback is added to pcm_play/rec_data instead of using a special function to set it. Status includes DMA error reporting to the status callback. Playback and recording callback become more alike except playback uses "const void **addr" (because the data should not be altered) and recording uses "void **addr". "const" is put in place throughout where appropriate. Most changes are fairly trivial. One that should be checked in particular because it isn't so much is telechips, if anyone cares to bother. PP5002 is not so trivial either but that tested as working. Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2 Reviewed-on: http://gerrit.rockbox.org/166 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2012-02-18Split CPU-optimized beep code into the firmware/asm tree.Michael Sevakis1-0/+39
For now due to current lack of an apps/asm, place the ASM/generic code in the firmware/asm directory. Additionally, make generic beep code more generic. Change-Id: I4a69b6ffcbb97d9e6dfde2209c5a118de19e5638
2012-01-22Move optimized ffs to firmware/asm, using the new automatic-asm-picking ↵Thomas Martitz1-0/+75
infrastructure. Change-Id: I5e7bdc8be7de50ef604c16078857fff1b84650dc
2012-01-22Implement a C version lcd-as-memframe.c and move it and the asm to firmware/asm.Thomas Martitz1-0/+692
Change-Id: I20c3af0368202493d54fb776530300a39d47873a
2012-01-22Move optimized memcpy and friends and strlen to firmware/asm,Thomas Martitz4-0/+546
using the new automatic-asm-picking infrastructure.
2012-01-22Move pcm_mixer helper routines to firmware/asm.Thomas Martitz4-0/+413
2012-01-22Create fimrware/asm directory for assembly optimized stuff.Thomas Martitz2-0/+130
This dir is suitable for stuff that doesn't fit the target tree, e.g. because it also builds on hosted or otherwise. It also has a generic subfolder for fallback C implementations so that not all archs need to provide asm files. SOURCES should only contain "foo.c" where foo.c includes the specific <arch>/foo.c files from the subdirs using the preprocessor. This way automatic selection of asm versions or generic C verion is possible. For the start, the thread support files are moved, since ASM threads can be used on hosted platforms as well. Since core_sleep() remains platform specific it's moved to the corresponding system.h headers. Change-Id: Iebff272f3407a6eaafeb7656ceb0ae9eca3f7cb9