Structs§
- Board
Info - ZBI_TYPE_DRV_BOARD_INFO payload.
- Dcfg
Amlogic Hdcp Driver - for ZBI_KERNEL_DRIVER_AMLOGIC_HDCP
- Dcfg
Amlogic RngDriver - for ZBI_KERNEL_DRIVER_AMLOGIC_RNG_V1 for ZBI_KERNEL_DRIVER_AMLOGIC_RNG_V2
- Dcfg
ArmGeneric Timer Driver - for ZBI_KERNEL_DRIVER_ARM_GENERIC_TIMER
- Dcfg
ArmGic V2Driver - for ZBI_KERNEL_DRIVER_ARM_GIC_V2
- Dcfg
ArmGic V3Driver - for ZBI_KERNEL_DRIVER_ARM_GIC_V3
- Dcfg
ArmPsci Driver - for ZBI_KERNEL_DRIVER_ARM_PSCI
- Dcfg
Generic32 Watchdog - Definitions of actions which may be taken by a generic 32 bit watchdog timer kernel driver which may be passed by a bootloader. Field definitions are as follows.
- Dcfg
Generic32 Watchdog Action - Defines a register write action for a generic kernel watchdog driver. An action consists of the following steps.
- Dcfg
Riscv Generic Timer Driver - for ZBI_KERNEL_DRIVER_RISCV_GENERIC_TIMER
- Dcfg
Riscv Plic Driver - for ZBI_KERNEL_DRIVER_RISCV_PLIC
- Dcfg
Simple - Kernel driver struct that can be used for simple drivers. Used by ZBI_KERNEL_DRIVER_PL011_UART, ZBI_KERNEL_DRIVER_AMLOGIC_UART, and ZBI_KERNEL_DRIVER_GENI_UART, ZBI_KERNEL_DRIVER_I8250_MMIO_UART.
- Dcfg
Simple Pio - Used by ZBI_KERNEL_DRIVER_I8250_PIO_UART.
- Flags
- Flags associated with an item. A valid flags value must always include ZBI_FLAGS_VERSION. Values should also contain ZBI_FLAGS_CRC32 for any item where it’s feasible to compute the CRC32 at build time. Other flags are specific to each type.
- Header
- Each header must be 8-byte aligned. The length field specifies the actual payload length and does not include the size of padding.
- Kernel
- The kernel image. In a bootable ZBI this item must always be first, immediately after the ZBI_TYPE_CONTAINER header. The contiguous memory image of the kernel is formed from the ZBI_TYPE_CONTAINER header, the ZBI_TYPE_KERNEL_{ARCH} header, and the payload.
- Kernel
Driver Generic32 Watchdog Flags - Kernel
Driver IrqFlags - MemRange
- The ZBI_TYPE_MEM_CONFIG payload consist of one or more
zbi_mem_range_t
entries. - Nvram
- ZBI_TYPE_NVRAM payload.
- Partition
- Partition
Map - ZBI_TYPE_DRV_PARTITION_MAP payload. This header is immediately followed by an array of the corresponding zbi_partition_t.
- Platform
Id - ZBI_TYPE_PLATFORM_ID payload.
- Swfb
- ZBI_TYPE_FRAMEBUFFER payload.
- Topology
Architecture Info - Topology
Arm64 Info - Topology
Cache - Topology
Cluster - Topology
Die - Topology
Entity - Topology
Node - The ZBI_TYPE_CPU_TOPOLOGY payload consists of an array of zbi_topology_node_t, giving a flattened tree-like description of the CPU configuration according to the entity hierarchy.
- Topology
Numa Region - Topology
Processor - Topology
Processor Flags - Topology
Riscv64 Info - Topology
Socket - Topology
X64Info
Enums§
- HwReboot
Reason - ZBI_TYPE_HW_REBOOT_REASON payload.
- Kernel
Driver - ZBI_TYPE_KERNEL_DRIVER item types (for zbi_header_t.extra)
- MemType
- Unknown values should be treated as RESERVED to allow forwards compatibility.
- Pixel
Format - Gives a pixel format representation.
- Topology
Architecture Info Discriminant - Topology
Entity Discriminant - Type
Constants§
- ALIGNMENT
- BOARD_
NAME_ LEN - CONTAINER_
MAGIC - LSW of sha256(“bootdata”)
- ITEM_
MAGIC - LSW of sha256(“bootitem”)
- ITEM_
NO_ CRC32 - Value for zbi_header_t.crc32 when ZBI_FLAGS_CRC32 is not set.
- KERNEL_
DRIVER_ GENERI C32_ WATCHDOG_ MIN_ PERIOD - 1ms
- MAX_SMT
- PARTITION_
GUID_ LEN - PARTITION_
NAME_ LEN - TOPOLOGY_
NO_ PARENT - TYPE_
DRIVER_ METADATA_ MASK - Mask to compare against TYPE_DRIVER_METADATA_PREFIX.
- TYPE_
DRIVER_ METADATA_ PREFIX - Numeric prefix for driver metadata types.
- TYPE_
KERNEL_ MASK - Mask to compare against TYPE_KERNEL_PREFIX.
- TYPE_
KERNEL_ PREFIX - Numeric prefix for kernel types.