Intel Agilex® 7 Hard Processor System Remote System Update User Guide

ID 683184
Date 6/09/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

D.4. Macros

The following macros are available to extract the fields from the version field of the rsu_status_info structure:

#define RSU_VERSION_CRT_DCMF_IDX(v) (((v) & 0xF0000000) >> 28)
#define RSU_VERSION_ERROR_SOURCE(v) (((v) & 0x0FFF0000) >> 16)
#define RSU_VERSION_ACMF_VERSION(v) (((v) & 0xFF00) >> 8)
#define RSU_VERSION_DCMF_VERSION(v) ((v) & 0xFF)

The following macros are available to extract the fields from the versions returned by the rsu_dcmf_version function:

#define DCMF_VERSION_MAJOR(v)  (((v) & 0xFF000000) >> 24)
#define DCMF_VERSION_MINOR(v)  (((v) & 0x00FF0000) >> 16)
#define DCMF_VERSION_UPDATE(v) (((v) & 0x0000FF00) >> 8)
The following macros define error codes returned by the decision firmware:
#define STATE_DCIO_CORRUPTED          0xF004D00F
#define STATE_CPB0_CORRUPTED          0xF004D010
#define STATE_CPB0_CPB1_CORRUPTED     0xF004D011

Refer to RSU Status and Error Codes for more details on these error codes.