Lines Matching refs:os
94 &images, &images.os.image_start, &images.os.image_len); in bootm_find_os()
95 if (images.os.image_len == 0) { in bootm_find_os()
104 images.os.type = image_get_type(os_hdr); in bootm_find_os()
105 images.os.comp = image_get_comp(os_hdr); in bootm_find_os()
106 images.os.os = image_get_os(os_hdr); in bootm_find_os()
108 images.os.end = image_get_image_end(os_hdr); in bootm_find_os()
109 images.os.load = image_get_load(os_hdr); in bootm_find_os()
110 images.os.arch = image_get_arch(os_hdr); in bootm_find_os()
117 &images.os.type)) { in bootm_find_os()
125 &images.os.comp)) { in bootm_find_os()
132 &images.os.os)) { in bootm_find_os()
140 &images.os.arch)) { in bootm_find_os()
145 images.os.end = fit_get_end(images.fit_hdr_os); in bootm_find_os()
148 &images.os.load)) { in bootm_find_os()
157 images.os.type = IH_TYPE_KERNEL; in bootm_find_os()
158 images.os.comp = IH_COMP_NONE; in bootm_find_os()
159 images.os.os = IH_OS_LINUX; in bootm_find_os()
161 images.os.end = android_image_get_end(os_hdr); in bootm_find_os()
162 images.os.load = android_image_get_kload(os_hdr); in bootm_find_os()
163 images.ep = images.os.load; in bootm_find_os()
173 if (images.os.arch == IH_ARCH_I386 || in bootm_find_os()
174 images.os.arch == IH_ARCH_X86_64) { in bootm_find_os()
201 if (images.os.type == IH_TYPE_KERNEL_NOLOAD) { in bootm_find_os()
203 images.os.arch == IH_ARCH_ARM64) { in bootm_find_os()
207 ret = booti_setup(images.os.image_start, &image_addr, in bootm_find_os()
212 images.os.type = IH_TYPE_KERNEL; in bootm_find_os()
213 images.os.load = image_addr; in bootm_find_os()
216 images.os.load = images.os.image_start; in bootm_find_os()
217 images.ep += images.os.image_start; in bootm_find_os()
221 images.os.start = map_to_sysmem(os_hdr); in bootm_find_os()
292 if (((images.os.type == IH_TYPE_KERNEL) || in bootm_find_other()
293 (images.os.type == IH_TYPE_KERNEL_NOLOAD) || in bootm_find_other()
294 (images.os.type == IH_TYPE_MULTI)) && in bootm_find_other()
295 (images.os.os == IH_OS_LINUX || in bootm_find_other()
296 images.os.os == IH_OS_VXWORKS)) in bootm_find_other()
446 image_info_t os = images->os; in bootm_load_os() local
447 ulong load = os.load; in bootm_load_os()
449 ulong blob_start = os.start; in bootm_load_os()
450 ulong blob_end = os.end; in bootm_load_os()
451 ulong image_start = os.image_start; in bootm_load_os()
452 ulong image_len = os.image_len; in bootm_load_os()
460 image_buf = map_sysmem(os.image_start, image_len); in bootm_load_os()
461 err = bootm_decomp_image(os.comp, load, os.image_start, os.type, in bootm_load_os()
478 no_overlap = (os.comp == IH_COMP_NONE && load == image_start); in bootm_load_os()
499 lmb_reserve(&images->lmb, images->os.load, (load_end - in bootm_load_os()
500 images->os.load)); in bootm_load_os()
622 image_buf = map_sysmem(images->os.image_start, in bootm_measure()
623 images->os.image_len); in bootm_measure()
624 ret = tcg2_measure_data(dev, &elog, 8, images->os.image_len, in bootm_measure()
751 boot_fn = bootm_os_get_boot_func(images->os.os); in do_bootm_states()
759 genimg_get_os_name(images->os.os), images->os.os); in do_bootm_states()
772 if (images->os.os == IH_OS_LINUX) in do_bootm_states()