arch: update port terminology
Change-Id: Ifcf90534d8e5ff5fc68538ec87dc541517ea404d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32311 Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Shivani Parekh
parent
c02599a70d
commit
34ee6af3e8
@@ -54,7 +54,7 @@ class ArmTableWalker(ClockedObject):
|
||||
# to the Stage2MMU, and shared by the two table walkers, but we
|
||||
# access it through the ITB and DTB walked objects in the CPU for
|
||||
# symmetry with the other ISAs.
|
||||
port = MasterPort("Port used by the two table walkers")
|
||||
port = RequestPort("Port used by the two table walkers")
|
||||
|
||||
sys = Param.System(Parent.any, "system object parameter")
|
||||
|
||||
|
||||
@@ -34,4 +34,4 @@ class BaseTLB(SimObject):
|
||||
cxx_header = "arch/generic/tlb.hh"
|
||||
# Ports to connect with other TLB levels
|
||||
slave = VectorSlavePort("Port closer to the CPU side")
|
||||
master = MasterPort("Port closer to memory side")
|
||||
master = RequestPort("Port closer to memory side")
|
||||
|
||||
@@ -37,7 +37,7 @@ class RiscvPagetableWalker(ClockedObject):
|
||||
type = 'RiscvPagetableWalker'
|
||||
cxx_class = 'RiscvISA::Walker'
|
||||
cxx_header = 'arch/riscv/pagetable_walker.hh'
|
||||
port = MasterPort("Port for the hardware table walker")
|
||||
port = RequestPort("Port for the hardware table walker")
|
||||
system = Param.System(Parent.any, "system object")
|
||||
num_squash_per_cycle = Param.Unsigned(4,
|
||||
"Number of outstanding walks that can be squashed per cycle")
|
||||
|
||||
@@ -58,11 +58,11 @@ namespace RiscvISA
|
||||
{
|
||||
protected:
|
||||
// Port for accessing memory
|
||||
class WalkerPort : public MasterPort
|
||||
class WalkerPort : public RequestPort
|
||||
{
|
||||
public:
|
||||
WalkerPort(const std::string &_name, Walker * _walker) :
|
||||
MasterPort(_name, _walker), walker(_walker)
|
||||
RequestPort(_name, _walker), walker(_walker)
|
||||
{}
|
||||
|
||||
protected:
|
||||
|
||||
@@ -48,11 +48,11 @@ class X86LocalApic(BaseInterrupts):
|
||||
type = 'X86LocalApic'
|
||||
cxx_class = 'X86ISA::Interrupts'
|
||||
cxx_header = 'arch/x86/interrupts.hh'
|
||||
int_master = MasterPort("Port for sending interrupt messages")
|
||||
int_slave = SlavePort("Port for receiving interrupt messages")
|
||||
int_master = RequestPort("Port for sending interrupt messages")
|
||||
int_slave = ResponsePort("Port for receiving interrupt messages")
|
||||
int_latency = Param.Latency('1ns', \
|
||||
"Latency for an interrupt to propagate through this device.")
|
||||
pio = SlavePort("Programmed I/O port")
|
||||
pio = ResponsePort("Programmed I/O port")
|
||||
system = Param.System(Parent.any, "System this device is part of")
|
||||
|
||||
pio_latency = Param.Latency('100ns', 'Programmed IO latency')
|
||||
|
||||
@@ -43,7 +43,7 @@ class X86PagetableWalker(ClockedObject):
|
||||
type = 'X86PagetableWalker'
|
||||
cxx_class = 'X86ISA::Walker'
|
||||
cxx_header = 'arch/x86/pagetable_walker.hh'
|
||||
port = MasterPort("Port for the hardware table walker")
|
||||
port = RequestPort("Port for the hardware table walker")
|
||||
system = Param.System(Parent.any, "system object")
|
||||
num_squash_per_cycle = Param.Unsigned(4,
|
||||
"Number of outstanding walks that can be squashed per cycle")
|
||||
|
||||
@@ -57,11 +57,11 @@ namespace X86ISA
|
||||
{
|
||||
protected:
|
||||
// Port for accessing memory
|
||||
class WalkerPort : public MasterPort
|
||||
class WalkerPort : public RequestPort
|
||||
{
|
||||
public:
|
||||
WalkerPort(const std::string &_name, Walker * _walker) :
|
||||
MasterPort(_name, _walker), walker(_walker)
|
||||
RequestPort(_name, _walker), walker(_walker)
|
||||
{}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user