Statistics
| Branch: | Revision:

root / target-ppc @ 80465e80

Name Size
STATUS 10.6 kB
cpu-qom.h 1.9 kB
cpu.h 89.6 kB
helper.c 103.2 kB
helper.h 14.9 kB
helper_regs.h 3.3 kB
kvm.c 25.3 kB
kvm_ppc.c 1.1 kB
kvm_ppc.h 2.6 kB
machine.c 5.5 kB
mfrom_table.c 3.3 kB
mfrom_table_gen.c 653 Bytes
op_helper.c 135.8 kB
translate.c 354.4 kB
translate_init.c 432.2 kB

Latest revisions

# Date Author Comment
45e45ed2 04/15/2012 07:23 pm Juan Quintela

target-ppc/machine.c: Drop unnecessary ifdefs

machine.c is only compiled for softmmu targets, so checks for
!defined(CONFIG_USER_ONLY) are unnecessary and can be dropped.

Signed-off-by: Juan Quintela <>
[AF: Use more verbose commit message suggested by PMM]...

a5cabbda 04/15/2012 07:09 pm Meador Inge

target-ppc: Init dcache and icache size for e500 user mode

commit f7aa558396dd0f6b7a2b22c05cb503c655854102 pulled the dcache and icache
line size initialization inside of a '#if !defined(CONFIG_USER_ONLY)' block.
This is not correct because instructions like 'dcbz' need the dcache size...

5724753e 04/15/2012 06:33 pm Stefan Weil

target-ppc: Fix type casts for w64 (uintptr_t)

This changes nothing for other hosts.

Signed-off-by: Stefan Weil <>
Signed-off-by: Andreas Färber <>

a1389542 04/15/2012 06:12 pm Andreas Färber

target-ppc: QOM'ify CPU reset

Move code from cpu_state_reset() into ppc_cpu_reset().
Reorder #include of helper_regs.h to use it in translate_init.c.

Adjust whitespace and add braces.

Signed-off-by: Andreas Färber <>
Acked-by: David Gibson <>

6cca7ad6 04/15/2012 06:11 pm Andreas Färber

target-ppc: Start QOM'ifying CPU init

Move code not dependent on ppc_def_t from cpu_ppc_init() into an initfn.

Signed-off-by: Andreas Färber <>
Acked-by: David Gibson <>

1d0cb67d 04/15/2012 06:10 pm Andreas Färber

target-ppc: QOM'ify CPU

Embed CPUPPCState as first member of PowerPCCPU.
Distinguish between "powerpc-cpu", "powerpc64-cpu" and
"embedded-powerpc-cpu".

Let CPUClass::reset() call cpu_state_reset() for now.

Signed-off-by: Andreas Färber <>...

12b1143b 04/15/2012 06:09 pm David Gibson

target-ppc: Add hooks for handling tcg and kvm limitations

On target-ppc, our table of CPU types and features encodes the features as
found on the hardware, regardless of whether these features are actually
usable under TCG or KVM. We already have cases where the information from...

52d631dc 04/15/2012 06:07 pm Mark Cave-Ayland

PPC: Fix TLB invalidation bug within the PPC interrupt handler.

Commit 41557447d30eeb944e42069513df13585f5e6c7f also introduced a subtle TLB
flush bug. By applying a mask to the interrupt MSR which cleared the IR/DR
bits at the start of the interrupt handler, the logic towards the end of the...

e2fbb432 04/15/2012 06:07 pm Andreas Färber

target-ppc: Drop cpu_ppc_close()

It is unused, so avoid QOM'ifying it unneededly.

Signed-off-by: Andreas Färber <>
Acked-by: David Gibson <>

20503968 04/14/2012 05:23 pm Blue Swirl

Use uintptr_t for various op related functions

Use uintptr_t instead of void * or unsigned long in
several op related functions, env->mem_io_pc and
GETPC macro.

Reviewed-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

View revisions

Also available in: Atom