Statistics
| Branch: | Revision:

root / target-cris @ 7c9958b0

Name Size
cpu-qom.h 1.7 kB
cpu.c 2.3 kB
cpu.h 6.9 kB
crisv10-decode.h 3.4 kB
crisv32-decode.h 5.5 kB
helper.c 6.7 kB
helper.h 1 kB
machine.c 2.2 kB
mmu.c 8.6 kB
mmu.h 420 Bytes
op_helper.c 13.4 kB
opcode-cris.h 10 kB
translate.c 81.5 kB
translate_v10.c 40.1 kB

Latest revisions

# Date Author Comment
e739a48e 04/24/2012 05:04 pm Andreas Färber

target-cris: QOM'ify CPU

Embed CPUCRISState as first member of QOM CRISCPU.

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

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

1c3b52fb 04/24/2012 05:04 pm Andreas Färber

target-cris: QOM'ify CPU reset

Move code from cpu_state_reset() into QOM cris_cpu_reset().
Let CPU init call cpu_reset().

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

aa0d1267 04/24/2012 05:04 pm Andreas Färber

target-cris: Start QOM'ifying CPU init

Move VR-independent code from cpu_cris_init() into an initfn.

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

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

9349b4f9 03/14/2012 11:20 pm Andreas Färber

Rename CPUState -> CPUArchState

Scripted conversion:
for file in .[hc] hw/.[hc] hw/kvm/*.[hc] linux-user/*.[hc] linux-user/m68k/*.[hc] bsd-user/*.[hc] darwin-user/*.[hc] tcg/*/*.[hc] target-*/cpu.h; do
sed -i "s/CPUState/CPUArchState/g" $file
done...

a1170bfd 03/14/2012 11:20 pm Andreas Färber

target-cris: Don't overuse CPUState

Scripted conversion:
sed -i "s/CPUState/CPUCRISState/g" target-cris/*.[hc]
sed -i "s/#define CPUCRISState/#define CPUState/" target-cris/cpu.h

Signed-off-by: Andreas Färber <>
Acked-by: Anthony Liguori <>

1bba0dc9 03/14/2012 11:20 pm Andreas Färber

Rename cpu_reset() to cpu_state_reset()

Frees the identifier cpu_reset for QOM CPUs (manual rename).

Don't hide the parameter type behind explicit casts, use static
functions with strongly typed argument to indirect.

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

7ad757b2 02/28/2012 11:33 pm Stefan Weil

target-cris: Clean includes

The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h.

Cc: Edgar E. Iglesias <>
Signed-off-by: Stefan Weil <>

774d5c5b 12/12/2011 12:38 pm Stefan Sandstrom

cris: Handle conditional stores on CRISv10

Signed-off-by: Stefan Sandstrom <>
Signed-off-by: Edgar E. Iglesias <>

bccd9ec5 10/01/2011 12:31 pm Blue Swirl

softmmu_header: pass CPUState to tlb_fill

Pass CPUState pointer to tlb_fill() instead of architecture local
cpu_single_env hacks.

Signed-off-by: Blue Swirl <>

View revisions

Also available in: Atom