Lines Matching refs:os

115 			&images, &images.os.image_start, &images.os.image_len);  in bootm_find_os()
116 if (images.os.image_len == 0) { in bootm_find_os()
125 images.os.type = image_get_type(os_hdr); in bootm_find_os()
126 images.os.comp = image_get_comp(os_hdr); in bootm_find_os()
127 images.os.os = image_get_os(os_hdr); in bootm_find_os()
129 images.os.end = image_get_image_end(os_hdr); in bootm_find_os()
130 images.os.load = image_get_load(os_hdr); in bootm_find_os()
131 images.os.arch = image_get_arch(os_hdr); in bootm_find_os()
138 &images.os.type)) { in bootm_find_os()
146 &images.os.comp)) { in bootm_find_os()
153 &images.os.os)) { in bootm_find_os()
161 &images.os.arch)) { in bootm_find_os()
166 images.os.end = fit_get_end(images.fit_hdr_os); in bootm_find_os()
169 &images.os.load)) { in bootm_find_os()
178 images.os.type = IH_TYPE_KERNEL; in bootm_find_os()
179 images.os.comp = android_image_get_comp(os_hdr); in bootm_find_os()
180 images.os.os = IH_OS_LINUX; in bootm_find_os()
182 images.os.end = android_image_get_end(os_hdr); in bootm_find_os()
183 images.os.load = android_image_get_kload(os_hdr); in bootm_find_os()
184 images.ep = images.os.load; in bootm_find_os()
194 if (images.os.arch == IH_ARCH_I386 || in bootm_find_os()
195 images.os.arch == IH_ARCH_X86_64) { in bootm_find_os()
222 if (images.os.type == IH_TYPE_KERNEL_NOLOAD) { in bootm_find_os()
223 images.os.load = images.os.image_start; in bootm_find_os()
224 images.ep += images.os.load; in bootm_find_os()
227 images.os.start = map_to_sysmem(os_hdr); in bootm_find_os()
300 if (((images.os.type == IH_TYPE_KERNEL) || in bootm_find_other()
301 (images.os.type == IH_TYPE_KERNEL_NOLOAD) || in bootm_find_other()
302 (images.os.type == IH_TYPE_MULTI)) && in bootm_find_other()
303 (images.os.os == IH_OS_LINUX || in bootm_find_other()
304 images.os.os == IH_OS_VXWORKS)) in bootm_find_other()
504 image_info_t os = images->os; in bootm_load_os() local
505 ulong load = os.load; in bootm_load_os()
506 ulong blob_start = os.start; in bootm_load_os()
507 ulong blob_end = os.end; in bootm_load_os()
508 ulong image_start = os.image_start; in bootm_load_os()
509 ulong image_len = os.image_len; in bootm_load_os()
515 image_buf = map_sysmem(os.image_start, image_len); in bootm_load_os()
516 err = bootm_decomp_image(os.comp, load, os.image_start, os.type, in bootm_load_os()
528 no_overlap = (os.comp == IH_COMP_NONE && load == image_start); in bootm_load_os()
550 images->os.image_len = *load_end - load; in bootm_load_os()
720 lmb_reserve(&images->lmb, images->os.load, in do_bootm_states()
721 (load_end - images->os.load)); in do_bootm_states()
757 boot_fn = bootm_os_get_boot_func(images->os.os); in do_bootm_states()
765 genimg_get_os_name(images->os.os), images->os.os); in do_bootm_states()
778 if (images->os.os == IH_OS_LINUX) in do_bootm_states()