qemu/hw/ppc
Fabien Chouteau 2cf3eb6df5 PPC: Remove env->hreset_excp_prefix
This value is not needed if we use correctly the MSR[IP] bit.

excp_prefix is always 0x00000000, except when the MSR[IP] bit is
implemented and set to 1, in that case excp_prefix is 0xfff00000.

The handling of MSR[IP] was already implemented but not used at reset
because the value of env->msr was changed "manually".

The patch uses the function hreg_store_msr() to set env->msr, this
ensures a good handling of MSR[IP] at reset, and therefore a good value
for excp_prefix.

Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-04-26 23:02:40 +02:00
..
Makefile.objs hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
e500-ccsr.h ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
e500.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
e500.h PPC: e500: Select MPIC v4.2 on ppce500 platform 2013-01-25 22:02:56 +01:00
e500plat.c PPC: e500: advertise 4.2 MPIC only if KVM supports EPR 2013-04-26 23:02:40 +02:00
mac.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mac_newworld.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mac_oldworld.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mpc8544_guts.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00
mpc8544ds.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc4xx_devs.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc4xx_pci.c hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
ppc405.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc405_boards.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
ppc405_uc.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc440_bamboo.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc_booke.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppce500_spin.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
prep.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
spapr.c PPC: Remove env->hreset_excp_prefix 2013-04-26 23:02:40 +02:00
spapr_events.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
spapr_hcall.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
spapr_iommu.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
spapr_pci.c hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
spapr_rtas.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
spapr_vio.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtex_ml507.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
xics.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00