kho_in
static struct kho_in kho_in = {
return kho_in.fdt_phys ? phys_to_virt(kho_in.fdt_phys) : NULL;
kho_in.kexec_count = metadata->kexec_count;
strscpy(kho_in.previous_release, metadata->previous_release,
sizeof(kho_in.previous_release));
kho_in.previous_release, kho_in.kexec_count);
metadata->kexec_count = kho_in.kexec_count + 1;
kho_in_debugfs_init(&kho_in.dbg, fdt);
if (kho_in.scratch_phys) {
kho_scratch = phys_to_virt(kho_in.scratch_phys);
kho_in.fdt_phys = 0;
kho_in.fdt_phys = fdt_phys;
kho_in.scratch_phys = scratch_phys;