Statistics
| Branch: | Revision:

root / target-unicore32 @ e77f0832

Name Size
Makefile.objs 108 Bytes
cpu-qom.h 1.4 kB
cpu.c 4.1 kB
cpu.h 6.1 kB
helper.c 6 kB
helper.h 2.1 kB
op_helper.c 6.1 kB
softmmu.c 7.1 kB
translate.c 58.6 kB
ucf64_helper.c 8 kB

Latest revisions

# Date Author Comment
d1f8cd83 02/23/2013 07:25 pm Richard Henderson

target-unicore32: Use mul*2 for do_mult

Cc: Guan Xuetao <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

c05efcb1 02/16/2013 03:51 pm Andreas Färber

cpu: Add CPUArchState pointer to CPUState

The target-specific ENV_GET_CPU() macros have allowed us to navigate
from CPUArchState to CPUState. The reverse direction was not supported.
Avoid introducing CPU_GET_ENV() macros by initializing an untyped
pointer that is initialized in derived instance_init functions....

d9c27f00 02/16/2013 03:50 pm Andreas Färber

target-unicore32: Move TCG initialization to UniCore32CPU initfn

Normalize the "inited" logic and add a tcg_enabled() check to suppress
it for qtest.

Ensures that a QOM-created UniCore32CPU is usable.

Acked-by: Guan Xuetao <>
Signed-off-by: Andreas Färber <>

088383e3 02/16/2013 03:50 pm Andreas Färber

target-unicore32: Introduce QOM realizefn for UniCore32CPU

Introduce a realizefn and set realized = true in uc32_cpu_init().

Acked-by: Guan Xuetao <>
[AF: Invoke the parent's realizefn]
Signed-off-by: Andreas Färber <>

eeb266de 02/01/2013 02:35 am Andreas Färber

target-unicore32: Rename CPU subtypes

In the initial conversion of CPU models to QOM types, model names were
mapped 1:1 to type names. As a side effect this gained us a type "any",
which is now a device.

To avoid "-device any" silliness and to pave the way for compiling...

88e28512 02/01/2013 02:35 am Andreas Färber

target-unicore32: Mark as unmigratable

CPU_SAVE_VERSION 2 was bogus as both save and load would just throw a
hw_error(). Therefore we can without problems suppress registration of
"cpu_common" VMState by dropping CPU_SAVE_VERSION define and provide an
unmigratable "cpu" VMStateDescription for UniCore32CPU at device level...

4933908a 01/28/2013 05:57 pm Andreas Färber

target-unicore32: Catch attempt to instantiate abstract type in cpu_init()

Fixes -cpu unicore32-cpu asserting.

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

87fb5811 01/28/2013 05:57 pm Andreas Färber

target-unicore32: Use type_register() instead of type_register_static()

According to its documentation, type_register_static()'s TypeInfo
argument should exist for the life type of the type.
Therefore use type_register() when registering the list of CPU subtypes....

d89e1218 01/28/2013 12:33 am Andreas Färber

target-unicore32: Detect attempt to instantiate non-CPU type in cpu_init()

Consolidate model checking into a new uc32_cpu_class_by_name().

If the name matches an existing type, also check whether that type is
actually (a sub-type of) TYPE_UNICORE32_CPU....

74880fe2 12/23/2012 10:38 pm Robert Schiele

configure: allow disabling pixman if not needed

When we build neither any system emulation targets nor the tools there
is actually no need for pixman library. In that case do not enforce
presence of that library on the system.

Reviewed-by: Andreas F=E4rber <>...

View revisions

Also available in: Atom