Zephyr Project API  3.3.0
A Scalable Open Source RTOS
image.h File Reference
#include <inttypes.h>

Go to the source code of this file.

Data Structures

struct  image_version
 
struct  image_header
 
struct  image_tlv_info
 
struct  image_tlv
 

Macros

#define IMAGE_MAGIC   0x96f3b83d
 
#define IMAGE_TLV_INFO_MAGIC   0x6907
 
#define IMAGE_TLV_PROT_INFO_MAGIC   0x6908
 
#define IMAGE_HEADER_SIZE   32
 
#define IMAGE_F_NON_BOOTABLE   0x00000010 /* Split image app. */
 
#define IMAGE_F_ROM_FIXED_ADDR   0x00000100
 
#define IMAGE_TLV_SHA256   0x10 /* SHA256 of image hdr and body */
 
#define IMAGE_HASH_LEN   32
 

Macro Definition Documentation

◆ IMAGE_F_NON_BOOTABLE

#define IMAGE_F_NON_BOOTABLE   0x00000010 /* Split image app. */

Image header flags.

◆ IMAGE_F_ROM_FIXED_ADDR

#define IMAGE_F_ROM_FIXED_ADDR   0x00000100

◆ IMAGE_HASH_LEN

#define IMAGE_HASH_LEN   32

Image TLV-specific definitions.

◆ IMAGE_HEADER_SIZE

#define IMAGE_HEADER_SIZE   32

◆ IMAGE_MAGIC

#define IMAGE_MAGIC   0x96f3b83d

◆ IMAGE_TLV_INFO_MAGIC

#define IMAGE_TLV_INFO_MAGIC   0x6907

◆ IMAGE_TLV_PROT_INFO_MAGIC

#define IMAGE_TLV_PROT_INFO_MAGIC   0x6908

◆ IMAGE_TLV_SHA256

#define IMAGE_TLV_SHA256   0x10 /* SHA256 of image hdr and body */

Image trailer TLV types.