Statistics
| Branch: | Revision:

root / target-sparc @ 5e8861a0

Name Size
Makefile.objs 14 Bytes
TODO 2.2 kB
cc_helper.c 10.8 kB
cpu-qom.h 1.8 kB
cpu.c 27.8 kB
cpu.h 23.2 kB
fop_helper.c 15.9 kB
helper.c 3.2 kB
helper.h 6.7 kB
int32_helper.c 5.1 kB
int64_helper.c 5.9 kB
ldst_helper.c 72.5 kB
machine.c 6.7 kB
mmu_helper.c 26.9 kB
translate.c 198.4 kB
vis_helper.c 14.8 kB
win_helper.c 9.5 kB

Latest revisions

# Date Author Comment
5e8861a0 06/07/2012 08:17 am Paolo Bonzini

build: move obj-TARGET-y variables to nested Makefile.objs

Also drop duplicate occurrence of device-hotplug.o.

Signed-off-by: Paolo Bonzini <>

e59be77a 06/05/2012 12:00 am Andreas Färber

target-sparc: Let cpu_sparc_init() return SPARCCPU

Make include paths for cpu-qom.h consistent, so that SPARCCPU can be
used in cpu.h.

Turn cpu_init macro into a static inline function returning
CPUSPARCState for backwards compatibility.

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

b7e516ce 06/05/2012 12:00 am Andreas Färber

Kill off cpu_state_reset()

In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset()
was renamed to cpu_state_reset(), to allow introducing a new cpu_reset()
that would operate on QOM objects.

All callers have been updated except for one in target-mips, so drop all...

00b2ace5 05/12/2012 12:48 pm Artyom Tarasenko

fix block loads broken in commit 30038fd818

Fix UltraSPARC/JPS1/UA2007 VIS block load instructions broken in
30038fd81808f7c3bca92be2369e74c8ca7b3d69.

Signed-off-by: Artyom Tarasenko <>
[: trimmed unwanted part of patch]...

22036a49 05/12/2012 12:46 pm Artyom Tarasenko

Implement address masking for SPARC v9 CPUs

According to UltraSPARC - IIi User's manual:

14.1.11 Address Masking (Impdep #125)
When PSTATE.AM=1, the CALL, JMPL, and RDPC instructions and all traps
transmit zero in the high-order 32-bits of the PC to their specified...

90449c38 04/19/2012 09:52 pm Blue Swirl

sparc: fix qtest

Initialize TCG only when enabled.

Signed-off-by: Blue Swirl <>

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 <>

ab7ab3d7 04/07/2012 11:25 am Andreas Färber

target-sparc: QOM'ify CPU

Embed CPUSPARCState as first member of SPARCCPU.
Drop cpu_sparc_close() in favor of object_delete() and a finalizer.
Let cpu_state_reset() call cpu_reset().

Make TYPE_SPARC_CPU non-abstract for now.
Distinguish between "sparc-cpu" and "sparc64-cpu"....

88ca012a 04/07/2012 11:24 am Andreas Färber

target-sparc: Rename cpu_init.c

Align QOM'ified targets, with a view to simplify Makefile.target.

Signed-off-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

1658dd32 03/27/2012 10:46 pm Blue Swirl

sparc: pass page aligned addresses to tlb_set_page

Mask incoming page address early so that resolved addresses
are page aligned. Remove further address masking.

Tested-by: Artyom Tarasenko <>
Signed-off-by: Blue Swirl <>

View revisions

Also available in: Atom