Statistics
| Branch: | Revision:

root / target-m68k @ 834574ea

Name Size
Makefile.objs 69 Bytes
cpu-qom.h 1.8 kB
cpu.c 5.9 kB
cpu.h 7.8 kB
helper.c 21 kB
helpers.h 1.9 kB
m68k-qreg.h 242 Bytes
m68k-semi.c 13.8 kB
op_helper.c 5.2 kB
qregs.def 291 Bytes
translate.c 81 kB

Latest revisions

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

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

target-m68k: Return M68kCPU from cpu_m68k_init()

Turn cpu_init() into a static inline function for backwards
compatibility.

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

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

target-m68k: Pass M68kCPU to m68k_set_irq_level()

Simplifies use of cpu_reset_interrupt() et al.

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

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

target-m68k: Move TCG initialization to M68kCPU initfn

Add a tcg_enabled() check to suppress it for qtest.

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

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

target-m68k: Introduce QOM realizefn for M68kCPU

Introduce realizefn and set realized = true in cpu_m68k_init().

Split off GDB registration to a new m68k_cpu_init_gdb() so that it can
be called from the realizefn.

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

f38f7a84 02/06/2013 04:52 pm Stefan Weil

target-m68k: Fix comment

  • spelling fix ito -> into
  • reorder to match load/store

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

087fe4f8 02/01/2013 02:35 am Andreas Färber

target-m68k: Mark as unmigratable

It neither defined CPU_SAVE_VERSION nor implemented cpu_{save,load}().
Mark M68kCPU as unmigratable at device level.

Signed-off-by: Andreas Färber <>
Reviewed-by: Juan Quintela <>

7a9f812b 02/01/2013 02:35 am Andreas Färber

target-m68k: 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...

2dddbc21 01/28/2013 05:57 pm Andreas Färber

target-m68k: 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....

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

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

This fixes -cpu m68k-cpu asserting.

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

View revisions

Also available in: Atom