Statistics
| Branch: | Revision:

root / target-ppc @ 8bdd3d49

Name Size
Makefile.objs 304 Bytes
STATUS 10.6 kB
cpu-qom.h 1.9 kB
cpu.h 90.5 kB
excp_helper.c 33.1 kB
fpu_helper.c 49 kB
helper.c 1.3 kB
helper.h 16.3 kB
helper_regs.h 3.3 kB
int_helper.c 56.5 kB
kvm.c 31.4 kB
kvm_ppc.c 1.1 kB
kvm_ppc.h 2.7 kB
machine.c 5.5 kB
mem_helper.c 9.3 kB
mfrom_table.c 3.3 kB
mfrom_table_gen.c 653 Bytes
misc_helper.c 3.6 kB
mmu_helper.c 101.6 kB
mpic_helper.c 1.2 kB
timebase_helper.c 4.3 kB
translate.c 360.4 kB
translate_init.c 437.8 kB

Latest revisions

# Date Author Comment
54cddd21 08/28/2012 07:49 pm Aurelien Jarno

target-ppc: fix altivec instructions

Altivec instructions are not working anymore in PowerPC emulation,
following commit d15f74fb, which inverted two registers in the call
to helper. Fix that.

Reviewed-by: Peter Maydell <>
Reviewed-by: Andreas Färber <>...

0d16fdd7 08/15/2012 10:59 pm Anthony Liguori

Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging

  • agraf/ppc-for-upstream: (24 commits)
    openpic: Added BRR1 register
    pseries: Update SLOF firmware image
    pseries dma: DMA window params added to PHB and DT population changed
    pseries: Add PCI MSI/MSI-X support...
76b64a7a 08/15/2012 09:26 pm Anthony Liguori

win32: provide separate macros for weak decls and definitions

mingw32 seems to want the declaration to also carry the weak attribute.
Strangely, gcc on Linux absolutely does not want the declaration to be marked
as weak. This may not be the right fix, but it seems to do the trick....

78e8fde2 08/15/2012 08:43 pm David Gibson

ppc: Fix bug in handling of PAPR hypercall exits

Currently for powerpc, kvm_arch_handle_exit() always returns 1, meaning
that its caller - kvm_cpu_exec() - will always exit immediately afterwards
to the loop in qemu_kvm_cpu_thread_fn().

There's no need to do this. Once we've handled the hypercall there's no...

70b7660a 08/13/2012 10:10 pm Anthony Liguori

target-ppc: add implementation of query-cpu-definitions (v2)

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

ad0ebb91 06/28/2012 12:33 am David Gibson

pseries: Convert sPAPR TCEs to use generic IOMMU infrastructure

The pseries platform already contains an IOMMU implementation, since it is
essential for the platform's paravirtualized VIO devices. This IOMMU
support is currently built into the implementation of the VIO "bus" and...

975e5463 06/24/2012 11:52 pm Stefan Weil

target-ppc: Fix build with --enable-debug

The order of the arguments was wrong (copy+paste error).

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

cfee0218 06/24/2012 11:52 pm Stefan Weil

target-ppc: Fix 2nd parameter for tcg_gen_shri_tl

This fixes a compiler error when QEMU was configured with --enable-debug.

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

ba38ab8d 06/24/2012 02:04 am Alexander Graf

PPC: BookE: Support 32 and 64 bit wide MAS2

The MAS registers on BookE are all 32 bit wide, except for MAS2, which
can hold up to 64 bit on 64 bit capable CPUs. Reflect this in the SPR
setting code, so that the guest can never write invalid values in them....

96091698 06/24/2012 02:04 am Alexander Graf

PPC: BookE206: Bump MAS2 to 64bit

On 64bit capable systems, MAS2 can actually hold a 64bit virtual page
address. So increase the mask for its EPN.

Signed-off-by: Alexander Graf <>

View revisions

Also available in: Atom