template <>

class WireWeakAsyncClientImpl

Defined at line 4541 of file fidling/gen/sdk/fidl/fuchsia.boot/fuchsia.boot/cpp/fidl/fuchsia.boot/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_boot::Items::Get> Get (uint32_t type, uint32_t extra)

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.

TODO: Refactor API: https://fxbug.dev/42109921

For a list of `type`s, refer to

<lib

/zbi-format/zbi.h>.

For a list of `extra`s, refer to

<lib

/zbi-format/driver-config.h>.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_boot::Items::Get2> Get2 (uint32_t type, ::fidl::ObjectView< ::fuchsia_boot::wire::Extra> extra)

Get all stored items of `type`, optionally also restricted by `extra`. Note that

length is returned for each item as VMOs are page-aligned.

Returns ZX_ERR_NOT_SUPPORTED if this is an untracked item which will never be stored.

Allocates 40 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_boot::Items::GetBootloaderFile> GetBootloaderFile (::fidl::StringView filename)

Gets the `payload` for a `ZBI_TYPE_BOOTLOADER_FILE` boot item.

Note: ZX_PROP_VMO_CONTENT_SIZE will be set to the actual file content size

Allocates 288 bytes of request buffer on the stack. The callback is stored on the heap.