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:
Emily Brickey
2020-08-04 12:20:06 -07:00
committed by Shivani Parekh
parent c02599a70d
commit 34ee6af3e8
7 changed files with 11 additions and 11 deletions

View File

@@ -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")

View File

@@ -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")

View File

@@ -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")

View File

@@ -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:

View File

@@ -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')

View File

@@ -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")

View File

@@ -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: