Statistics
| Branch: | Revision:

root / target-lm32 @ 0d09e41a

Name Size
Makefile.objs 83 Bytes
README 1.6 kB
TODO 80 Bytes
cpu-qom.h 2 kB
cpu.c 2.6 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.3 kB

Latest revisions

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

259186a7 03/12/2013 11:35 am Andreas Färber

cpu: Move halted and interrupt_request fields to CPUState

Both fields are used in VMState, thus need to be moved together.
Explicitly zero them on reset since they were located before
breakpoints.

Pass PowerPCCPU to kvmppc_handle_halt().

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

97a8ea5a 03/12/2013 11:35 am Andreas Färber

cpu: Replace do_interrupt() by CPUClass::do_interrupt method

This removes a global per-target function and thus takes us one step
closer to compiling multiple targets into one executable.

It will also allow to override the interrupt handling for certain CPU...

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