Home
last modified time | relevance | path

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

/system/core/fastboot/
Dbootimg_utils.cpp37 void bootimg_set_cmdline(boot_img_hdr_v2* h, const std::string& cmdline) { in bootimg_set_cmdline()
42 boot_img_hdr_v2* mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk, in mkbootimg()
44 size_t base, const boot_img_hdr_v2& src, std::vector<char>* out) { in mkbootimg()
57 boot_img_hdr_v2* hdr = reinterpret_cast<boot_img_hdr_v2*>(out->data()); in mkbootimg()
74 hdr->header_size = sizeof(boot_img_hdr_v2); in mkbootimg()
Dbootimg_utils.h38 boot_img_hdr_v2* mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk,
40 size_t base, const boot_img_hdr_v2& src, std::vector<char>* out);
41 void bootimg_set_cmdline(boot_img_hdr_v2* h, const std::string& cmdline);
Dfastboot.cpp95 static boot_img_hdr_v2 g_boot_img_hdr = {};
454 if (kernel_data.size() < sizeof(boot_img_hdr_v2)) { in LoadBootableImage()
459 bootimg_set_cmdline(reinterpret_cast<boot_img_hdr_v2*>(kernel_data.data()), g_cmdline); in LoadBootableImage()
495 boot_img_hdr_v2* boot_image_data = mkbootimg(kernel_data, ramdisk_data, second_stage_data, in LoadBootableImage()
/system/core/mkbootimg/include/bootimg/
Dbootimg.h157 struct boot_img_hdr_v2 : public boot_img_hdr_v1 { struct