Searched refs:kernel_data (Results 1 – 1 of 1) sorted by relevance
472 std::vector<char> kernel_data; in LoadBootableImage() local473 if (!ReadFileToVector(kernel, &kernel_data)) { in LoadBootableImage()478 if (kernel_data.size() < sizeof(boot_img_hdr_v3)) { in LoadBootableImage()481 if (!memcmp(kernel_data.data(), BOOT_MAGIC, BOOT_MAGIC_SIZE)) { in LoadBootableImage()483 bootimg_set_cmdline(reinterpret_cast<boot_img_hdr_v2*>(kernel_data.data()), g_cmdline); in LoadBootableImage()488 return kernel_data; in LoadBootableImage()519 boot_img_hdr_v2* boot_image_data = mkbootimg(kernel_data, ramdisk_data, second_stage_data, in LoadBootableImage()