arch-arm, dev-arm: Fix typo in PartitionFieldExtention name
Rename PartitionFieldExtention into PartitionFieldExtension Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Change-Id: I8072adf78d81b94c5b8bc61a317c0238cf0a9fd9
This commit is contained in:
@@ -41,31 +41,31 @@ namespace gem5::ArmISA::mpam
|
||||
{
|
||||
|
||||
std::unique_ptr<ExtensionBase>
|
||||
PartitionFieldExtention::clone() const
|
||||
PartitionFieldExtension::clone() const
|
||||
{
|
||||
return std::make_unique<PartitionFieldExtention>(*this);
|
||||
return std::make_unique<PartitionFieldExtension>(*this);
|
||||
}
|
||||
|
||||
uint64_t
|
||||
PartitionFieldExtention::getPartitionID() const
|
||||
PartitionFieldExtension::getPartitionID() const
|
||||
{
|
||||
return this->_partitionID;
|
||||
}
|
||||
|
||||
uint64_t
|
||||
PartitionFieldExtention::getPartitionMonitoringID() const
|
||||
PartitionFieldExtension::getPartitionMonitoringID() const
|
||||
{
|
||||
return this->_partitionMonitoringID;
|
||||
}
|
||||
|
||||
void
|
||||
PartitionFieldExtention::setPartitionID(uint64_t id)
|
||||
PartitionFieldExtension::setPartitionID(uint64_t id)
|
||||
{
|
||||
this->_partitionID = id;
|
||||
}
|
||||
|
||||
void
|
||||
PartitionFieldExtention::setPartitionMonitoringID(uint64_t id)
|
||||
PartitionFieldExtension::setPartitionMonitoringID(uint64_t id)
|
||||
{
|
||||
this->_partitionMonitoringID = id;
|
||||
}
|
||||
|
||||
@@ -48,12 +48,12 @@ namespace gem5::ArmISA::mpam
|
||||
const uint64_t DEFAULT_PARTITION_ID = 0;
|
||||
const uint64_t DEFAULT_PARTITION_MONITORING_ID = 0;
|
||||
|
||||
class PartitionFieldExtention : public Extension<Request,
|
||||
PartitionFieldExtention>
|
||||
class PartitionFieldExtension : public Extension<Request,
|
||||
PartitionFieldExtension>
|
||||
{
|
||||
public:
|
||||
std::unique_ptr<ExtensionBase> clone() const override;
|
||||
PartitionFieldExtention() = default;
|
||||
PartitionFieldExtension() = default;
|
||||
|
||||
/**
|
||||
* _partitionID getter
|
||||
|
||||
@@ -44,8 +44,8 @@ namespace gem5::mpam
|
||||
uint64_t
|
||||
MSC::readPacketPartitionID(PacketPtr pkt) const
|
||||
{
|
||||
// get partition_id from PartitionFieldExtention
|
||||
auto ext = pkt->req->getExtension<ArmISA::mpam::PartitionFieldExtention>();
|
||||
// get partition_id from PartitionFieldExtension
|
||||
auto ext = pkt->req->getExtension<ArmISA::mpam::PartitionFieldExtension>();
|
||||
// use default value if extension is not set
|
||||
return (ext != nullptr) ? ext->getPartitionID() :
|
||||
ArmISA::mpam::DEFAULT_PARTITION_ID;
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace partitioning_policy
|
||||
* PartitionID to it. The way the partition ID is attached/extracted
|
||||
* from the request depends on the partitioning manager.
|
||||
*
|
||||
* See the use of the PartitionFieldExtention in Arm as an example.
|
||||
* See the use of the PartitionFieldExtension in Arm as an example.
|
||||
*
|
||||
* When partitioning policies are in place, the allocatable cache blocks for
|
||||
* this memory request will be filtered based on its PartitionID.
|
||||
|
||||
Reference in New Issue
Block a user