Software APIs
Data Fields
owner_rescue_config Struct Reference

The owner rescue configuration describes how the rescue protocol should behave when invoked in the ROM_EXT. More...

#include <sw/device/silicon_creator/lib/ownership/datatypes.h>

Data Fields

tlv_header_t header
 Header identifiying this struct. More...
 
uint32_t rescue_type
 The rescue type. More...
 
uint16_t start
 The start offset of the rescue region in flash (in pages).
 
uint16_t size
 The size of the rescue region in flash (in pages).
 
uint32_t command_allow []
 An allowlist of rescue and boot_svc commands that may be invoked by the rescue protocol. More...
 

Detailed Description

The owner rescue configuration describes how the rescue protocol should behave when invoked in the ROM_EXT.

Definition at line 341 of file datatypes.h.

Field Documentation

◆ command_allow

uint32_t owner_rescue_config::command_allow[]

An allowlist of rescue and boot_svc commands that may be invoked by the rescue protocol.

The commands are identified by their 4-byte tags (tag identifiers between rescue commands and boot_svc commands are unique).

Definition at line 358 of file datatypes.h.

◆ header

tlv_header_t owner_rescue_config::header

Header identifiying this struct.

tag: RESQ. length: 16 + sizeof(command_allow).

Definition at line 347 of file datatypes.h.

◆ rescue_type

uint32_t owner_rescue_config::rescue_type

The rescue type.

Currently, only XMDM is supported.

Definition at line 349 of file datatypes.h.

◆ size

uint16_t owner_rescue_config::size

The size of the rescue region in flash (in pages).

Definition at line 353 of file datatypes.h.

◆ start

uint16_t owner_rescue_config::start

The start offset of the rescue region in flash (in pages).

Definition at line 351 of file datatypes.h.