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 <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25984
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Adrian Herrera
2020-02-21 14:23:30 +00:00
committed by Giacomo Travaglini
parent 873ca61730
commit cc222aefd8

View File

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