Software APIs
Data Fields
manifest_usage_constraints Struct Reference

Usage constraints. More...

#include <sw/device/silicon_creator/lib/manifest.h>

Data Fields

uint32_t selector_bits
 Usage constraint selector bits. More...
 
lifecycle_device_id_t device_id
 Device identifier value which is compared against the DEVICE_ID value stored in the HW_CFG0 partition in OTP. More...
 
uint32_t manuf_state_creator
 Device Silicon Creator manufacting status compared against the CREATOR_SW_MANUF_STATUS value stored in the CREATOR_SW_CFG partition in OTP. More...
 
uint32_t manuf_state_owner
 Device Silicon Owner manufacturing status compared against the OWNER_SW_MANUF_STATUS value stored in the OWNER_SW_CFG partition in OTP. More...
 
uint32_t life_cycle_state
 Device life cycle status compared against the status reported by the life cycle controller. More...
 

Detailed Description

Usage constraints.

This struct is used to constrain a boot stage image to a set of devices based on their device IDs, creator and/or owner manufacturing states, and life cycle states. Bits of selector_bits determine which fields (or individual words of a field as in the case of device_id) must be read from the hardware during verification. Unselected fields must be set to MANIFEST_USAGE_CONSTRAINT_UNSELECTED_WORD_VAL to be able to generate a consistent value during verification.

Definition at line 35 of file manifest.h.

Field Documentation

◆ device_id

lifecycle_device_id_t manifest_usage_constraints::device_id

Device identifier value which is compared against the DEVICE_ID value stored in the HW_CFG0 partition in OTP.

Mapped to bits 0-7 of selector_bits.

Definition at line 52 of file manifest.h.

◆ life_cycle_state

uint32_t manifest_usage_constraints::life_cycle_state

Device life cycle status compared against the status reported by the life cycle controller.

Mapped to bit 10 of selector_bits.

Definition at line 75 of file manifest.h.

◆ manuf_state_creator

uint32_t manifest_usage_constraints::manuf_state_creator

Device Silicon Creator manufacting status compared against the CREATOR_SW_MANUF_STATUS value stored in the CREATOR_SW_CFG partition in OTP.

Mapped to bit 8 of selector_bits.

Definition at line 60 of file manifest.h.

◆ manuf_state_owner

uint32_t manifest_usage_constraints::manuf_state_owner

Device Silicon Owner manufacturing status compared against the OWNER_SW_MANUF_STATUS value stored in the OWNER_SW_CFG partition in OTP.

Mapped to bit 9 of selector_bits.

Definition at line 68 of file manifest.h.

◆ selector_bits

uint32_t manifest_usage_constraints::selector_bits

Usage constraint selector bits.

The bits of this field are mapped to the remaining fields as follows:

  • Bits 0-7: device_id[0-7]
  • Bit 8 : manuf_state_creator
  • Bit 9 : manuf_state_owner
  • Bit 10 : life_cycle_state

Definition at line 45 of file manifest.h.