Statistics
| Branch: | Revision:

root / target-lm32 @ a8aec295

Name Size
Makefile.objs 83 Bytes
README 1.6 kB
TODO 80 Bytes
cpu-qom.h 2.1 kB
cpu.c 2.7 kB
cpu.h 6 kB
helper.c 6.2 kB
helper.h 419 Bytes
machine.c 1 kB
op_helper.c 2 kB
translate.c 32.4 kB

Latest revisions

# Date Author Comment
c643bed9 06/28/2013 02:25 pm Andreas Färber

cpu: Change qemu_init_vcpu() argument to CPUState

This allows to move the call into CPUState's realizefn.
Therefore move the stub into libqemustub.a.

Reviewed-by: Richard Henderson <>
Signed-off-by: Andreas Färber <>

878096ee 06/28/2013 02:25 pm Andreas Färber

cpu: Turn cpu_dump_{state,statistics}() into CPUState hooks

Make cpustats monitor command available unconditionally.

Prepares for changing kvm_handle_internal_error() and kvm_cpu_exec()
arguments to CPUState.

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

0d09e41a 04/08/2013 07:13 pm Paolo Bonzini

hw: move headers to include/

Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches....

b92e062a 03/18/2013 08:40 pm Michael Walle

target-lm32: fix debug memory access

CPU models which have the LM32_FLAG_IGNORE_MSB flag set will shadow the
lower 2GB to the upper 2GB memory space. This will fix the debug memory
access used by qemu console and GDB to match this behaviour.

Signed-off-by: Michael Walle <>

608a03c1 03/18/2013 08:40 pm Michael Walle

target-lm32: don't log cpu state in translation

Don't dump the cpu state because it can also be enabled by the "-d cpu"
parameter.

Signed-off-by: Michael Walle <>

df5eb7d2 03/18/2013 08:40 pm Michael Walle

target-lm32: fix cmpgui and cmpgeui opcodes

For unsigned compares the immediate has to be zero extended.

Signed-off-by: Michael Walle <>

de55c4bd 03/18/2013 08:40 pm Michael Walle

target-lm32: remove dead code

Signed-off-by: Michael Walle <>

a5b0f6d5 03/18/2013 08:40 pm Michael Walle

target-lm32: flush tlb after clearing env

The tlb data is stored within the CPU env. Therefore, the initialization
has to be done after we clear the environment. Otherwise the tlb will have
a valid entry for address 0x0.

Signed-off-by: Michael Walle <>

66350755 03/18/2013 08:40 pm Michael Walle

target-lm32: use HELPER macro

Instead of hardcoding the function name, use the HELPER macro for this.

Signed-off-by: Michael Walle <>

0ad6773f 03/12/2013 11:35 am Andreas Färber

target-lm32: Update VMStateDescription to LM32CPU

Add a vmstate_lm32_cpu referencing the previous VMStateDescription as a
sub-struct and hook it up to CPUClass::vmsd. Drop cpu_{save,load}().

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

View revisions

Also available in: Atom