fuchsia.boot

PROTOCOLS

Arguments

Defined in fuchsia.boot/arguments.fidl

Protocol for retrieving boot arguments.

Get

Get a vmo containing boot arguments, along with the size of the boot arguments contained within.

Request

NameType

Response

NameType
vmo handle<vmo>
size uint64

FactoryItems

Defined in fuchsia.boot/factory-items.fidl

Protocol for retrieving factory boot item payloads.

Get

Gets a payload for a ZBI_TYPE_STORAGE_BOOTFS_FACTORY boot item with extra field set to extra.

NOTE: We return the length of the item, as VMOs must be page-aligned.

Request

NameType
extra uint32

Response

NameType
payload handle<vmo>?
length uint32

Items

Defined in fuchsia.boot/items.fidl

Protocol for retrieving boot item payloads.

Get

Get a payload for a boot item of type and extra. NOTE: We return the length of the item, as VMOs must be page-aligned.

For a list of types, refer to <zircon/boot/image.h>. For a list of extras, refer to <zircon/boot/driver-config.h>.

Request

NameType
type uint32
extra uint32

Response

NameType
payload handle<vmo>?
length uint32

ReadOnlyLog

Defined in fuchsia.boot/log.fidl

Protocol for providing the kernel log, readable.

Get

Get read-only handle to the kernel log.

Request

NameType

Response

NameType
log handle<debuglog>

WriteOnlyLog

Defined in fuchsia.boot/log.fidl

Protocol for providing the kernel log, writable.

Get

Get write-only handle to the kernel log.

Request

NameType

Response

NameType
log handle<debuglog>

RootJob

Defined in fuchsia.boot/root-job.fidl

Protocol for providing the root job.

TODO(ZX-4072): Do not use this without first consulting the Zircon team.

Get

Get the root job.

Request

NameType

Response

NameType
job handle<job>

RootJobForInspect

Defined in fuchsia.boot/root-job.fidl

Protocol for providing the root job with restricted rights, specifically: INSPECT | ENUMERATE | DUPLICATE | TRANSFER

Get

Get the root job.

Request

NameType

Response

NameType
job handle<job>

RootResource

Defined in fuchsia.boot/root-resource.fidl

Protocol for providing the root resource.

Get

Get the root |resource|.

Request

NameType

Response

NameType
resource handle<resource>