arch-arm: Adapting IllegalExecution fault for AArch32
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 29 May 2018 21:09:39 +0000 (22:09 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 14 Jun 2018 13:45:49 +0000 (13:45 +0000)
commit96554eca9f7731f6f5e56f9f29c933e230e34bd8
tree7f28fa6058ae42819e812f01329ec8836ad60d7f
parentfe8faa62b74087febe227f69385db3e562682799
arch-arm: Adapting IllegalExecution fault for AArch32

The Illegal Execution fault triggered by the setting of processor state
PSTATE.IL happens in AArch32 as well and takes the form of UNDEFINED
exception fault.  We are hence copying the UndefinedInstruction AArch32
fields into the IllegalInstSetStateFault.

Change-Id: Ibb7424397c2030ea5d010577c530277a27036aea
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10814
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/faults.cc