class SecureHeapProperties

Defined at line 499 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/wire_types.h

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_sysmem::wire::SecureHeapProperties> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_sysmem::wire::SecureHeapProperties> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem::wire::SecureHeapProperties>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem::wire::SecureHeapProperties>> && frame_ptr)
void SecureHeapProperties ()

Defined at line 501 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/wire_types.h

void SecureHeapProperties (const SecureHeapProperties & other)

Defined at line 502 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/wire_types.h

void SecureHeapProperties (SecureHeapProperties && other)

Defined at line 504 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/wire_types.h

::fuchsia_sysmem::wire::HeapType & heap ()

The HeapType is repeated here for convenience.

bool has_heap ()
bool & dynamic_protection_ranges ()

If true, more than one call to SetPhysicalSecureHeap() for the same

heap is allowed. If false, only one SetPhyscialSecureHeap() call is

allowed, and no calls to DeleteSecureHeapPhysicalRange() or

ModifySecureHeapPhysicalRange() are allowed. Even when this is false,

the SecureMem server (driver) is still responsible for de-protecting

just before warm reboot if protected ranges would not otherwise be

cleaned up during a warm reboot.

bool has_dynamic_protection_ranges ()
SecureHeapProperties & operator= (SecureHeapProperties && other)

Defined at line 505 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/wire_types.h

uint32_t & protected_range_granularity ()

The granularity of protection ranges. If the granularity of start is

different than granularity of end or length, then this is the max

granularity value among those values.

This must be a power of 2. The client must not request ranges that

specify smaller granularity.

This must be at least zx_system_page_size() even if the HW can do

smaller granularity.

bool has_protected_range_granularity ()
uint64_t & max_protected_range_count ()

The SecureMem server should not count reserved ranges that the SecureMem

server uses internally to get from range set A to range set B, if the

SecureMem server needs to do any emulation of that sort. Normally such

emulation by the SecureMem server is unnecessary. If any ranges are

reserved by the SecureMem server, those reserved ranges are not

available for use by the SecureMem client.

If the number of ranges is limited only by available memory, it's ok for

the SecureMem server to report 0xFFFFFFFFFFFFFFFF for this value. The

field must still be set. As usual, the SecureMem server should ensure

that SetPhysicalSecureHeapRanges() succeeds or fails atomically (either

fully updates or rolls back before completing).

bool has_max_protected_range_count ()
bool & is_mod_protected_range_available ()

Iff true, ModifySecureHeapPhysicalRange() is implemented. Calling

ModifySecureHeapPhysicalRange() when is_mod_protected_range_available

is false is prohibited. Don't attempt to detect availability of

ModifySecureHeapPhysicalRange() by calling it to see if it fails; it

may ZX_PANIC().

bool has_is_mod_protected_range_available ()
SecureHeapProperties & operator= (const SecureHeapProperties & other)

Defined at line 503 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/wire_types.h

SecureHeapProperties & set_heap (::fidl::ObjectView< ::fuchsia_sysmem::wire::HeapType> elem)
SecureHeapProperties & set_heap (std::nullptr_t )
SecureHeapProperties & clear_heap ()
SecureHeapProperties & set_dynamic_protection_ranges (bool elem)
SecureHeapProperties & clear_dynamic_protection_ranges ()
SecureHeapProperties & set_protected_range_granularity (uint32_t elem)
SecureHeapProperties & clear_protected_range_granularity ()
SecureHeapProperties & set_max_protected_range_count (::fidl::ObjectView<uint64_t> elem)
SecureHeapProperties & set_max_protected_range_count (std::nullptr_t )
SecureHeapProperties & clear_max_protected_range_count ()
SecureHeapProperties & set_is_mod_protected_range_available (bool elem)
SecureHeapProperties & clear_is_mod_protected_range_available ()
void SecureHeapProperties (::fidl::AnyArena & allocator)
void SecureHeapProperties (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem::wire::SecureHeapProperties>> && 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 ~SecureHeapProperties ()

Defined at line 507 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder