Giacomo Travaglini has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/39696 )

Change subject: dev-arm: Add a fake SP810 to the VExpress_GEM5_Foundation
......................................................................

dev-arm: Add a fake SP810 to the VExpress_GEM5_Foundation

The device is part of the FVP Foundation Platform:

https://static.docs.arm.com/100961/1190/armv8_a_fp_ug_100961_1190_00_en.pdf

Change-Id: I81c11312f29d8e59ac5f8ce2fe165d9474027d82
Signed-off-by: Giacomo Travaglini <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39696
Reviewed-by: Andreas Sandberg <[email protected]>
Maintainer: Andreas Sandberg <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/dev/arm/RealView.py
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Andreas Sandberg: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index c168cfd..0c65ff2 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -1363,6 +1363,8 @@
         AddrRange(0x40000000, 0x80000000),
     ]

+    sp810_fake = AmbaFake(pio_addr=0x1C020000, ignore_access=True)
+
     gic = Gicv3(dist_addr=0x2f000000, redist_addr=0x2f100000,
                 maint_int=ArmPPI(num=25), gicv4=False,
                 its=NULL)
@@ -1378,6 +1380,11 @@
                 self.gic
             ]

+    def _off_chip_devices(self):
+ return super(VExpress_GEM5_Foundation, self)._off_chip_devices() + [
+                self.sp810_fake,
+        ]
+
     def setupBootLoader(self, cur_sys, loc, boot_loader=None):
         if boot_loader is None:
             boot_loader = [ loc('boot_v2.arm64') ]

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/39696
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I81c11312f29d8e59ac5f8ce2fe165d9474027d82
Gerrit-Change-Number: 39696
Gerrit-PatchSet: 2
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to