mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-23 06:00:49 +00:00
cpu: Correct invalid mentions of 'softmmu' by 'system-mode'
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231004090629.37473-4-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2770359031
commit
54b99122eb
@ -202,7 +202,7 @@ static Property cpu_common_props[] = {
|
|||||||
prctl_unalign_sigbus, false),
|
prctl_unalign_sigbus, false),
|
||||||
#else
|
#else
|
||||||
/*
|
/*
|
||||||
* Create a memory property for softmmu CPU object, so users can
|
* Create a memory property for system CPU object, so users can
|
||||||
* wire up its memory. The default if no link is set up is to use
|
* wire up its memory. The default if no link is set up is to use
|
||||||
* the system address space.
|
* the system address space.
|
||||||
*/
|
*/
|
||||||
|
@ -228,8 +228,8 @@ static void cpu_common_initfn(Object *obj)
|
|||||||
cpu->cpu_index = UNASSIGNED_CPU_INDEX;
|
cpu->cpu_index = UNASSIGNED_CPU_INDEX;
|
||||||
cpu->cluster_index = UNASSIGNED_CLUSTER_INDEX;
|
cpu->cluster_index = UNASSIGNED_CLUSTER_INDEX;
|
||||||
cpu->gdb_num_regs = cpu->gdb_num_g_regs = cc->gdb_num_core_regs;
|
cpu->gdb_num_regs = cpu->gdb_num_g_regs = cc->gdb_num_core_regs;
|
||||||
/* *-user doesn't have configurable SMP topology */
|
/* user-mode doesn't have configurable SMP topology */
|
||||||
/* the default value is changed by qemu_init_vcpu() for softmmu */
|
/* the default value is changed by qemu_init_vcpu() for system-mode */
|
||||||
cpu->nr_cores = 1;
|
cpu->nr_cores = 1;
|
||||||
cpu->nr_threads = 1;
|
cpu->nr_threads = 1;
|
||||||
cpu->cflags_next_tb = -1;
|
cpu->cflags_next_tb = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user