From 016d3159edaa8db929406a06cb3cd3f41cf6c69f Mon Sep 17 00:00:00 2001 From: Adrian Herrera Date: Mon, 25 Nov 2019 15:09:22 +0000 Subject: [PATCH] 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 --- src/dev/arm/RealView.py | 3 +++ 1 file changed, 3 insertions(+) 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): -- 2.30.2