Revision 5f072e1f
ID | 5f072e1f3075bd869e0ace9f2545a85992ac0084 |
create struct for machine initialization arguments
This should help us to:
- More easily add or remove machine initialization arguments without
having to change every single machine init function;
- More easily make mechanical changes involving the machine init
functions in the future;
- Let machine initialization forward the init arguments to other
functions more easily.
This change was half-mechanical process: first the struct was added with
the local ram_size, boot_device, kernel_*, initrd_*, and cpu_model local
variable initialization to all functions. Then the compiler helped me
locate the local variables that are unused, so they could be removed.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Files
- added
- modified
- copied
- renamed
- deleted
- hw
- alpha_dp264.c (diff)
- an5206.c (diff)
- axis_dev88.c (diff)
- boards.h (diff)
- collie.c (diff)
- dummy_m68k.c (diff)
- exynos4_boards.c (diff)
- gumstix.c (diff)
- highbank.c (diff)
- integratorcp.c (diff)
- kzm.c (diff)
- leon3.c (diff)
- lm32_boards.c (diff)
- mainstone.c (diff)
- mcf5208.c (diff)
- milkymist.c (diff)
- mips_fulong2e.c (diff)
- mips_jazz.c (diff)
- mips_malta.c (diff)
- mips_mipssim.c (diff)
- mips_r4k.c (diff)
- musicpal.c (diff)
- nseries.c (diff)
- null-machine.c (diff)
- omap_sx1.c (diff)
- openrisc_sim.c (diff)
- palm.c (diff)
- pc_piix.c (diff)
- petalogix_ml605_mmu.c (diff)
- petalogix_s3adsp1800_mmu.c (diff)
- ppc
- ppc405_boards.c (diff)
- ppc440_bamboo.c (diff)
- ppc_newworld.c (diff)
- ppc_oldworld.c (diff)
- ppc_prep.c (diff)
- puv3.c (diff)
- r2d.c (diff)
- realview.c (diff)
- s390-virtio.c (diff)
- shix.c (diff)
- spapr.c (diff)
- spitz.c (diff)
- stellaris.c (diff)
- sun4m.c (diff)
- sun4u.c (diff)
- tosa.c (diff)
- versatilepb.c (diff)
- vexpress.c (diff)
- virtex_ml507.c (diff)
- xen_machine_pv.c (diff)
- xilinx_zynq.c (diff)
- xtensa_lx60.c (diff)
- xtensa_sim.c (diff)
- z2.c (diff)
- vl.c (diff)