Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
boot_report.h File Reference
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  ironside_version
 IRONside version structure. More...
 
struct  ironside_boot_report_uicr_error
 UICR error description contained in the boot report. More...
 
struct  ironside_boot_report
 IRONside boot report. More...
 

Macros

#define IRONSIDE_BOOT_REPORT_MAGIC   (0x4d69546fUL)
 Constant used to check if an Nordic IRONside SE boot report has been written.
 
#define IRONSIDE_BOOT_REPORT_LOCAL_DOMAIN_CONTEXT_SIZE   (16UL)
 Length of the local domain context buffer in bytes.
 
#define IRONSIDE_BOOT_REPORT_RANDOM_DATA_SIZE   (32UL)
 Length of the random data buffer in bytes.
 

Functions

int ironside_boot_report_get (const struct ironside_boot_report **report)
 Get a pointer to the IRONside boot report.
 

Macro Definition Documentation

◆ IRONSIDE_BOOT_REPORT_LOCAL_DOMAIN_CONTEXT_SIZE

#define IRONSIDE_BOOT_REPORT_LOCAL_DOMAIN_CONTEXT_SIZE   (16UL)

Length of the local domain context buffer in bytes.

◆ IRONSIDE_BOOT_REPORT_MAGIC

#define IRONSIDE_BOOT_REPORT_MAGIC   (0x4d69546fUL)

Constant used to check if an Nordic IRONside SE boot report has been written.

◆ IRONSIDE_BOOT_REPORT_RANDOM_DATA_SIZE

#define IRONSIDE_BOOT_REPORT_RANDOM_DATA_SIZE   (32UL)

Length of the random data buffer in bytes.

Function Documentation

◆ ironside_boot_report_get()

int ironside_boot_report_get ( const struct ironside_boot_report ** report)

Get a pointer to the IRONside boot report.

Parameters
[out]reportWill be set to point to the IRONside boot report.
Return values
0if successful.
-EFAULTif the magic field in the report is incorrect.
-EINVALif report is NULL.