class Heap

Defined at line 41 of file ../../src/graphics/drivers/misc/goldfish_control/heap.h

LLCPP synchronous server of a goldfish device-local Fuchsia sysmem Heap

interface.

Each Heap service runs on its own thread and has its own async loop.

Public Methods

void ~Heap ()

Defined at line 34 of file ../../src/graphics/drivers/misc/goldfish_control/heap.cc

void AllocateVmo (AllocateVmoRequestView request, AllocateVmoCompleter::Sync & completer)

|fidl::WireServer

<fuchsia

_sysmem2::Heap>|

void DeleteVmo (DeleteVmoRequestView request, DeleteVmoCompleter::Sync & completer)

|fidl::WireServer

<fuchsia

_sysmem2::Heap>|

void Bind (zx::channel server_request)

Bind the server to a FIDL channel.

The server should not be bound to any channel when Bind() is called.

Protected Methods

void Heap (Control * control, const char * tag)

This constructor is used only by its subclasses. To create a Heap

instance, use |Create()| static method of each subclass instead.

Defined at line 23 of file ../../src/graphics/drivers/misc/goldfish_control/heap.cc

void BindWithHeapProperties (zx::channel server_request, std::unique_ptr<fidl::Arena<512>> allocator, fuchsia_hardware_sysmem::wire::HeapProperties heap_properties)

This helper method is used only by subclasses to bind to sysmem using

given channel and send |heap_properties| to sysmem.

Defined at line 36 of file ../../src/graphics/drivers/misc/goldfish_control/heap.cc

Control * control ()

Defined at line 67 of file ../../src/graphics/drivers/misc/goldfish_control/heap.h

async::Loop * loop ()

Defined at line 69 of file ../../src/graphics/drivers/misc/goldfish_control/heap.h