OSDN Git Service

target/arm: Allow deliver_fault() caller to specify EA bit
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 14:21:55 +0000 (15:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 16:13:53 +0000 (17:13 +0100)
commitc528af7aa64f159eb30b46e567b650c5440fc117
tree006b0e01b0e35a4096c6e30c2f27d2ceafbdac90
parentaac43da1d772a50778ab1252c13c08c2eb31fb39
target/arm: Allow deliver_fault() caller to specify EA bit

For external aborts, we will want to be able to specify the EA
(external abort type) bit in the syndrome field.  Allow callers of
deliver_fault() to do that by adding a field to ARMMMUFaultInfo which
we use when constructing the syndrome values.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target/arm/internals.h
target/arm/op_helper.c