qdev: Check for the availability of a hotplug controller before adding a device
[qemu/kevin.git] / target / m68k / monitor.c
blob52781e85f0369f402a223032b892fe400e49b35c
1 /*
2 * QEMU monitor for m68k
4 * This work is licensed under the terms of the GNU GPL, version 2 or
5 * later. See the COPYING file in the top-level directory.
6 */
8 #include "qemu/osdep.h"
9 #include "cpu.h"
10 #include "monitor/hmp-target.h"
12 static const MonitorDef monitor_defs[] = {
13 { "d0", offsetof(CPUM68KState, dregs[0]) },
14 { "d1", offsetof(CPUM68KState, dregs[1]) },
15 { "d2", offsetof(CPUM68KState, dregs[2]) },
16 { "d3", offsetof(CPUM68KState, dregs[3]) },
17 { "d4", offsetof(CPUM68KState, dregs[4]) },
18 { "d5", offsetof(CPUM68KState, dregs[5]) },
19 { "d6", offsetof(CPUM68KState, dregs[6]) },
20 { "d7", offsetof(CPUM68KState, dregs[7]) },
21 { "a0", offsetof(CPUM68KState, aregs[0]) },
22 { "a1", offsetof(CPUM68KState, aregs[1]) },
23 { "a2", offsetof(CPUM68KState, aregs[2]) },
24 { "a3", offsetof(CPUM68KState, aregs[3]) },
25 { "a4", offsetof(CPUM68KState, aregs[4]) },
26 { "a5", offsetof(CPUM68KState, aregs[5]) },
27 { "a6", offsetof(CPUM68KState, aregs[6]) },
28 { "a7", offsetof(CPUM68KState, aregs[7]) },
29 { "pc", offsetof(CPUM68KState, pc) },
30 { "sr", offsetof(CPUM68KState, sr) },
31 { "ssp", offsetof(CPUM68KState, sp[0]) },
32 { "usp", offsetof(CPUM68KState, sp[1]) },
33 { "isp", offsetof(CPUM68KState, sp[2]) },
34 { NULL },
37 const MonitorDef *target_monitor_defs(void)
39 return monitor_defs;