aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/cc_helper.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-09-02 15:45:32 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-09-02 15:45:32 +0100
commit4ecfea3c1e9ab1b163d1ce34e31f2f498545b420 (patch)
treebecee5edf349dc9ecc1d40f24189e7e91548afef /target-sparc/cc_helper.c
parentaaa999bc1f6d678ba60b64b240250fe03ac892df (diff)
target-arm: Make our encoding of cp regs match the kernel's
Both QEMU and the kernel have an arbitrary mapping of the (cp,is64,crn,crm,op1,op2) tuple to an integer index. Unfortunately they picked slightly different layouts. Change QEMU's mapping (knowledge of which is confined to the ENCODE_CP_REG() macro) to match the kernel's; this avoids having to do a conversion in code to save and restore registers from the kernel. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-sparc/cc_helper.c')
0 files changed, 0 insertions, 0 deletions