arch-arm: Fixed WFE/WFI trapping behaviour
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 1 Dec 2017 16:25:55 +0000 (16:25 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 21 Dec 2017 13:25:24 +0000 (13:25 +0000)
commit7df83c94da53f8d04367cb472be8f7f947f94234
tree0ca945b489931f3503ea122622d053fee353baf7
parent0049df179f3b5f57218b91e98390c1aacaa27c2e
arch-arm: Fixed WFE/WFI trapping behaviour

This patch fixes the WFx trapping behaviour by introducing the arm arm
v8 pseudocode functions: checkForWFxTrap32 and checkForWFxTrap64

Change-Id: I3db0d78b5c4ad46860e6d199c2f2fc7b41842840
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/6622
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/insts/static_inst.cc
src/arch/arm/insts/static_inst.hh
src/arch/arm/isa/insts/misc.isa