Introduce struct boot_params and rewrite lz_main() with more normal looking C,
dropping a load of local variables in the proces.
No functional change. Compiled code is identical (64, 64 LTO and 32), other
than the 32bit LTO case which adds one redundant reload of a stack local
variable for no obvious reason.
Introduce struct boot_params and rewrite lz_main() with more normal looking C, dropping a load of local variables in the proces.
No functional change. Compiled code is identical (64, 64 LTO and 32), other than the 32bit LTO case which adds one redundant reload of a stack local variable for no obvious reason.
Signed-off-by: Andrew Cooper andrew.cooper3@citrix.com
Slightly RFC. Is "boot_params" the correct name here? zero_page appears to be a legacy name.