mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
target/xtensa: Use generic cpu_list()
Before it's applied: [gshan@gshan q]$ ./build/qemu-system-xtensa -cpu ? Available CPUs: test_mmuhifi_c3 sample_controller lx106 dsp3400 de233_fpu de212 dc233c dc232b After it's applied: [gshan@gshan q]$ ./build/qemu-system-xtensa -cpu ? Available CPUs: dc232b dc233c de212 de233_fpu dsp3400 lx106 sample_controller test_mmuhifi_c3 Signed-off-by: Gavin Shan <gshan@redhat.com> Message-ID: <20231114235628.534334-22-gshan@redhat.com> [PMD: Split patch in 2, only include the "Use generic cpu_list" change] Message-ID: <51ffd060-b2f8-405c-83e1-a0663c0183f5@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
40b807e26c
commit
f08f4c8ea4
2 changed files with 0 additions and 12 deletions
|
@ -600,8 +600,6 @@ G_NORETURN void xtensa_cpu_do_unaligned_access(CPUState *cpu, vaddr addr,
|
||||||
MMUAccessType access_type, int mmu_idx,
|
MMUAccessType access_type, int mmu_idx,
|
||||||
uintptr_t retaddr);
|
uintptr_t retaddr);
|
||||||
|
|
||||||
#define cpu_list xtensa_cpu_list
|
|
||||||
|
|
||||||
#define CPU_RESOLVING_TYPE TYPE_XTENSA_CPU
|
#define CPU_RESOLVING_TYPE TYPE_XTENSA_CPU
|
||||||
|
|
||||||
#if TARGET_BIG_ENDIAN
|
#if TARGET_BIG_ENDIAN
|
||||||
|
@ -626,7 +624,6 @@ void check_interrupts(CPUXtensaState *s);
|
||||||
void xtensa_irq_init(CPUXtensaState *env);
|
void xtensa_irq_init(CPUXtensaState *env);
|
||||||
qemu_irq *xtensa_get_extints(CPUXtensaState *env);
|
qemu_irq *xtensa_get_extints(CPUXtensaState *env);
|
||||||
qemu_irq xtensa_get_runstall(CPUXtensaState *env);
|
qemu_irq xtensa_get_runstall(CPUXtensaState *env);
|
||||||
void xtensa_cpu_list(void);
|
|
||||||
void xtensa_sync_window_from_phys(CPUXtensaState *env);
|
void xtensa_sync_window_from_phys(CPUXtensaState *env);
|
||||||
void xtensa_sync_phys_from_window(CPUXtensaState *env);
|
void xtensa_sync_phys_from_window(CPUXtensaState *env);
|
||||||
void xtensa_rotate_window(CPUXtensaState *env, uint32_t delta);
|
void xtensa_rotate_window(CPUXtensaState *env, uint32_t delta);
|
||||||
|
|
|
@ -234,15 +234,6 @@ void xtensa_breakpoint_handler(CPUState *cs)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void xtensa_cpu_list(void)
|
|
||||||
{
|
|
||||||
XtensaConfigList *core = xtensa_cores;
|
|
||||||
qemu_printf("Available CPUs:\n");
|
|
||||||
for (; core; core = core->next) {
|
|
||||||
qemu_printf(" %s\n", core->config->name);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
void xtensa_cpu_do_unaligned_access(CPUState *cs,
|
void xtensa_cpu_do_unaligned_access(CPUState *cs,
|
||||||
vaddr addr, MMUAccessType access_type,
|
vaddr addr, MMUAccessType access_type,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue