From: Adrian Herrera Date: Fri, 21 Feb 2020 14:23:30 +0000 (+0000) Subject: dev-arm: Add trusted SRAM memory to VExpress_GEM5 platform X-Git-Tag: v20.0.0.0~444 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc222aefd81033a77953612802198badbec7f8cf;p=gem5.git dev-arm: Add trusted SRAM memory to VExpress_GEM5 platform This memory is present in the VE RS1 memory map when security is enabled Change-Id: I2e4fb95c2124d6e60b556903acb17fc4b1dba1a3 Signed-off-by: Giacomo Travaglini Reviewed-by: Ciro Santilli Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25984 Tested-by: kokoro --- diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index b9bb0d89e..fb9173128 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -974,6 +974,10 @@ Interrupts: flash0 = SimpleMemory(range=AddrRange(0x08000000, size='64MB'), conf_table_reported=False) + # Trusted SRAM + trusted_sram = SimpleMemory(range=AddrRange(0x04000000, size='256kB'), + conf_table_reported=False) + # Platform control device (off-chip) realview_io = RealViewCtrl(proc_id0=0x14000000, proc_id1=0x14000000, idreg=0x02250000, pio_addr=0x1c010000) @@ -997,6 +1001,7 @@ Interrupts: def _on_chip_memory(self): memories = [ self.bootmem, + self.trusted_sram, self.flash0, ] return memories