]> Git Repo - qemu.git/commitdiff
ppc:virtex_ml507: remove unused arguments
authorIgor Mammedov <[email protected]>
Wed, 15 Jan 2020 15:07:25 +0000 (16:07 +0100)
committerDavid Gibson <[email protected]>
Sun, 2 Feb 2020 03:07:57 +0000 (14:07 +1100)
Signed-off-by: Igor Mammedov <[email protected]>
Message-Id: <1579100861[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/virtex_ml507.c

index 7526947ea7a95e368ee1ec792255baa03b9dd177..91dd00ee91c82642abc3cf49ead819be7f49af59 100644 (file)
@@ -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) {
This page took 0.0272 seconds and 4 git commands to generate.