diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-02-23 14:23:15 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-02-23 14:23:15 +0000 |
commit | e42ca31b0f62818ed84c144eea7195515da7924f (patch) | |
tree | 1957890996cd67f67b8b5e09861fbe23a8af3a91 /os/hal/include | |
parent | 20551e0172314fabfbf2889bbbfb4b2d62c39d9c (diff) | |
download | ChibiOS-e42ca31b0f62818ed84c144eea7195515da7924f.tar.gz ChibiOS-e42ca31b0f62818ed84c144eea7195515da7924f.tar.bz2 ChibiOS-e42ca31b0f62818ed84c144eea7195515da7924f.zip |
limit the use of scratchpad buffer
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7697 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/hal_mmcsd.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/os/hal/include/hal_mmcsd.h b/os/hal/include/hal_mmcsd.h index 18af3bd69..44094189d 100644 --- a/os/hal/include/hal_mmcsd.h +++ b/os/hal/include/hal_mmcsd.h @@ -475,15 +475,21 @@ typedef struct { #ifdef __cplusplus
extern "C" {
#endif
- uint32_t mmcsdGetSlice(const uint32_t *data, uint32_t end, uint32_t start);
- uint32_t mmcsdGetCapacity(const uint32_t *csd);
- uint32_t mmcsdGetCapacityMMC(const uint32_t *csd, const uint8_t *ext_csd);
- void sdcUnpackCID(const MMCSDBlockDevice *sdcp, unpacked_sdc_cid_t *cidsdc);
- void mmcUnpackCID(const MMCSDBlockDevice *sdcp, unpacked_mmc_cid_t *cidmmc);
- void sdcUnpackCSDv10(const MMCSDBlockDevice *sdcp,
- unpacked_sdc_csd_10_t *csd10);
- void sdcUnpackCSDv20(const MMCSDBlockDevice *sdcp,
- unmacked_sdc_csd_20_t *csd20);
+ uint32_t _mmcsd_get_slice(const uint32_t *data,
+ uint32_t end,
+ uint32_t start);
+ uint32_t _mmcsd_get_capacity(const uint32_t *csd);
+ uint32_t _mmcsd_get_capacity_ext(const uint8_t *ext_csd);
+ void _mmcsd_unpack_sdc_cid(const MMCSDBlockDevice *sdcp,
+ unpacked_sdc_cid_t *cidsdc);
+ void _mmcsd_unpack_mmc_cid(const MMCSDBlockDevice *sdcp,
+ unpacked_mmc_cid_t *cidmmc);
+ void _mmcsd_unpack_csd_mmc(const MMCSDBlockDevice *sdcp,
+ unpacked_mmc_csd_t *csdmmc);
+ void _mmcsd_unpack_csd_v10(const MMCSDBlockDevice *sdcp,
+ unpacked_sdc_csd_10_t *csd10);
+ void _mmcsd_unpack_csd_v20(const MMCSDBlockDevice *sdcp,
+ unmacked_sdc_csd_20_t *csd20);
#ifdef __cplusplus
}
#endif
|