Read data from the secure silicon region
#include <sys/dcmd_f3s.h> #define DCMD_F3S_READSSR __DIOTF(_DCMD_F3S, F3S_READSSR, uint32_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_F3S_READSSR |
dev_data_ptr | A pointer to a uint32_t |
n_bytes | sizeof(uint32_t) |
dev_info_ptr | NULL |
This command reads data from the secure silicon region. You can open /dev/fs0, move the file position to the appropriate offset, and then read data there.
The number of bytes to read.
The number of bytes that were read.
DCMD_F3S_LOCKSSR, DCMD_F3S_STATSSR, DCMD_F3S_WRITESSR
devctl() in the QNX Neutrino C Library Reference