class Mmio
Defined at line 232 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h
Definition of a MMIO resource for a platform device node.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_hardware_platform_bus::wire::Mmio> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_platform_bus::wire::Mmio> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_platform_bus::wire::Mmio>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Mmio ()
Defined at line 234 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h
void Mmio (const Mmio & other)
Defined at line 235 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h
uint64_t & base ()
Physical address of MMIO region. Does not need to be page aligned.
bool has_base ()
uint64_t & length ()
Length of MMIO region in bytes. Does not need to be page aligned.
bool has_length ()
::fidl::StringView & name ()
Name that can be used to retrieve the Mmio using
[`fuchsia.hardware.platform.device/GetMmioByName`].
It is valid for this to be empty, however the resource will only be able
to be retrieved using [`fuchsia.hardware.platform.device/GetMmioById`].
bool has_name ()
Mmio & operator= (const Mmio & other)
Defined at line 236 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h
void Mmio (Mmio && other)
Defined at line 237 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h
Mmio & operator= (Mmio && other)
Defined at line 238 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h
Mmio & set_base (::fidl::ObjectView<uint64_t> elem)
Mmio & set_base (std::nullptr_t )
Mmio & clear_base ()
Mmio & set_length (::fidl::ObjectView<uint64_t> elem)
Mmio & set_length (std::nullptr_t )
Mmio & clear_length ()
Mmio & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Mmio & set_name (std::nullptr_t )
Mmio & clear_name ()
void Mmio (::fidl::AnyArena & allocator)
void Mmio (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_platform_bus::wire::Mmio>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_platform_bus::wire::Mmio>> && frame_ptr)
void ~Mmio ()
Defined at line 240 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder