Home
last modified time | relevance | path

Searched refs:kernel_data (Results 1 – 1 of 1) sorted by relevance

/system/core/fastboot/
Dfastboot.cpp448 std::vector<char> kernel_data; in LoadBootableImage() local
449 if (!ReadFileToVector(kernel, &kernel_data)) { in LoadBootableImage()
454 if (kernel_data.size() < sizeof(boot_img_hdr_v2)) { in LoadBootableImage()
457 if (!memcmp(kernel_data.data(), BOOT_MAGIC, BOOT_MAGIC_SIZE)) { in LoadBootableImage()
459 bootimg_set_cmdline(reinterpret_cast<boot_img_hdr_v2*>(kernel_data.data()), g_cmdline); in LoadBootableImage()
464 return kernel_data; in LoadBootableImage()
495 boot_img_hdr_v2* boot_image_data = mkbootimg(kernel_data, ramdisk_data, second_stage_data, in LoadBootableImage()