Crate fidl_data_zbi

Source

Structs§

BoardInfo
ZBI_TYPE_DRV_BOARD_INFO payload.
DcfgAmlogicHdcpDriver
for ZBI_KERNEL_DRIVER_AMLOGIC_HDCP
DcfgAmlogicRngDriver
for ZBI_KERNEL_DRIVER_AMLOGIC_RNG_V1 for ZBI_KERNEL_DRIVER_AMLOGIC_RNG_V2
DcfgArmGenericTimerDriver
for ZBI_KERNEL_DRIVER_ARM_GENERIC_TIMER
DcfgArmGicV2Driver
for ZBI_KERNEL_DRIVER_ARM_GIC_V2
DcfgArmGicV3Driver
for ZBI_KERNEL_DRIVER_ARM_GIC_V3
DcfgArmPsciDriver
for ZBI_KERNEL_DRIVER_ARM_PSCI
DcfgGeneric32Watchdog
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.
DcfgGeneric32WatchdogAction
Defines a register write action for a generic kernel watchdog driver. An action consists of the following steps.
DcfgRiscvGenericTimerDriver
for ZBI_KERNEL_DRIVER_RISCV_GENERIC_TIMER
DcfgRiscvPlicDriver
for ZBI_KERNEL_DRIVER_RISCV_PLIC
DcfgSimple
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.
DcfgSimplePio
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.
KernelDriverGeneric32WatchdogFlags
KernelDriverIrqFlags
MemRange
The ZBI_TYPE_MEM_CONFIG payload consist of one or more zbi_mem_range_t entries.
Nvram
ZBI_TYPE_NVRAM payload.
Partition
PartitionMap
ZBI_TYPE_DRV_PARTITION_MAP payload. This header is immediately followed by an array of the corresponding zbi_partition_t.
PlatformId
ZBI_TYPE_PLATFORM_ID payload.
Swfb
ZBI_TYPE_FRAMEBUFFER payload.
TopologyArchitectureInfo
TopologyArm64Info
TopologyCache
TopologyCluster
TopologyDie
TopologyEntity
TopologyNode
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.
TopologyNumaRegion
TopologyProcessor
TopologyProcessorFlags
TopologyRiscv64Info
TopologySocket
TopologyX64Info

Enums§

HwRebootReason
ZBI_TYPE_HW_REBOOT_REASON payload.
KernelDriver
ZBI_TYPE_KERNEL_DRIVER item types (for zbi_header_t.extra)
MemType
Unknown values should be treated as RESERVED to allow forwards compatibility.
PixelFormat
Gives a pixel format representation.
TopologyArchitectureInfoDiscriminant
TopologyEntityDiscriminant
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_GENERIC32_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.

Type Aliases§

PartitionGuid

Unions§

TopologyArchitectureInfoVariant
TopologyEntityVariant