quic/qbox
|
An alias to a DMI region. More...
#include <dmi-manager.h>
Public Types | |
using | Ptr = std::shared_ptr< DmiRegionAlias > |
Public Member Functions | |
DmiRegionAlias (qemu::MemoryRegion &root, const tlm::tlm_dmi &info, qemu::LibQemu &inst) | |
DmiRegionAlias (DmiRegionAlias &&)=delete | |
uint64_t | get_start () const |
uint64_t | get_end () const |
uint64_t | get_size () const |
qemu::MemoryRegion | get_alias_mr () const |
unsigned char * | get_dmi_ptr () const |
void | set_installed () |
Mark the alias as mapped onto QEMU root MR. | |
bool | is_installed () const |
Return true if the alias is mapped onto QEMU root MR. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const DmiRegionAlias &alias) |
An alias to a DMI region.
An object of this class represents an alias to a DMI region a CPU can map on its own address space. Contrary to a DmiRegion, it has a start and an end address as it it requested from the point of view of an initiator's address map.
|
inline |
Return true if the alias is mapped onto QEMU root MR.
|
inline |
Mark the alias as mapped onto QEMU root MR.