target/arm: Create ARMVAParameters and helpers
commitba97be9f4a4ecaf16a1454dc669e5f3d935d3b63
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 21 Jan 2019 10:23:12 +0000 (21 10:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jan 2019 10:38:54 +0000 (21 10:38 +0000)
tree5b9c5244612270aa560c4ea827673c45c152eabd
parent64be86ab1b5ef10b660a4230ee7f27c0da499043
target/arm: Create ARMVAParameters and helpers

Split out functions to extract the virtual address parameters.
Let the functions choose T0 or T1 address space half, if present.
Extract (most of) the control bits that vary between EL or Tx.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20190108223129.5570-19-richard.henderson@linaro.org
[PMM: fixed minor checkpatch comment nits]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
target/arm/internals.h