gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ArmISA::mpam::PartitionFieldExtension Class Reference

#include <mpam.hh>

Inheritance diagram for gem5::ArmISA::mpam::PartitionFieldExtension:
gem5::Extension< Request, PartitionFieldExtension > gem5::ExtensionBase

Public Member Functions

std::unique_ptr< ExtensionBaseclone () const override
 
 PartitionFieldExtension ()=default
 
uint64_t getPartitionID () const
 _partitionID getter
 
uint64_t getPartitionMonitoringID () const
 _partitionMonitoringID getter
 
bool getMpamNS () const
 MPAM_NS getter.
 
void setPartitionID (uint64_t id)
 _partitionID setter
 
void setPartitionMonitoringID (uint64_t id)
 _partitionMonitoringID setter
 
void setMpamNS (bool ns)
 MPAM_NS setter.
 
- Public Member Functions inherited from gem5::Extension< Request, PartitionFieldExtension >
 Extension ()
 
- Public Member Functions inherited from gem5::ExtensionBase
 ExtensionBase (const unsigned int id)
 
virtual ~ExtensionBase ()=default
 
unsigned int getExtensionID () const
 

Private Attributes

uint64_t _partitionID = DEFAULT_PARTITION_ID
 
uint64_t _partitionMonitoringID = DEFAULT_PARTITION_MONITORING_ID
 
bool _ns = true
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::ExtensionBase
static unsigned int maxNumExtensions ()
 
- Static Public Attributes inherited from gem5::Extension< Request, PartitionFieldExtension >
static const unsigned int extensionID
 

Detailed Description

Definition at line 51 of file mpam.hh.

Constructor & Destructor Documentation

◆ PartitionFieldExtension()

gem5::ArmISA::mpam::PartitionFieldExtension::PartitionFieldExtension ( )
default

Member Function Documentation

◆ clone()

std::unique_ptr< ExtensionBase > gem5::ArmISA::mpam::PartitionFieldExtension::clone ( ) const
overridevirtual

Implements gem5::ExtensionBase.

Definition at line 56 of file mpam.cc.

◆ getMpamNS()

bool gem5::ArmISA::mpam::PartitionFieldExtension::getMpamNS ( ) const

MPAM_NS getter.

Returns
True if targeting Non-Secure MPAM partition

Definition at line 74 of file mpam.cc.

References _ns.

◆ getPartitionID()

uint64_t gem5::ArmISA::mpam::PartitionFieldExtension::getPartitionID ( ) const

_partitionID getter

Returns
extension Partition ID

Definition at line 62 of file mpam.cc.

References _partitionID.

Referenced by gem5::mpam::MSC::readPacketPartitionID().

◆ getPartitionMonitoringID()

uint64_t gem5::ArmISA::mpam::PartitionFieldExtension::getPartitionMonitoringID ( ) const

_partitionMonitoringID getter

Returns
extension Partition Monitoring ID

Definition at line 68 of file mpam.cc.

References _partitionMonitoringID.

◆ setMpamNS()

void gem5::ArmISA::mpam::PartitionFieldExtension::setMpamNS ( bool ns)

MPAM_NS setter.

Parameters
nsTrue if targeting Non-Secure MPAM partition

Definition at line 92 of file mpam.cc.

References _ns, and gem5::ArmISA::ns.

◆ setPartitionID()

void gem5::ArmISA::mpam::PartitionFieldExtension::setPartitionID ( uint64_t id)

_partitionID setter

Parameters
idPartition ID to set for the extension

Definition at line 80 of file mpam.cc.

References _partitionID, and gem5::ArmISA::id.

◆ setPartitionMonitoringID()

void gem5::ArmISA::mpam::PartitionFieldExtension::setPartitionMonitoringID ( uint64_t id)

_partitionMonitoringID setter

Parameters
idPartition Monitoring ID to set for the extension

Definition at line 86 of file mpam.cc.

References _partitionMonitoringID, and gem5::ArmISA::id.

Member Data Documentation

◆ _ns

bool gem5::ArmISA::mpam::PartitionFieldExtension::_ns = true
private

Definition at line 98 of file mpam.hh.

Referenced by getMpamNS(), and setMpamNS().

◆ _partitionID

uint64_t gem5::ArmISA::mpam::PartitionFieldExtension::_partitionID = DEFAULT_PARTITION_ID
private

Definition at line 96 of file mpam.hh.

Referenced by getPartitionID(), and setPartitionID().

◆ _partitionMonitoringID

uint64_t gem5::ArmISA::mpam::PartitionFieldExtension::_partitionMonitoringID = DEFAULT_PARTITION_MONITORING_ID
private

Definition at line 97 of file mpam.hh.

Referenced by getPartitionMonitoringID(), and setPartitionMonitoringID().


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

Generated on Tue Jun 18 2024 16:24:17 for gem5 by doxygen 1.11.0