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
Name | Type |
---|
Response
Name | Type |
---|---|
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
Name | Type |
---|---|
extra |
uint32
|
Response
Name | Type |
---|---|
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 type
s, refer to <zircon/boot/image.h>.
For a list of extra
s, refer to <zircon/boot/driver-config.h>.
Request
Name | Type |
---|---|
type |
uint32
|
extra |
uint32
|
Response
Name | Type |
---|---|
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
Name | Type |
---|
Response
Name | Type |
---|---|
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
Name | Type |
---|
Response
Name | Type |
---|---|
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
Name | Type |
---|
Response
Name | Type |
---|---|
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
Name | Type |
---|
Response
Name | Type |
---|---|
job |
handle<job>
|
RootResource
Defined in fuchsia.boot/root-resource.fidl
Protocol for providing the root resource.
Get
Get the root |resource|.
Request
Name | Type |
---|
Response
Name | Type |
---|---|
resource |
handle<resource>
|