1cea06682SLaurent Vivier /* 2cea06682SLaurent Vivier * QEMU monitor for m68k 3cea06682SLaurent Vivier * 4cea06682SLaurent Vivier * This work is licensed under the terms of the GNU GPL, version 2 or 5cea06682SLaurent Vivier * later. See the COPYING file in the top-level directory. 6cea06682SLaurent Vivier */ 7cea06682SLaurent Vivier 8cea06682SLaurent Vivier #include "qemu/osdep.h" 9cea06682SLaurent Vivier #include "cpu.h" 10cea06682SLaurent Vivier #include "monitor/hmp-target.h" 11cea06682SLaurent Vivier 12cea06682SLaurent Vivier static const MonitorDef monitor_defs[] = { 13cea06682SLaurent Vivier { "d0", offsetof(CPUM68KState, dregs[0]) }, 14cea06682SLaurent Vivier { "d1", offsetof(CPUM68KState, dregs[1]) }, 15cea06682SLaurent Vivier { "d2", offsetof(CPUM68KState, dregs[2]) }, 16cea06682SLaurent Vivier { "d3", offsetof(CPUM68KState, dregs[3]) }, 17cea06682SLaurent Vivier { "d4", offsetof(CPUM68KState, dregs[4]) }, 18cea06682SLaurent Vivier { "d5", offsetof(CPUM68KState, dregs[5]) }, 19cea06682SLaurent Vivier { "d6", offsetof(CPUM68KState, dregs[6]) }, 20cea06682SLaurent Vivier { "d7", offsetof(CPUM68KState, dregs[7]) }, 21cea06682SLaurent Vivier { "a0", offsetof(CPUM68KState, aregs[0]) }, 22cea06682SLaurent Vivier { "a1", offsetof(CPUM68KState, aregs[1]) }, 23cea06682SLaurent Vivier { "a2", offsetof(CPUM68KState, aregs[2]) }, 24cea06682SLaurent Vivier { "a3", offsetof(CPUM68KState, aregs[3]) }, 25cea06682SLaurent Vivier { "a4", offsetof(CPUM68KState, aregs[4]) }, 26cea06682SLaurent Vivier { "a5", offsetof(CPUM68KState, aregs[5]) }, 27cea06682SLaurent Vivier { "a6", offsetof(CPUM68KState, aregs[6]) }, 28cea06682SLaurent Vivier { "a7", offsetof(CPUM68KState, aregs[7]) }, 29cea06682SLaurent Vivier { "pc", offsetof(CPUM68KState, pc) }, 30cea06682SLaurent Vivier { "sr", offsetof(CPUM68KState, sr) }, 31cea06682SLaurent Vivier { "ssp", offsetof(CPUM68KState, sp[0]) }, 32cea06682SLaurent Vivier { "usp", offsetof(CPUM68KState, sp[1]) }, 336e22b28eSLaurent Vivier { "isp", offsetof(CPUM68KState, sp[2]) }, 345fa9f1f2SLaurent Vivier { "sfc", offsetof(CPUM68KState, sfc) }, 355fa9f1f2SLaurent Vivier { "dfc", offsetof(CPUM68KState, dfc) }, 3688b2fef6SLaurent Vivier { "urp", offsetof(CPUM68KState, mmu.urp) }, 3788b2fef6SLaurent Vivier { "srp", offsetof(CPUM68KState, mmu.srp) }, 38c05c73b0SLaurent Vivier { "dttr0", offsetof(CPUM68KState, mmu.ttr[M68K_DTTR0]) }, 39c05c73b0SLaurent Vivier { "dttr1", offsetof(CPUM68KState, mmu.ttr[M68K_DTTR1]) }, 40c05c73b0SLaurent Vivier { "ittr0", offsetof(CPUM68KState, mmu.ttr[M68K_ITTR0]) }, 41c05c73b0SLaurent Vivier { "ittr1", offsetof(CPUM68KState, mmu.ttr[M68K_ITTR1]) }, 42*e55886c3SLaurent Vivier { "mmusr", offsetof(CPUM68KState, mmu.mmusr) }, 43cea06682SLaurent Vivier { NULL }, 44cea06682SLaurent Vivier }; 45cea06682SLaurent Vivier 46cea06682SLaurent Vivier const MonitorDef *target_monitor_defs(void) 47cea06682SLaurent Vivier { 48cea06682SLaurent Vivier return monitor_defs; 49cea06682SLaurent Vivier } 50