From 5a72d77fa5ff80c5d7d4d35791a84ce7ee46f0f0 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Thu, 15 Feb 2018 13:31:52 +0000 Subject: [PATCH] arch-arm: Enable Debug IFSC when faulting to aarch64 mode Previous code was aborting simulation when a debug exception taken in aarch64 mode was encountered. This because an invalid (0xff) instruction fault status code was produced. Change-Id: I289f93f672be70cfbdc404be536809835160bdaf Signed-off-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/8363 Maintainer: Andreas Sandberg --- src/arch/arm/faults.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/arm/faults.cc b/src/arch/arm/faults.cc index a1952d664..a048fa8b2 100644 --- a/src/arch/arm/faults.cc +++ b/src/arch/arm/faults.cc @@ -177,7 +177,7 @@ uint8_t ArmFault::aarch64FaultSources[] = { 0x0d, // PermissionL1 0x0e, // PermissionL2 0x0f, // PermissionL3 - 0xff, // DebugEvent (INVALID) + 0x22, // DebugEvent 0x10, // SynchronousExternalAbort 0x30, // TLBConflictAbort 0x18, // SynchPtyErrOnMemoryAccess -- 2.30.2