Get the size of the RPMB partition
#include <hw/dcmd_sim_mmcsd.h> #define DCMD_MMCSD_RPMB_SIZE __DIOF(_DCMD_CAM, _SIM_MMCSD + 54, uint8_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device |
dcmd | DCMD_MMCSD_RPMB_SIZE |
dev_data_ptr | A pointer to a uint8_t |
n_bytes | sizeof(uint8_t) |
dev_info_ptr | NULL |
This command gets the size of the Replay Protected Memory Block, a partition on eMMC devices that conform to the JEDEC 4.4 standard. This block is used for secure data.
None.
The size of the RPMB partition.
devctl() in the QNX Neutrino C Library Reference