rockbox/apps
Aidan MacDonald 7eeb4e4302 firmware: refactor CACHEALIGN_BITS/SIZE defines
Mostly motivated by PP needing CACHEALIGN_SIZE in linker
scripts, which can't include system.h, so move these to
cpu.h instead. Also gets rid of the default 32 byte line
size that was used if the target didn't define alignment
itself. RK24xx, DM320, and JZ4740 were missing this but
have been confirmed (from datasheets) to use 32-byte cache
lines.

Add checks to make sure the macros are appropriately
(un)defined based on the HAVE_CPU_CACHE_ALIGN define,
and make sure their values are consistent when they
are defined.

Disable HAVE_CPU_CACHE_ALIGN for hosted targets since it
arguably doesn't matter if there's a cache, if we aren't
responsible for cache maintenance.

A few files in rbcodec use CACHEALIGN_SIZE, but these
can be converted to MEM_ALIGN_SIZE, which is identical
to CACHEALIGN_SIZE if the latter is defined. On other
targets, it aligns to at least sizeof(intptr_t).

Change-Id: If8cf8f6ec327dc3732f4cd5022a858546b9e63d6
2026-03-06 14:49:00 +00:00
..
bitmaps Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
gui Fix yellow from 1951c17e0b on targets with USB_NONE 2026-01-26 20:36:58 -05:00
hosted/android Use SBS title in delete confirmation screens 2026-01-13 20:05:43 -05:00
iap pass event data to usb_acknowledge 2026-01-26 19:47:09 -05:00
keymaps echoplayer: fix STD_CONTEXT action being masked by STD_OK in keymap 2026-02-26 18:15:24 -05:00
lang FS#13810 - Updated Italian Translation (Alessio Lenzi) 2026-03-04 08:25:37 -05:00
menus added setting to retain file browser directory on reboots WIP 2026-03-01 15:05:09 -05:00
plugins firmware: refactor CACHEALIGN_BITS/SIZE defines 2026-03-06 14:49:00 +00:00
radio touchscreen: Allow progress bars to be used in the .sbs 2025-12-05 12:02:53 +00:00
recorder pcm: Make more of the low-level PCM API private 2026-03-03 13:09:21 -05:00
abrepeat.c [Cleanup] abrepeat.c 2024-06-20 11:14:27 -04:00
abrepeat.h [Cleanup] abrepeat.c 2024-06-20 11:14:27 -04:00
action.c touchscreen: Integrate gesture API with action system 2025-12-04 08:14:28 -05:00
action.h touchscreen: Fix seeking to end of track in WPS 2025-12-04 19:36:19 -05:00
alarm_menu.c voice: fix regression 39f8685 (already voiced) 2025-05-28 11:18:29 +02:00
alarm_menu.h
appevents.h
applimits.h
apps.make build: add 'lto' to features.txt if built with it 2024-11-30 13:49:42 -05:00
audio_path.c
audio_thread.c pass event data to usb_acknowledge 2026-01-26 19:47:09 -05:00
audio_thread.h
beep.c
bookmark.c Use SBS title in delete confirmation screens 2026-01-13 20:05:43 -05:00
bookmark.h
buffering.c Codecs: mp3: Move strip tags to codec 2025-05-26 10:59:56 -04:00
buffering.h Codecs: mp3: Move strip tags to codec 2025-05-26 10:59:56 -04:00
codec_thread.c apps: cleanly disable codec buffering when not supported 2026-01-05 13:15:49 -05:00
codec_thread.h
codecs.c firmware: refactor CACHEALIGN_BITS/SIZE defines 2026-03-06 14:49:00 +00:00
core_asmdefs.c
core_keymap.c add INIT_ATTR to dircache_load and core_load_key_remap 2024-11-26 22:13:43 -05:00
core_keymap.h
cuesheet.c cuesheet: allow playback from arbitrarily named cue file 2025-12-10 17:37:19 -05:00
cuesheet.h
debug_menu.c debug_menu: show 2nd SD/MMC card info only if NUM_DRIVES > 1 2026-03-02 17:10:55 -05:00
debug_menu.h
enc_config.c
enc_config.h
features.txt Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
fileop.c FS13774 - Translate units in file operation splash messages 2026-02-08 20:02:38 -05:00
fileop.h [Cleanup] onplay.c fileop.c 2024-07-04 12:44:04 -04:00
filetree.c added setting to retain file browser directory on reboots WIP 2026-03-01 15:05:09 -05:00
filetree.h Replace "Reload After Saving" with option to remove queued tracks 2024-04-21 18:28:16 +02:00
filetypes.c Fix: read_color_theme_file needed beyond init 2024-11-24 00:42:50 +01:00
filetypes.h filetypes.c compress builtin filetypes 2024-11-19 07:12:41 -05:00
fracmul.h
gesture.c touchscreen: Add gesture velocity helper 2025-12-04 08:14:28 -05:00
gesture.h touchscreen: Add gesture velocity helper 2025-12-04 08:14:28 -05:00
keyboard.h unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
language.c optimize language.c lang_english_to_id() 2024-12-30 23:17:57 -05:00
language.h
logfdisp.c
logfdisp.h
main.c validate global_settings.start_directory on startup 2026-02-26 09:50:34 -05:00
menu.c fix yellow 2e9c2da 2026-01-14 17:49:42 +01:00
menu.h
misc.c added setting to retain file browser directory on reboots WIP 2026-03-01 15:05:09 -05:00
misc.h validate global_settings.start_directory on startup 2026-02-26 09:50:34 -05:00
onplay.c plugins: random folder advance: misc improvements 2026-01-16 16:49:38 +01:00
onplay.h Generate A-Z menus in the tagtree 2024-11-02 17:27:22 -04:00
open_plugin.c FS#13746: open_plugin_run() doesn't handle "not found" properly 2026-03-05 08:40:12 -05:00
open_plugin.h openplugins -- import and export thru settings save / restore settings 2026-01-22 10:41:50 -05:00
pcmbuf.c playback: fix single mode briefly plays audio from the next track before pausing 2026-02-18 17:04:31 +02:00
pcmbuf.h [BugFix] Playback.c OOM with large voice file 2024-09-24 10:47:34 -04:00
playback.c playback: support non-builtin sinks in audio_guess_frequency 2026-03-03 18:19:07 -05:00
playback.h [Feature] playback logging from core 2025-01-13 00:45:09 -05:00
playlist.c pass event data to usb_acknowledge 2026-01-26 19:47:09 -05:00
playlist.h plugins: random folder advance: misc improvements 2026-01-16 16:49:38 +01:00
playlist_catalog.c addendum to 498d581 2025-05-28 12:52:45 +02:00
playlist_catalog.h tagtree: defer context menu disk access 2025-04-17 08:23:45 -04:00
playlist_menu.h
playlist_viewer.c Use SBS title in delete confirmation screens 2026-01-13 20:05:43 -05:00
playlist_viewer.h
plugin.c plugins: Remove audio_master_sampr_list from the plugin API 2026-03-03 21:31:58 -05:00
plugin.h plugins: Remove audio_master_sampr_list from the plugin API 2026-03-03 21:31:58 -05:00
rbcodec_helpers.c
rbcodecconfig.h usbaudio: send through dsp (new) 2025-11-15 07:38:19 -05:00
rbcodecplatform.h
README
root_menu.c added setting to retain file browser directory on reboots WIP 2026-03-01 15:05:09 -05:00
root_menu.h
screen_access.c screen_access add set_drawinfo 2025-02-08 00:49:28 -05:00
screen_access.h screen_access add set_drawinfo 2025-02-08 00:49:28 -05:00
screens.c talk: Improvements in voicing "years" 2026-03-01 16:31:27 -05:00
screens.h Show Track Info: Support fs tags in Playlist Viewer, Properties, and PictureFlow 2024-12-16 00:20:10 +01:00
settings.c added setting to retain file browser directory on reboots WIP 2026-03-01 15:05:09 -05:00
settings.h added setting to retain file browser directory on reboots WIP 2026-03-01 15:05:09 -05:00
settings_list.c settings_list: apply playback freq changes only when current sink is builtin 2026-03-03 20:02:52 -05:00
settings_list.h shortcuts.c don't call settings_apply_skins() unless needed 2025-03-02 23:50:54 -05:00
shortcuts.c Use SBS title in delete confirmation screens 2026-01-13 20:05:43 -05:00
shortcuts.h [Feature] Set values of settings from shortcuts 2025-01-25 15:13:13 -05:00
sound_menu.h
SOURCES Remove Creative Zen Vision and Vision:M ports 2026-02-06 07:31:54 -05:00
status.c
status.h
tagcache.c tagcache: Prevent a infinite tagcache scan/commit loop 2026-03-01 21:11:36 -05:00
tagcache.h tagtree/tagcache add new clause operator contains_oneof 2026-01-04 22:55:40 -05:00
tagnavi.config tagnavi.config: Add "Album Artists by First Letter" 2025-02-08 12:14:32 -05:00
tagtree.c tagtree/tagcache add new clause operator contains_oneof 2026-01-04 22:55:40 -05:00
tagtree.h Reworks to the shuffle system to improve performance and allow fast shuffling from a big library (but this work for all database views) 2024-08-31 10:44:20 -04:00
talk.c talk: Improvements in voicing "years" 2026-03-01 16:31:27 -05:00
talk.h talk: Voice the volume name when browsing and when voicing full paths 2024-07-28 16:54:33 -04:00
tree.c 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
tree.h 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
usb_keymaps.c [Bugfix] FS#12436 cache mode strings prior to font disable 2025-03-11 11:41:17 -04:00
usb_keymaps.h [Bugfix] FS#12436 cache mode strings prior to font disable 2025-03-11 11:41:17 -04:00
voice_thread.c Convert users of SHAREDDATA_ATTR to SHAREDBSS_ATTR 2026-02-05 07:57:07 -05:00
voice_thread.h

For general information see: docs/README
For API information see: docs/API