DCMD_F3S_WRITESSR

Write data to the secure silicon region

Synopsis:

#include <sys/dcmd_f3s.h>

#define DCMD_F3S_WRITESSR   __DIOTF(_DCMD_F3S, F3S_WRITESSR, uint32_t)

Arguments to devctl():

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

Description:

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.

Input:

The number of bytes to write.

Output:

The number of bytes that were written.

See also:

DCMD_F3S_LOCKSSR, DCMD_F3S_READSSR, DCMD_F3S_STATSSR

devctl() in the QNX Neutrino C Library Reference