qualcomm/qbox
Loading...
Searching...
No Matches
virtio_gpu_gl_pci.h
1/*
2 * This file is part of libqbox
3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
4 * Author: GreenSocs 2021
5 *
6 * SPDX-License-Identifier: BSD-3-Clause
7 */
8
9#ifndef _LIBQBOX_COMPONENTS_VIRTIO_GPU_GL_PCI_H
10#define _LIBQBOX_COMPONENTS_VIRTIO_GPU_GL_PCI_H
11
12#include <module_factory_registery.h>
13
14#include <virtio_gpu.h>
15
16class virtio_gpu_gl_pci : public QemuVirtioGpu
17{
18private:
19 static constexpr const char* _device_type = "virtio-gpu-gl-pci";
20
21public:
22 virtio_gpu_gl_pci(const sc_core::sc_module_name& name, sc_core::sc_object* o, sc_core::sc_object* t);
23 virtio_gpu_gl_pci(const sc_core::sc_module_name& name, QemuInstance& inst, qemu_gpex* gpex);
24
25 void before_end_of_elaboration() override;
26};
27
28extern "C" void module_register();
29#endif // _LIBQBOX_COMPONENTS_VIRTIO_GPU_GL_PCI_H
This class encapsulates a libqemu-cxx qemu::LibQemu instance. It handles QEMU parameters and instance...
Definition qemu-instance.h:89