Module kernel::tbfheader[][src]

Tock Binary Format Header definitions and parsing code.

Re-exports

use core::mem;
use core::slice;
use core::str;

Structs

PicOption1Fields

PIC fields for kernel provided PIC fixup.

TbfHeaderTlv

The TLV header (T and L).

TbfHeaderV1

Legacy Tock Binary Format header.

TbfHeaderV2

Single header that can contain all parts of a v2 header.

TbfHeaderV2Base

TBF fields that must be present in all v2 headers.

TbfHeaderV2Main

The v2 main section for apps.

TbfHeaderV2WriteableFlashRegion

Writeable flash regions only need an offset and size.

Enums

TbfHeader

Type that represents the fields of the Tock Binary Format header.

TbfHeaderTypes

Types in TLV structures for each optional block of the header.

Functions

parse_and_validate_tbf_header

Converts a pointer to memory to a TbfHeader struct