pub type ImageDef = Block<1>;
Expand description
An Image Definition has one item in it - an ITEM_1BS_IMAGE_TYPE
Aliased Type§
struct ImageDef { /* private fields */ }
Implementations§
Source§impl ImageDef
impl ImageDef
Sourcepub const fn arch_exe(security: Security, architecture: Architecture) -> Self
pub const fn arch_exe(security: Security, architecture: Architecture) -> Self
Construct a new IMAGE_DEF Block, for an EXE with the given security and architecture.
Sourcepub const fn exe(security: Security) -> Self
pub const fn exe(security: Security) -> Self
Construct a new IMAGE_DEF Block, for an EXE with the given security.
The target architecture is taken from the current build target (i.e. Arm or RISC-V).
Sourcepub const fn non_secure_exe() -> Self
pub const fn non_secure_exe() -> Self
Construct a new IMAGE_DEF Block, for a Non-Secure EXE.
The target architecture is taken from the current build target (i.e. Arm or RISC-V).
Sourcepub const fn secure_exe() -> Self
pub const fn secure_exe() -> Self
Construct a new IMAGE_DEF Block, for a Secure EXE.
The target architecture is taken from the current build target (i.e. Arm or RISC-V).