class ItemBase

Defined at line 27 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

This is the base class and API model for item types used with BootShim.

Each derived class defines its own size_bytes and AppendItems methods.

Public Methods

size_t ItemSize (size_t payload)

Convenience used in size_bytes() implementations.

Defined at line 35 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

size_t size_bytes ()

Return the total size (upper bound) of additional data ZBI items.

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Append additional items to the data ZBI. The caller ensures there is as

much spare capacity as size_bytes() previously returned.

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Append additional items to the data ZBI. The caller ensures there is as

much spare capacity as size_bytes() previously returned.

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Append additional items to the data ZBI. The caller ensures there is as

much spare capacity as size_bytes() previously returned.

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Append additional items to the data ZBI. The caller ensures there is as

much spare capacity as size_bytes() previously returned.

size_t ItemSize (size_t payload)

Convenience used in size_bytes() implementations.

Defined at line 35 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h

size_t ItemSize (size_t payload)

Convenience used in size_bytes() implementations.

Defined at line 35 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/item-base.h