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.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);
Dbootimg_utils.cpp42 void bootimg_set_cmdline(boot_img_hdr_v2* h, const std::string& cmdline) { in bootimg_set_cmdline()
51 const std::vector<char>& ramdisk, const boot_img_hdr_v2& src, in mkbootimg_v3()
76 boot_img_hdr_v2* mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk, in mkbootimg()
78 size_t base, const boot_img_hdr_v2& src, std::vector<char>* out) { in mkbootimg()
83 return reinterpret_cast<boot_img_hdr_v2*>(mkbootimg_v3(kernel, ramdisk, src, out)); in mkbootimg()
97 boot_img_hdr_v2* hdr = reinterpret_cast<boot_img_hdr_v2*>(out->data()); in mkbootimg()
114 hdr->header_size = sizeof(boot_img_hdr_v2); in mkbootimg()
Dfastboot.cpp97 static boot_img_hdr_v2 g_boot_img_hdr = {};
483 bootimg_set_cmdline(reinterpret_cast<boot_img_hdr_v2*>(kernel_data.data()), g_cmdline); in LoadBootableImage()
519 boot_img_hdr_v2* boot_image_data = mkbootimg(kernel_data, ramdisk_data, second_stage_data, in LoadBootableImage()
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h191 struct boot_img_hdr_v2 : public boot_img_hdr_v1 { struct