mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Add m68k_cpu_list()
This patch adds to m68k target the missing m68k_cpu_list(): $ ./m68k-softmmu/qemu-system-m68k -cpu ? m5206 m5208 cfv4e any Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
39b6efc806
commit
009a4356a7
2 changed files with 12 additions and 0 deletions
|
|
@ -54,6 +54,15 @@ static m68k_def_t m68k_cpu_defs[] = {
|
|||
{NULL, 0},
|
||||
};
|
||||
|
||||
void m68k_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...))
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; m68k_cpu_defs[i].name; i++) {
|
||||
(*cpu_fprintf)(f, "%s\n", m68k_cpu_defs[i].name);
|
||||
}
|
||||
}
|
||||
|
||||
static int fpu_gdb_get_reg(CPUState *env, uint8_t *mem_buf, int n)
|
||||
{
|
||||
if (n < 8) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue