qualcomm/qbox
Loading...
Searching...
No Matches
vnc Class Reference

VNC module as a SystemC module. More...

#include <vnc.h>

Inheritance diagram for vnc:
Collaboration diagram for vnc:

Public Member Functions

 vnc (const sc_core::sc_module_name &name, sc_core::sc_object *gpu)
 Construct a new VNC module.

Public Attributes

cci::cci_param< std::string > p_params
cci::cci_param< int > p_gpu_output

Protected Attributes

std::string m_qemu_opts
std::string m_gpu_device_id
std::vector< std::string > m_spoofed_options = { ":", "head=", "display=" }
QemuDevice * m_gpu

Detailed Description

VNC module as a SystemC module.

This class manages a VNC connection as an independent SystemC module.

It performs the following tasks:

  • Configures the display number/head index
  • Passes optional VNC configuration items to libqemu
  • Initializes the VNC server with the GPU device

Constructor & Destructor Documentation

◆ vnc()

vnc::vnc ( const sc_core::sc_module_name & name,
sc_core::sc_object * gpu )

Construct a new VNC module.

Parameters
[in]nameSystemC module name
[in]gpuGPU device associated with this VNC connection

The documentation for this class was generated from the following files:
  • qemu-components/vnc/include/vnc.h
  • qemu-components/vnc/src/vnc.cc