arch-arm: Add a shared L2 TLB to the default ArmMMU
JIRA: https://gem5.atlassian.net/browse/GEM5-790 Change-Id: I542c287a99c8b277afb4cd939c09521798dcf2f8 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48150 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -63,8 +63,12 @@ class ArmMMU(BaseMMU):
|
||||
cxx_class = 'gem5::ArmISA::MMU'
|
||||
cxx_header = 'arch/arm/mmu.hh'
|
||||
|
||||
itb = ArmTLB(entry_type="instruction")
|
||||
dtb = ArmTLB(entry_type="data")
|
||||
# L2 TLBs
|
||||
l2_shared = ArmTLB(entry_type="unified", size=1280)
|
||||
|
||||
# L1 TLBs
|
||||
itb = ArmTLB(entry_type="instruction", next_level=Parent.l2_shared)
|
||||
dtb = ArmTLB(entry_type="data", next_level=Parent.l2_shared)
|
||||
|
||||
sys = Param.System(Parent.any, "system object parameter")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user