diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-15 23:55:39 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-13 10:32:54 +0000 |
commit | 1e9ad3ca0d9bf3e917eb2beb460421155144760a (patch) | |
tree | 752590b42f338f03223e024fc5b642ac9a8a5598 /firmware/target/arm | |
parent | 3301c5aa6db76832dbb9af8f72d29b348190fd91 (diff) | |
download | rockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.tar.gz rockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.zip |
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers.
Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/ata-nand-telechips.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/ata-creativezvm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.c index 55f6b1f3f7..d61c223219 100644 --- a/firmware/target/arm/ata-nand-telechips.c +++ b/firmware/target/arm/ata-nand-telechips.c | |||
@@ -915,7 +915,7 @@ int nand_init(void) | |||
915 | #ifndef BOOTLOADER | 915 | #ifndef BOOTLOADER |
916 | /* Use chip info to allocate the correct size LPT buffer */ | 916 | /* Use chip info to allocate the correct size LPT buffer */ |
917 | lptbuf_size = sizeof(struct lpt_entry) * segments_per_bank * total_banks; | 917 | lptbuf_size = sizeof(struct lpt_entry) * segments_per_bank * total_banks; |
918 | lpt_handle = core_alloc("lpt lookup", lptbuf_size); | 918 | lpt_handle = core_alloc(lptbuf_size); |
919 | struct lpt_entry* lpt_lookup = core_get_data(lpt_handle); | 919 | struct lpt_entry* lpt_lookup = core_get_data(lpt_handle); |
920 | #else | 920 | #else |
921 | /* Use a static array in the bootloader */ | 921 | /* Use a static array in the bootloader */ |
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/ata-creativezvm.c b/firmware/target/arm/tms320dm320/creative-zvm/ata-creativezvm.c index f13904628d..a1985472a0 100644 --- a/firmware/target/arm/tms320dm320/creative-zvm/ata-creativezvm.c +++ b/firmware/target/arm/tms320dm320/creative-zvm/ata-creativezvm.c | |||
@@ -303,7 +303,7 @@ static void cfs_init(void) | |||
303 | _ata_read_sectors(CFS_CLUSTER2CLUSTER(vfat_inodes_nr[1]), 1, §or); | 303 | _ata_read_sectors(CFS_CLUSTER2CLUSTER(vfat_inodes_nr[1]), 1, §or); |
304 | inode = (struct cfs_inode*)§or; | 304 | inode = (struct cfs_inode*)§or; |
305 | #ifndef BOOTLOADER | 305 | #ifndef BOOTLOADER |
306 | sectors_handle = core_alloc("ata sectors", VFAT_SECTOR_SIZE(inode->filesize)); | 306 | sectors_handle = core_alloc(VFAT_SECTOR_SIZE(inode->filesize)); |
307 | unsigned long *sectors = core_get_data(sectors_handle); | 307 | unsigned long *sectors = core_get_data(sectors_handle); |
308 | #else | 308 | #else |
309 | static unsigned long _sector[VFAT_SECTOR_SIZE(1024*1024*1024)]; /* 1GB guess */ | 309 | static unsigned long _sector[VFAT_SECTOR_SIZE(1024*1024*1024)]; /* 1GB guess */ |