From: Giacomo Travaglini Date: Wed, 13 Jan 2021 14:28:03 +0000 (+0000) Subject: dev-arm: Add VRAM to VExpress_GEM5_Base X-Git-Tag: develop-gem5-snapshot~104 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2b0cecef948163818d0df56a6a4bd63bdd20769;p=gem5.git dev-arm: Add VRAM to VExpress_GEM5_Base Change-Id: Ibd3ae59730c6d00a6bd8b129f973b79a565f66e4 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40973 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro --- diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 8969bc007..7caa203eb 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -964,7 +964,11 @@ Memory map: 0x10020000-0x1002ffff: gem5 MHU 0x14000000-0x17ffffff: Reserved (Off-chip, PSRAM, CS1) - 0x18000000-0x1bffffff: Reserved (Off-chip, Peripherals, CS2) + + 0x18000000-0x1bffffff: Off-chip, Peripherals, CS2 + 0x18000000-0x19ffffff: VRAM + 0x1a000000-0x1bffffff: Reserved + 0x1c000000-0x1fffffff: Peripheral block 1 (Off-chip, CS3): 0x1c010000-0x1c01ffff: realview_io (VE system control regs.) 0x1c060000-0x1c06ffff: KMI0 (keyboard) @@ -1171,6 +1175,10 @@ Interrupts: flash1 = SimpleMemory(range=AddrRange(0x0c000000, 0x10000000), conf_table_reported=False) + # VRAM + vram = SimpleMemory(range=AddrRange(0x18000000, size='32MB'), + conf_table_reported=False) + def _off_chip_devices(self): return [ self.realview_io, @@ -1190,6 +1198,7 @@ Interrupts: def _off_chip_memory(self): return [ self.flash1, + self.vram, ] def __init__(self, **kwargs):