dev-arm: Add a PL111 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: I91226cb10a3be50c59e32288b3643c550e8b538d Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39697 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -1365,6 +1365,8 @@ class VExpress_GEM5_Foundation(VExpress_GEM5_Base):
|
||||
|
||||
sp810_fake = AmbaFake(pio_addr=0x1C020000, ignore_access=True)
|
||||
|
||||
clcd = Pl111(pio_addr=0x1c1f0000, interrupt=ArmSPI(num=46))
|
||||
|
||||
gic = Gicv3(dist_addr=0x2f000000, redist_addr=0x2f100000,
|
||||
maint_int=ArmPPI(num=25), gicv4=False,
|
||||
its=NULL)
|
||||
@@ -1382,6 +1384,7 @@ class VExpress_GEM5_Foundation(VExpress_GEM5_Base):
|
||||
|
||||
def _off_chip_devices(self):
|
||||
return super(VExpress_GEM5_Foundation, self)._off_chip_devices() + [
|
||||
self.clcd,
|
||||
self.sp810_fake,
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user