From: Adrian Herrera Date: Mon, 25 Nov 2019 15:09:22 +0000 (+0000) Subject: dev-arm: default _on_chip_memory on RealView X-Git-Tag: v20.0.0.0~462 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=016d3159edaa8db929406a06cb3cd3f41cf6c69f;p=gem5.git dev-arm: default _on_chip_memory on RealView The _on_chip_memory member function is utilised at RealView level, but it does not provide a default implementation. This assumes all platforms extending RealView have on-chip memory. This patch provides a default implementation for safeness. Change-Id: Iaaa2bee7a85653ee97bfa95b50047eb350a88b58 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25643 Reviewed-by: Ciro Santilli Maintainer: Giacomo Travaglini Tested-by: kokoro --- diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 8b03a1dfa..9a90c9eda 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -600,6 +600,9 @@ class RealView(Platform): def _off_chip_devices(self): return [] + def _on_chip_memory(self): + return [] + _off_chip_ranges = [] def _attach_memory(self, mem, bus, mem_ports=None):