[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v3 1/7] nios2: 10m50_devboard: replace cpu_model with
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL v3 1/7] nios2: 10m50_devboard: replace cpu_model with cpu_type |
Date: |
Mon, 19 Mar 2018 17:12:49 -0300 |
From: Igor Mammedov <address@hidden>
use cpu_create() instead of being removed cpu_generic_init()
Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
hw/nios2/10m50_devboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/nios2/10m50_devboard.c b/hw/nios2/10m50_devboard.c
index e4007f6d7f..42053b2ca9 100644
--- a/hw/nios2/10m50_devboard.c
+++ b/hw/nios2/10m50_devboard.c
@@ -75,7 +75,7 @@ static void nios2_10m50_ghrd_init(MachineState *machine)
phys_ram_alias);
/* Create CPU -- FIXME */
- cpu = NIOS2_CPU(cpu_generic_init(TYPE_NIOS2_CPU, "nios2"));
+ cpu = NIOS2_CPU(cpu_create(TYPE_NIOS2_CPU));
/* Register: CPU interrupt controller (PIC) */
cpu_irq = nios2_cpu_pic_init(cpu);
--
2.14.3
- [Qemu-devel] [PULL v3 0/7] Machine and x86 queue, 2018-03-19, Eduardo Habkost, 2018/03/19
- [Qemu-devel] [PULL v3 1/7] nios2: 10m50_devboard: replace cpu_model with cpu_type,
Eduardo Habkost <=
- [Qemu-devel] [PULL v3 2/7] tests: add machine 'none' with -cpu test, Eduardo Habkost, 2018/03/19
- [Qemu-devel] [PULL v3 3/7] cpu: add CPU_RESOLVING_TYPE macro, Eduardo Habkost, 2018/03/19
- [Qemu-devel] [PULL v3 4/7] Use cpu_create(type) instead of cpu_init(cpu_model), Eduardo Habkost, 2018/03/19
- [Qemu-devel] [PULL v3 5/7] cpu: get rid of unused cpu_init() defines, Eduardo Habkost, 2018/03/19
- [Qemu-devel] [PULL v3 6/7] cpu: drop unnecessary NULL check and cpu_common_class_by_name(), Eduardo Habkost, 2018/03/19
- [Qemu-devel] [PULL v3 7/7] i386: Disable Intel PT if packets IP payloads have LIP values, Eduardo Habkost, 2018/03/19
- Re: [Qemu-devel] [PULL v3 0/7] Machine and x86 queue, 2018-03-19, Peter Maydell, 2018/03/20