Statistics
| Branch: | Revision:

root / target-lm32 @ feature-archipelago

Name Size
Makefile.objs 102 Bytes
README 1.6 kB
TODO 23 Bytes
cpu-qom.h 2.4 kB
cpu.c 7.5 kB
cpu.h 6.3 kB
gdbstub.c 2.5 kB
helper.c 5.7 kB
helper.h 572 Bytes
machine.c 1 kB
op_helper.c 3.7 kB
translate.c 33.9 kB

Latest revisions

# Date Author Comment
667ff961 02/04/2014 08:47 pm Michael Walle

target-lm32: stop VM on illegal or unknown instruction

Instead of translating the instruction to a no-op, pause the VM and display
a message to the user.

As a side effect, this also works for instructions where the operands are
only known at runtime.

Signed-off-by: Michael Walle <>

3dd3a2b9 02/04/2014 08:47 pm Michael Walle

target-lm32: add breakpoint/watchpoint support

This patch adds in-target breakpoint and watchpoint support.

Signed-off-by: Michael Walle <>

3604a76f 02/04/2014 08:34 pm Michael Walle

target-lm32: kill cpu_abort() calls

Instead of killing QEMU, translate instructions which are not available on
the CPU model as a noop and issue a log message at translation time.

On the real hardware CPU unknown opcodes results in undefined behaviour.
...

34f4aa83 02/04/2014 08:34 pm Michael Walle

target-lm32: move model features to LM32CPU

This allows us to completely remove CPULM32State from DisasContext.
Instead, copy the fields we need to DisasContext.

Reviewed-by: Andreas Färber <>
Signed-off-by: Michael Walle <>

8cfd0495 09/02/2013 07:08 pm Richard Henderson

tcg: Change tcg_gen_exit_tb argument to uintptr_t

And update all users.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

b1669e5e 09/02/2013 07:08 pm Richard Henderson

target: Include softmmu_exec.h where forgotten

Several targets forgot to include softmmu_exec.h, which would
break them with a header cleanup to follow.

Reviewed-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>

0ee10242 07/29/2013 10:06 pm Andreas Färber

lm32_juart: Relocate and tidy header

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

14a10fc3 07/29/2013 04:29 pm Andreas Färber

cpu: Partially revert "cpu: Change qemu_init_vcpu() argument to CPUState"

Commit c643bed99 moved qemu_init_vcpu() calls to common CPUState code.
This causes x86 cpu-add to fail with "KVM: setting VAPIC address failed".

The reason for the failure is that CPUClass::kvm_fd is not yet...

986a2998 07/27/2013 01:04 am Andreas Färber

gdbstub: Replace GET_REG*() macros with gdb_get_reg*() functions

This avoids polluting the global namespace with a non-prefixed macro and
makes it obvious in the call sites that we return.

Semi-automatic conversion using, e.g.,
sed i 's/GET_REGL(/return gdb_get_regl(mem_buf, /g' target*/gdbstub.c...

5b50e790 07/27/2013 01:04 am Andreas Färber

cpu: Introduce CPUClass::gdb_{read,write}_register()

Completes migration of target-specific code to new target-*/gdbstub.c.

Acked-by: Michael Walle <> (for lm32)
Acked-by: Max Filippov <> (for xtensa)
Signed-off-by: Andreas Färber <>

View revisions

Also available in: Atom