Get the lock status of a secure silicon region
#include <sys/dcmd_f3s.h> #define DCMD_F3S_STATSSR __DIOTF(_DCMD_F3S, F3S_STATSSR, uint32_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_F3S_STATSSR |
dev_data_ptr | An array of type uint32_t |
n_bytes | The number of entries in the array |
dev_info_ptr | NULL |
This command gets the lock status of a secure silicon region.
devctl(fd, DCMD_F3S_STATSSR, &stat, 1, NULL);
devctl(fd, DCMD_F3S_STATSSR, &stat, 4, NULL) ;
The lock status.
DCMD_F3S_LOCKSSR, DCMD_F3S_READSSR, DCMD_F3S_WRITESSR
devctl() in the QNX Neutrino C Library Reference