gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
BackingStoreEntry Class Reference

A single entry for the backing store. More...

#include <physical.hh>

Public Member Functions

 BackingStoreEntry (AddrRange range, uint8_t *pmem, bool conf_table_reported, bool in_addr_map, bool kvm_map)
 Create a backing store entry. More...
 

Public Attributes

AddrRange range
 The address range covered in the guest. More...
 
uint8_t * pmem
 Pointer to the host memory this range maps to. More...
 
bool confTableReported
 Whether this memory should be reported to the configuration table. More...
 
bool inAddrMap
 Whether this memory should appear in the global address map. More...
 
bool kvmMap
 Whether KVM should map this memory into the guest address space during acceleration. More...
 

Detailed Description

A single entry for the backing store.

Definition at line 52 of file physical.hh.

Constructor & Destructor Documentation

◆ BackingStoreEntry()

BackingStoreEntry::BackingStoreEntry ( AddrRange  range,
uint8_t *  pmem,
bool  conf_table_reported,
bool  in_addr_map,
bool  kvm_map 
)
inline

Create a backing store entry.

Don't worry about managing the memory pointers, because PhysicalMemory is responsible for that.

Definition at line 60 of file physical.hh.

Member Data Documentation

◆ confTableReported

bool BackingStoreEntry::confTableReported

Whether this memory should be reported to the configuration table.

Definition at line 80 of file physical.hh.

◆ inAddrMap

bool BackingStoreEntry::inAddrMap

Whether this memory should appear in the global address map.

Definition at line 85 of file physical.hh.

◆ kvmMap

bool BackingStoreEntry::kvmMap

Whether KVM should map this memory into the guest address space during acceleration.

Definition at line 91 of file physical.hh.

◆ pmem

uint8_t* BackingStoreEntry::pmem

Pointer to the host memory this range maps to.

This memory is the same size as the range field.

Definition at line 75 of file physical.hh.

◆ range

AddrRange BackingStoreEntry::range

The address range covered in the guest.

Definition at line 69 of file physical.hh.


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:02:21 for gem5 by doxygen 1.8.17