[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 70/86] ppc:virtex_ml507: remove unused arguments
From: |
Igor Mammedov |
Subject: |
[PATCH v2 70/86] ppc:virtex_ml507: remove unused arguments |
Date: |
Wed, 15 Jan 2020 16:07:25 +0100 |
Signed-off-by: Igor Mammedov <address@hidden>
---
CC: address@hidden
CC: address@hidden
CC: address@hidden
---
hw/ppc/virtex_ml507.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/ppc/virtex_ml507.c b/hw/ppc/virtex_ml507.c
index 6862552..651d8db 100644
--- a/hw/ppc/virtex_ml507.c
+++ b/hw/ppc/virtex_ml507.c
@@ -89,10 +89,7 @@ static void mmubooke_create_initial_mapping(CPUPPCState *env,
tlb->PID = 0;
}
-static PowerPCCPU *ppc440_init_xilinx(ram_addr_t *ram_size,
- int do_init,
- const char *cpu_type,
- uint32_t sysclk)
+static PowerPCCPU *ppc440_init_xilinx(const char *cpu_type, uint32_t sysclk)
{
PowerPCCPU *cpu;
CPUPPCState *env;
@@ -213,7 +210,7 @@ static void virtex_init(MachineState *machine)
int i;
/* init CPUs */
- cpu = ppc440_init_xilinx(&ram_size, 1, machine->cpu_type, 400000000);
+ cpu = ppc440_init_xilinx(machine->cpu_type, 400000000);
env = &cpu->env;
if (env->mmu_model != POWERPC_MMU_BOOKE) {
--
2.7.4
- Re: [PATCH v2 67/86] ppc:ppc440_bamboo/sam460ex: use memdev for RAM, (continued)
- [PATCH v2 66/86] ppc/{ppc440_bamboo,sam460x}: drop RAM size fixup, Igor Mammedov, 2020/01/15
- [PATCH v2 72/86] sparc:leon3: use memdev for RAM, Igor Mammedov, 2020/01/15
- [PATCH v2 74/86] sparc:niagara: use memdev for RAM, Igor Mammedov, 2020/01/15
- [PATCH v2 71/86] ppc:virtex_ml507: use memdev for RAM, Igor Mammedov, 2020/01/15
- [PATCH v2 70/86] ppc:virtex_ml507: remove unused arguments,
Igor Mammedov <=
- [PATCH v2 73/86] sparc:sun4m: use memdev for RAM, Igor Mammedov, 2020/01/15
- [PATCH v2 75/86] remove no longer used memory_region_allocate_system_memory(), Igor Mammedov, 2020/01/15
- [PATCH v2 78/86] exec: drop bogus mem_path from qemu_ram_alloc_from_fd(), Igor Mammedov, 2020/01/15
- [PATCH v2 79/86] make mem_path local variable, Igor Mammedov, 2020/01/15
- [PATCH v2 77/86] exec: cleanup qemu_minrampagesize()/qemu_maxrampagesize(), Igor Mammedov, 2020/01/15
- [PATCH v2 80/86] hostmem: introduce "prealloc-threads" property, Igor Mammedov, 2020/01/15