qemu-e2k/target-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
..
cpu-models.c target-ppc: Remove vestigial PowerPC 620 support 2013-03-22 15:28:46 +01:00
cpu-models.h
cpu-qom.h target-ppc: Use QOM method dispatch for MMU fault handling 2013-03-22 15:28:53 +01:00
cpu.h PPC: Remove env->hreset_excp_prefix 2013-04-26 23:02:40 +02:00
excp_helper.c cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01:00
fpu_helper.c PPC/GDB: handle read and write of fpscr 2013-03-22 15:28:46 +01:00
helper_regs.h cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
helper.h target-ppc: Remove vestigial PowerPC 620 support 2013-03-22 15:28:46 +01:00
int_helper.c
kvm_ppc.c
kvm_ppc.h PPC: e500: advertise 4.2 MPIC only if KVM supports EPR 2013-04-26 23:02:40 +02:00
kvm.c PPC: e500: advertise 4.2 MPIC only if KVM supports EPR 2013-04-26 23:02:40 +02:00
machine.c PPC: Remove env->hreset_excp_prefix 2013-04-26 23:02:40 +02:00
Makefile.objs target-ppc: Split user only code out of mmu_helper.c 2013-03-22 15:28:53 +01:00
mem_helper.c target-ppc: Move ppc tlb_fill implementation into mmu_helper.c 2013-03-22 15:28:53 +01:00
mfrom_table_gen.c
mfrom_table.c
misc_helper.c target-ppc: Remove vestigial PowerPC 620 support 2013-03-22 15:28:46 +01:00
mmu_helper.c target-ppc: Use QOM method dispatch for MMU fault handling 2013-03-22 15:28:53 +01:00
mmu-hash32.c mmu-hash*: Merge translate and fault handling functions 2013-03-22 15:28:53 +01:00
mmu-hash32.h mmu-hash32: Clean up BAT matching logic 2013-03-22 15:28:51 +01:00
mmu-hash64.c mmu-hash64: Implement Virtual Page Class Key Protection 2013-03-22 15:28:53 +01:00
mmu-hash64.h mmu-hash64: Implement Virtual Page Class Key Protection 2013-03-22 15:28:53 +01:00
STATUS
timebase_helper.c
translate_init.c PPC: Remove env->hreset_excp_prefix 2013-04-26 23:02:40 +02:00
translate.c target-ppc: Use NARROW_MODE macro for tlbie 2013-03-22 15:28:54 +01:00
user_only_helper.c target-ppc: Split user only code out of mmu_helper.c 2013-03-22 15:28:53 +01:00