1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target/hosted
Solomon Peachy 15e5237469 storage: 64-bit sector offsets
* Create new 'sector_t' type alias:
    * uint64_t for all targets with HAVE_LBA48 or HAVE_SDUC
    * unsigned long for the everything else
 * Alter all storage APIs to use sector_t instead of 'unsigned long'
 * Alter Volume/Partition/storage info structures to use sector_t
 * Disk cache converted to sector_t
 * ATA Core:
    * convert to using sector_t for sector addresses and drive sizes
    * Always fill out upper 16 bits of LBA48 addresses
    * IDENTIFY INFO is fixed at 512 bytes, not SECTOR_SIZE
 * USB mass storage:
    * convert to using sector_t for sector addesses and drive sizes
    * Implement READ_16/WRITE_16 for LBA48 addresses
 * Convert FAT code to use sector_t for all sector references
 * output_dyn_value() now accepts int64_t instead of 'int'
 * Corrected "rockbox info" to work for (MULTIVOLUME & !MULTIDRIVE)
 * Better reporting of disk and (logical+physical) sector sizes in debug info
 * Detect SDUC cards and report on storage debug_info screen

To-do: SDUC

 * Refactor SD core to remove duplicate code in every driver
   * Card probe and init state machine
 * Implement core SDUC support
   * SD2.0 needs to be 2.0+ (fixed for jz47xx and x1000)
   * Host and Card ID (ACMD41)
   * 32-bit addressing for all read/write/erase operations (CMD22)
 * ADD SDUC to target device drivers, defining HAVE_SDUC as appropriate

Change-Id: Ib0138781a0081664d11511037685503df1b93608
2024-08-12 14:23:44 -04:00
..
agptek Remove duplicate 'const' declaration in percent_to_volt_charge[] 2024-04-06 21:26:53 -04:00
aigo Remove duplicate 'const' declaration in percent_to_volt_charge[] 2024-04-06 21:26:53 -04:00
android Fix Red SDL, Android mounting root directory, and all the yellow too 2022-03-03 20:38:57 -05:00
fiio Remove duplicate 'const' declaration in percent_to_volt_charge[] 2024-04-06 21:26:53 -04:00
ibasso add const to const * strings 2022-05-03 23:00:58 -04:00
maemo pcm: Remove unused function pcm_play_dma_get_peak_buffer() 2021-07-25 14:07:41 +00:00
samsungypr samsungypr0/1: Minor improvements to framebuffer driver. 2024-07-01 09:50:33 -04:00
sdl Hopefully fix the last of the stragglers. 2024-07-07 15:13:53 -04:00
sonynwz Remove duplicate 'const' declaration in percent_to_volt_charge[] 2024-04-06 21:26:53 -04:00
xduoo Remove duplicate 'const' declaration in percent_to_volt_charge[] 2024-04-06 21:26:53 -04:00
alsa-controls.c nwz/alsa: various improvements 2020-10-31 14:16:31 +00:00
alsa-controls.h nwz/alsa: various improvements 2020-10-31 14:16:31 +00:00
backlight-target.h New port: FiiO M3K 2020-10-09 12:41:18 -04:00
backlight-unix.c hosted: control buttonlights along with the display backlight. 2020-10-03 20:12:31 -04:00
backtrace-glibc.c Fix hosted glibc backtrace 2021-08-06 18:54:34 +01:00
button-devinput.c erosq: When mucking with the clickwheel, ensure we keep the screen awake! 2021-04-09 19:21:02 -04:00
cpufreq-linux.c hosted: Use O_CLOEXEC for all open() and "e" for fopen() calls 2020-10-11 01:47:03 -04:00
cpufreq-linux.h CPUFreq scaling governor interface for Linux/Android hosted devices. 2015-01-30 20:15:58 +01:00
cpuinfo-linux.c hosted: Use O_CLOEXEC for all open() and "e" for fopen() calls 2020-10-11 01:47:03 -04:00
cpuinfo-linux.h cleanup linux cpuinfo code 2017-10-06 18:31:35 +02:00
debug-hosted.c Include stdlib.h for atexit(). 2012-01-25 22:49:19 +01:00
filesystem-app.c Revert "readdir_r use in tagcache.check_dir, ft_load" 2024-05-02 13:38:32 -04:00
filesystem-app.h Revert "readdir_r use in tagcache.check_dir, ft_load" 2024-05-02 13:38:32 -04:00
filesystem-hosted.h hosted: Don't unconditionally pull in mv.h on hosted environments 2024-07-19 18:42:11 -04:00
filesystem-unix.c storage: 64-bit sector offsets 2024-08-12 14:23:44 -04:00
filesystem-unix.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
filesystem-win32.c storage: 64-bit sector offsets 2024-08-12 14:23:44 -04:00
filesystem-win32.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
kernel-unix.c Hosted targets Fix timer cycle calculation overflow 2020-10-23 15:35:11 +00:00
kernel-unix.h android/ypr0: Merge kernel-*.c to generic kernel-unix.c. 2012-01-21 18:39:19 +01:00
lc-unix.c Agptek Rocker: Restrict root directory to SD only 2018-06-12 10:31:15 +02:00
lcd-linuxfb.c hosted: Minor corrections to the linux framebuffer driver. 2024-07-01 09:51:50 -04:00
pcm-alsa.c Eros Q Hosted: Apply DC Bias to PCM Data 2021-08-12 10:07:49 +00:00
pcm-alsa.h alsa: instead of per-target tests, use HAVE_ALSA_32BIT 2021-04-08 23:02:15 -04:00
power-linux.c fiiom3klinux: Fix a build warning. 2021-03-10 19:01:12 -05:00
rolo.c use path_append for setting directories is several settings 2024-04-01 07:35:53 -04:00
rtc.c hosted: Fix rtc_write_datetime() error handling 2021-08-05 13:44:11 +00:00
sysfs.c hosted: Use O_CLOEXEC for all open() and "e" for fopen() calls 2020-10-11 01:47:03 -04:00
sysfs.h xDuoo X3II and X20 port 2020-04-06 18:15:41 +02:00
system-hosted.c hosted: call 'sync' before poweroff 2022-03-31 21:40:04 -04:00
system-hosted.h Add normal alloca() definition and implement a strdupa and friends 2014-08-29 22:06:59 -04:00
usb-hiby.c add const to const * strings 2022-05-03 23:00:58 -04:00