Home
last modified time | relevance | path

Searched hist:"5 f072e1f" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dmpc8544ds.c5f072e1f Mon Oct 15 15:22:02 CDT 2012 Eduardo Habkost <ehabkost@redhat.com> 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>
H A De500plat.c5f072e1f Mon Oct 15 15:22:02 CDT 2012 Eduardo Habkost <ehabkost@redhat.com> 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>