]>
Commit | Line | Data |
---|---|---|
cea06682 LV |
1 | /* |
2 | * QEMU monitor for m68k | |
3 | * | |
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 | */ | |
7 | ||
8 | #include "qemu/osdep.h" | |
9 | #include "cpu.h" | |
10 | #include "monitor/hmp-target.h" | |
11 | ||
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]) }, | |
6e22b28e | 33 | { "isp", offsetof(CPUM68KState, sp[2]) }, |
5fa9f1f2 LV |
34 | { "sfc", offsetof(CPUM68KState, sfc) }, |
35 | { "dfc", offsetof(CPUM68KState, dfc) }, | |
88b2fef6 LV |
36 | { "urp", offsetof(CPUM68KState, mmu.urp) }, |
37 | { "srp", offsetof(CPUM68KState, mmu.srp) }, | |
c05c73b0 LV |
38 | { "dttr0", offsetof(CPUM68KState, mmu.ttr[M68K_DTTR0]) }, |
39 | { "dttr1", offsetof(CPUM68KState, mmu.ttr[M68K_DTTR1]) }, | |
40 | { "ittr0", offsetof(CPUM68KState, mmu.ttr[M68K_ITTR0]) }, | |
41 | { "ittr1", offsetof(CPUM68KState, mmu.ttr[M68K_ITTR1]) }, | |
e55886c3 | 42 | { "mmusr", offsetof(CPUM68KState, mmu.mmusr) }, |
cea06682 LV |
43 | { NULL }, |
44 | }; | |
45 | ||
46 | const MonitorDef *target_monitor_defs(void) | |
47 | { | |
48 | return monitor_defs; | |
49 | } |