template <>
class WireServer
Defined at line 912 of file fidling/gen/sdk/fidl/fuchsia.hardware.gpu.mali/fuchsia.hardware.gpu.mali/cpp/fidl/fuchsia.hardware.gpu.mali/cpp/driver/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fdf::ClientEnd
<
::fuchsia_hardware_gpu_mali::ArmMali>|
and |::fdf::ServerEnd
<
::fuchsia_hardware_gpu_mali::ArmMali>|).
Public Methods
void GetProperties (fdf::Arena & arena, GetPropertiesCompleter::Sync & completer)
void EnterProtectedMode (fdf::Arena & arena, EnterProtectedModeCompleter::Sync & completer)
Cause the GPU to enter protected mode. All buses must be idle and the L2
cache cleared before executing this command.
void StartExitProtectedMode (fdf::Arena & arena, StartExitProtectedModeCompleter::Sync & completer)
Start the process of exiting protected mode. All buses must be idle and
the L2 cache cleared before executing this command. The GPU will not be
able to access any memory after this command is complete and will be
reset. The driver must wait for the reset to complete then call
FinishExitProtectedMode().
void FinishExitProtectedMode (fdf::Arena & arena, FinishExitProtectedModeCompleter::Sync & completer)
Allows the GPU to access non-protected memory. Must only be called after
StartExitProtectedMode. The RESET_COMPLETED bit in the GPU_IRQ_RAWSTAT
register must be set while this is called.
void WireServer ()
Defined at line 915 of file fidling/gen/sdk/fidl/fuchsia.hardware.gpu.mali/fuchsia.hardware.gpu.mali/cpp/fidl/fuchsia.hardware.gpu.mali/cpp/driver/wire_messaging.h
Handler bind_handler (fdf_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~WireServer ()
Defined at line 916 of file fidling/gen/sdk/fidl/fuchsia.hardware.gpu.mali/fuchsia.hardware.gpu.mali/cpp/fidl/fuchsia.hardware.gpu.mali/cpp/driver/wire_messaging.h