Statistics
| Branch: | Revision:

root / target-cris @ 1c12e1f5

Name Size
Makefile.objs 89 Bytes
cpu-qom.h 1.7 kB
cpu.c 2.3 kB
cpu.h 7.2 kB
crisv10-decode.h 3.4 kB
crisv32-decode.h 5.5 kB
helper.c 6.7 kB
helper.h 1.3 kB
machine.c 2.2 kB
mmu.c 8.6 kB
mmu.h 420 Bytes
op_helper.c 14.2 kB
opcode-cris.h 10 kB
translate.c 85 kB
translate_v10.c 40.7 kB

Latest revisions

# Date Author Comment
3993c6bd 10/31/2012 05:11 am Andreas Färber

cpus: Pass CPUState to [qemu_]cpu_has_work()

For target-mips also change the return type to bool.

Make include paths for cpu-qom.h consistent for alpha and unicore32.

Signed-off-by: Andreas Färber <>
[AF: Updated new target-openrisc function accordingly]...

3e2bed86 10/28/2012 03:54 pm Aurelien Jarno

target-cris: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Acked-by: Edgar E. Iglesias <>
Reviewed-by: Richard Henderson <>...

a8170e5e 10/23/2012 04:58 pm Avi Kivity

Rename target_phys_addr_t to hwaddr

target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
reserved) and its purpose doesn't match the name (most target_phys_addr_t
addresses are not target specific). Replace it with a finger-friendly,...

fdefe51c 09/27/2012 10:38 pm Richard Henderson

Emit debug_insn for CPU_LOG_TB_OP_OPT as well.

For all targets that currently call tcg_gen_debug_insn_start,
add CPU_LOG_TB_OP_OPT to the condition that gates it.

This is useful for comparing optimization dumps, when the
pre-optimization dump is merely noise....

febc9920 09/15/2012 08:44 pm Aurelien Jarno

target-cris: Avoid AREG0 for helpers

Add an explicit CPUCRISState parameter instead of relying on AREG0.

Signed-off-by: Blue Swirl <>
Signed-off-by: Aurelien Jarno <>

cf7e0c80 09/15/2012 08:44 pm Aurelien Jarno

target-cris: Switch to AREG0 free mode

Add an explicit CPUCRISState parameter instead of relying on AREG0, and
use cpu_ld* in translation and interrupt handling. Remove AREG0 swapping
in tlb_fill(). Switch to AREG0 free mode

Signed-off-by: Blue Swirl <>...

c001ed15 09/08/2012 07:30 am Stefan Weil

target-cris: Fix buffer overflow

Report from smatch:

target-cris/translate.c:3464 cpu_dump_state(32) error:
buffer overflow 'env->sregs' 4 <= 255

sregs is declared 'uint32_t sregs4[16]', so the first index must be
less than 4 or ARRAY_SIZE(env->sregs)....

8219314b 06/15/2012 02:21 pm Lars Persson

cris: Fix NMI-flag handling on crisv10.

- The M-flag is encoded in different bits on cris v10 and cris v32.

Signed-off-by: Lars Persson <>
Signed-off-by: Edgar E. Iglesias <>

f756c7a7 06/14/2012 04:29 pm Edgar E. Iglesias

cris: Add break support for v10.

Still no retb

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

fbe37ef3 06/07/2012 10:21 am Paolo Bonzini

build: move other target-*/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom