DCMD_MMCSD_RPMB_SIZE

Get the size of the RPMB partition

Synopsis:

#include <hw/dcmd_sim_mmcsd.h>

#define DCMD_MMCSD_RPMB_SIZE   __DIOF(_DCMD_CAM, _SIM_MMCSD + 54, uint8_t)

Arguments to devctl():

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

Description:

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.

Input:

None.

Output:

The size of the RPMB partition.

See also:

devctl() in the QNX Neutrino C Library Reference