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