Software APIs
Typedefs | Enumerations | Variables
boot_stage.h File Reference

(30d7e787c7)

This header contains declarations of boot stage information. More...

Go to the source code of this file.

Typedefs

typedef enum boot_stage boot_stage_t
 A boot_stage_t represents a particular boot stage.
 

Enumerations

enum  boot_stage {
  kBootStageNotSet = 0 ,
  kBootStageRom = 1 ,
  kBootStageRomExt = 2 ,
  kBootStageOwner = 3
}
 A boot_stage_t represents a particular boot stage. More...
 

Variables

const boot_stage_t kBootStage
 Indicates the boot stage that this program has been linked for. More...
 

Detailed Description

This header contains declarations of boot stage information.

This header contains the boot stage specific symbol declarations that can be used by the consumer of this library to determine which stage in the boot sequence the binary is executing from.

Definitions for these symbols can be found in other files in this directory, which should be linked in depending on which boot stage an executable is intended for.

Definition in file boot_stage.h.

Enumeration Type Documentation

◆ boot_stage

enum boot_stage

A boot_stage_t represents a particular boot stage.

Enumerator
kBootStageNotSet 

Undefined boot stage.

kBootStageRom 

The ROM boot stage.

Represents the non-mutable code that is used to establish the hardware root of trust in the boot sequence.

kBootStageRomExt 

The ROM_EXT boot stage.

Represents the first mutable boot stage, which is signed by the Silicon Creator entity.

kBootStageOwner 

The First Silicon Owner boot stage.

Definition at line 28 of file boot_stage.h.

Variable Documentation

◆ kBootStage

const boot_stage_t kBootStage
extern

Indicates the boot stage that this program has been linked for.

This can be used, for example, for conditioning an operation on the precise boot stage.

Definition at line 7 of file boot_stage_owner.c.