quic/qbox
Loading...
Searching...
No Matches
qemu-components
common
include
virtio
virtio-mmio-gpugl.h
1
/*
2
* This file is part of libqbox
3
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All Rights Reserved.
4
*
5
* SPDX-License-Identifier: BSD-3-Clause
6
*/
7
8
#pragma once
9
10
#include <vector>
11
12
#include <cci_configuration>
13
14
#include <device.h>
15
#include <ports/target.h>
16
#include <ports/qemu-initiator-signal-socket.h>
17
#include <virtio/virtio-mmio.h>
18
19
class
QemuVirtioMMIOGpuGl
:
public
QemuVirtioMMIO
20
{
21
private
:
22
public
:
23
QemuVirtioMMIOGpuGl
(sc_core::sc_module_name
nm
,
QemuInstance
& inst)
24
:
QemuVirtioMMIO
(
nm
, inst,
"virtio-gpu-gl-device"
)
25
{
26
}
27
28
void
before_end_of_elaboration()
override
29
{
30
QemuVirtioMMIO::before_end_of_elaboration();
31
virtio_mmio_device.get_qemu_dev().set_prop_bool(
"force-legacy"
,
false
);
32
}
33
};
QemuInstance
This class encapsulates a libqemu-cxx qemu::LibQemu instance. It handles QEMU parameters and instance...
Definition
qemu-instance.h:89
QemuTargetSocket
Definition
target.h:160
QemuVirtioMMIOGpuGl
Definition
virtio-mmio-gpugl.h:20
QemuVirtioMMIO
Definition
virtio-mmio.h:23
Generated by
1.9.8