1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-12-27 19:06:01 +00:00
nxdumptool/source/core
Pablo Curiel 94f0312566 bis_storage: add QoL improvements
The BIS storage interface is now initialized by utilsInitializeResources() via bisStorageInitialize(). It takes care of mounting all eMMC FAT partitions in read-only mode, making it possible for the rest of the code to interact with them at any time without having to manually mount them beforehand.

Other changes include:

* bis_storage: add bisStorageExit().
* bis_storage: add bisStorageGetGptPartitionNameByBisPartitionId(), bisStorageGetSystemInitializerPartitionNameByBisPartitionId() and bisStorageGetMountNameByBisPartitionId() helpers.
* bis_storage: change bisStorageMountPartition(), bisStorageUnmountPartition() and bisStorageUnmountAllPartitions() to static functions.
* bis_storage: mount FAT partitions with FatFs by using drive numbers instead of arbitrary strings.

* cert: update code to reflect BIS storage interface changes.

* defines: add BIS_FAT_PARTITION_COUNT macro.

* fatfs/ffconf: use BIS_FAT_PARTITION_COUNT macro as the value for the FF_VOLUMES macro.
* fatfs/ffconf: disable arbitrary string support for volume IDs.

* nxdt_devoptab: increase concurrent mounted device count to 8.

* nxdt_utils: add missing underscores to anonymous variables in SCOPED_LOCK and SCOPED_TRY_LOCK macros.
* nxdt_utils: take care of BIS storage interface (de)initialization.

* poc: update code to reflect BIS storage interface changes.

* tik: update code to reflect BIS storage interface changes.
2024-11-01 13:54:37 +01:00
..
devoptab bis_storage: add QoL improvements 2024-11-01 13:54:37 +01:00
fatfs Create BIS storage interface. 2024-10-28 14:31:58 +01:00
aes.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
bfttf.c title: init gc title storage by HFS as fallback 2024-08-18 15:29:57 +02:00
bis_storage.c bis_storage: add QoL improvements 2024-11-01 13:54:37 +01:00
bktr.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
cert.c bis_storage: add QoL improvements 2024-11-01 13:54:37 +01:00
cnmt.c nca: fix impl issues in ncaInitializeContextCommon() 2024-08-12 12:10:34 +02:00
config.c Remove all references to NSWDB. 2024-05-02 15:38:39 +02:00
es.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
fs_ext.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
gamecard.c gamecard: add proper validation of root HFS partition headers in Terra gamecards 2024-05-20 23:06:36 +02:00
hfs.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
http.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
keys.c keys: relax mkey requirements on older firmwares. 2024-10-12 20:38:33 +02:00
legal_info.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
lz4.c Some updates 2024-08-06 22:57:54 +02:00
mem.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
nacp.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
nca.c nca: fix impl issues in ncaInitializeContextCommon() 2024-08-12 12:10:34 +02:00
nca_storage.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
npdm.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
nso.c title: pre-generate gamecard filenames 2024-08-11 12:59:22 +02:00
nxdt_bfsar.c Create and initialize system update interface. 2024-10-24 23:26:00 +02:00
nxdt_json.c Upgrade C standard to C23. 2024-10-08 00:58:45 +02:00
nxdt_log.c nca: fix impl issues in ncaInitializeContextCommon() 2024-08-12 12:10:34 +02:00
nxdt_utils.c bis_storage: add QoL improvements 2024-11-01 13:54:37 +01:00
pfs.c pfs: change name table padding handling 2024-08-26 10:06:17 +02:00
program_info.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
romfs.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
rsa.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
save.c bis_storage: add menu option. 2024-10-28 15:44:31 +01:00
services.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
sha3.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
system_update.c system_update: add menu option. 2024-10-27 12:23:46 +01:00
tik.c bis_storage: add QoL improvements 2024-11-01 13:54:37 +01:00
title.c title: update internal system title list 2024-10-08 01:15:16 +02:00
ums.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00
usb.c Improve directory layout while we still can. 2024-04-30 23:01:42 +02:00