From d1d7690123ab2deb9e36ea2b53efe56395ed7632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Porquet-Lupine?= Date: Wed, 20 Jul 2022 15:29:39 -0700 Subject: [PATCH] python: update IRQ mapping in LupV board MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Match IRQ map of QEMU LupV platform. Change-Id: I2a17250343032bdebdf92b9a47a3b5f7a9b6b917 Signed-off-by: Joël Porquet-Lupine Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/61532 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- src/python/gem5/components/boards/experimental/lupv_board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/gem5/components/boards/experimental/lupv_board.py b/src/python/gem5/components/boards/experimental/lupv_board.py index 12836e45f6..8d757f9e76 100644 --- a/src/python/gem5/components/boards/experimental/lupv_board.py +++ b/src/python/gem5/components/boards/experimental/lupv_board.py @@ -110,7 +110,7 @@ class LupvBoard(AbstractSystemBoard, KernelDiskWorkload): self._excep_code = { 'INT_SOFT_SUPER': 1, 'INT_TIMER_SUPER': 5, 'INT_TIMER_MACHINE': 7, 'INT_EXT_SUPER': 9, 'INT_EXT_MACHINE': 10 } - self._int_ids = { 'TTY': 1, 'BLK': 2, 'RNG': 3} + self._int_ids = { 'TTY': 0, 'BLK': 1, 'RNG': 2} # CLINT self.clint = Clint(pio_addr=0x2000000)