target-microblaze: Preserve the pvr registers during reset
commit8bac22423e4c3b70082dd6c1b492ccf21f3b5a0c
authorAlistair Francis <alistair.francis@xilinx.com>
Fri, 29 May 2015 06:30:05 +0000 (29 16:30 +1000)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Sun, 21 Jun 2015 07:20:15 +0000 (21 17:20 +1000)
treea2dba44421686bba491643d92b8cd5e7bb9a75f0
parent53432dc9ea37d3be4c8efc3023c2382e9da5334a
target-microblaze: Preserve the pvr registers during reset

Move the Microblaze PVR registers to the end of the CPUMBState
and preserve them during reset. This is similar to what the
QEMU ARM model does with some of it's registers.

This allows the Microblaze PVR registers to only be set once
at realise instead of constantly at reset.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-microblaze/cpu.c
target-microblaze/cpu.h