1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/common
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
..
adler32.c crc32/adler32: add full copyright notice to source files 2021-07-31 01:30:39 +00:00
ap_int.c Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
bootdata.c multiboot: Add v1 boot protocol 2024-03-31 16:57:19 +01:00
config.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
crc32-rkw.c Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.c crc32/adler32: add full copyright notice to source files 2021-07-31 01:30:39 +00:00
diacritic.c [Bugfix] diacritic.c MRU discards an entry when slot available 2023-04-24 23:13:10 -04:00
dir.c Revert "readdir_r use in tagcache.check_dir, ft_load" 2024-05-02 13:38:32 -04:00
dircache.c dircache: don't unpin invalid buflib handle when building volumes 2024-03-24 13:22:09 -04:00
disk.c storage: 64-bit sector offsets 2024-08-12 14:23:44 -04:00
disk_cache.c storage: 64-bit sector offsets 2024-08-12 14:23:44 -04:00
fdprintf.c Add a small 32-byte write buffer to fdprintf. 2017-11-28 09:01:17 -05:00
file.c Revert "Extend path_append_ex to truncate compname, remove some strmemdupa" 2023-11-23 21:26:13 -05:00
file_internal.c init_volume_names() has to be called AFTER storage_init() 2024-07-28 21:15:41 -04:00
fileobj_mgr.c [RESTORED!] Allow mounting of any directory as the root directory. 2022-03-03 18:58:07 -05:00
inflate.c inflate: Add helper for getting decompressed data size 2022-03-04 08:44:56 -05:00
linked_list.c linked list: add lld_insert_prev/next() 2022-10-16 16:10:24 +01:00
loader_strerror.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
multiboot.c [coverity] multiboot.c write_bootdata_ fix memset size 2024-06-04 15:56:56 -04:00
pathfuncs.c talk: Voice the volume name when browsing and when voicing full paths 2024-07-28 16:54:33 -04:00
rb-loader.c multiboot: Refactor boot data validation, add version numbers 2024-03-31 16:57:19 +01:00
rb_namespace.c [Bugfix] ft_assemble_path extra slashes, Volume unmound double free 2024-03-29 10:27:03 -04:00
rectangle.c Add rectangle utility functions 2022-12-01 12:36:28 -05:00
strcasecmp.c Compile fix for mingw-w64 2011-12-04 21:07:06 +00:00
strcasestr.c Added ID3 searching 2005-01-27 22:21:08 +00:00
strlcat.c strlcat use strlcpy for the copy part 2022-11-16 00:36:47 -05:00
strlcpy.c strlcpy finish cleanup 2022-11-17 01:54:46 -05:00
strmemccpy.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
strnatcmp.c strnatcmp.c use a fn pointer to call strcmp/strcasecmp 2022-11-17 04:15:38 -05:00
strptokspn.c fix strptokspn, add strcspn, fix splash.c 2022-11-13 01:14:49 -05:00
timefuncs.c timefuncs.c valid_time() should return false if tm == NULL and not try to deref 2021-07-20 23:25:31 +00:00
ucl_decompress.c Add standalone UCL decompressor 2021-05-12 10:35:20 +00:00
unicode.c Remove buflib allocation names, part two 2023-01-13 10:32:54 +00:00
version.c Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00
vuprintf.c libc: Check for a null string argument in *printf 2024-06-20 15:22:36 -04:00
zip.c Remove buflib allocation names, part two 2023-01-13 10:32:54 +00:00