Statistics
| Branch: | Revision:

root / target-sparc @ 90449c38

Name Size
TODO 2.2 kB
cc_helper.c 10.8 kB
cpu-qom.h 1.8 kB
cpu.c 27.8 kB
cpu.h 23 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 197.8 kB
vis_helper.c 14.8 kB
win_helper.c 9.5 kB

Latest revisions

# Date Author Comment
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 <>

bc098454 03/24/2012 03:02 pm Stefan Weil

target-sparc: Add compiler attribute to some functions which don't return

helper_raise_exception does not return, nor does do_unaligned_access.

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

0184e266 03/18/2012 02:22 pm Blue Swirl

Sparc: avoid AREG0 wrappers for memory access helpers

Adjust generation of load and store templates so that the functions
take a parameter for CPUState instead of relying on global env.

Remove wrappers. Move remaining memory helpers to ldst_helper.c.

Signed-off-by: Blue Swirl <>

fe8d8f0f 03/18/2012 02:22 pm Blue Swirl

Sparc: avoid AREG0 for memory access helpers

Make memory access helpers take a parameter for CPUState instead
of relying on global env. Introduce wrappers for load and store ops.

Signed-off-by: Blue Swirl <>

361dea40 03/17/2012 06:30 pm Blue Swirl

sparc64: implement PCI and ISA irqs

Generate correct trap for external interrupts. Map PCI and ISA IRQs to
RIC/UltraSPARC-IIi interrupt vectors.

Signed-off-by: Blue Swirl <>

89aaf60d 03/17/2012 06:29 pm Blue Swirl

sparc: reset CPU state on reset

Not strictly accurate for Sparc64 but avoid confusing Valgrind.

Reported-by: Michael S. Tsirkin <>
Signed-off-by: Blue Swirl <>

View revisions

Also available in: Atom