class KernelStorage

Defined at line 23 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

Public Methods

void KernelStorage ()

Defined at line 28 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

void KernelStorage (KernelStorage && )

Defined at line 30 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

void Init (Zbi::storage_type storage)

Defined at line 35 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

void Init (zbi_header_t * zbi_hdr)

Defined at line 37 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

Zbi & zbi ()

Defined at line 41 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

const Zbi & zbi ()

Defined at line 42 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

Zbi::iterator item ()

Return the position in the input ZBI where KERNEL_STORAGE was found.

Defined at line 45 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

ktl::span<ktl::byte> data ()

Return the unpacked ZBI_BOOTFS_PAGE_SIZE-aligned buffer owned by this

object.

Defined at line 49 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

Bootfs root ()

Helper to decode data() as a BOOTFS image.

Defined at line 52 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

void GetTimes (PhysBootTimes & times)

Defined at line 54 of file ../../zircon/kernel/phys/include/phys/kernel-package.h

void Init (Zbi zbi)

Unpacks the ZBI_TYPE_KERNEL_STORAGE item from the ZBI.

Defined at line 58 of file ../../zircon/kernel/phys/kernel-package.cc

KernelStorage::Bootfs GetKernelPackage ()

Get the subdir of root() for the kernel package to boot.

If it's not found, this doesn't return.

Defined at line 118 of file ../../zircon/kernel/phys/kernel-package.cc