Searched refs:image_header (Results 1 – 8 of 8) sorted by relevance
78 esp_image_load_header_t image_header = {0}; in esp_appcpu_image_load() local83 memcpy((void *)&image_header, data + (hdr_offset / sizeof(uint32_t)), in esp_appcpu_image_load()88 if (image_header.header_magic == ESP_LOAD_HEADER_MAGIC) { in esp_appcpu_image_load()91 } else if ((image_header.header_magic & 0xff) == 0xE9) { in esp_appcpu_image_load()99 if (!esp_ptr_in_iram((void *)image_header.iram_dest_addr) || in esp_appcpu_image_load()100 !esp_ptr_in_iram((void *)(image_header.iram_dest_addr + image_header.iram_size))) { in esp_appcpu_image_load()105 if (!esp_ptr_in_dram((void *)image_header.dram_dest_addr) || in esp_appcpu_image_load()106 !esp_ptr_in_dram((void *)(image_header.dram_dest_addr + image_header.dram_size))) { in esp_appcpu_image_load()111 if (!esp_ptr_in_iram((void *)image_header.entry_addr)) { in esp_appcpu_image_load()113 image_header.entry_addr); in esp_appcpu_image_load()[all …]
364 esp_image_load_header_t image_header = {0}; in esp_appcpu_image_load() local369 memcpy((void *)&image_header, data + (hdr_offset / sizeof(uint32_t)), in esp_appcpu_image_load()374 if (image_header.header_magic == ESP_LOAD_HEADER_MAGIC) { in esp_appcpu_image_load()377 } else if ((image_header.header_magic & 0xff) == 0xE9) { in esp_appcpu_image_load()385 if (!esp_ptr_in_iram((void *)image_header.iram_dest_addr) || in esp_appcpu_image_load()386 !esp_ptr_in_iram((void *)(image_header.iram_dest_addr + image_header.iram_size))) { in esp_appcpu_image_load()391 if (!esp_ptr_in_dram((void *)image_header.dram_dest_addr) || in esp_appcpu_image_load()392 !esp_ptr_in_dram((void *)(image_header.dram_dest_addr + image_header.dram_size))) { in esp_appcpu_image_load()397 if (!esp_ptr_in_iram((void *)image_header.entry_addr)) { in esp_appcpu_image_load()399 image_header.entry_addr); in esp_appcpu_image_load()[all …]
8 KEEP(*(.image_header))9 KEEP(*(.".image_header.*"))
11 SECTION_SUBSEC_FUNC(image_header,_image_header_section,_image_header)
26 SECTION_SUBSEC_FUNC(image_header,_image_header_section,_image_header)
554 const struct image_header *hdr; in img_mgmt_upload_inspect()583 if (req->img_data.len < sizeof(struct image_header)) { in img_mgmt_upload_inspect()597 hdr = (struct image_header *)req->img_data.value; in img_mgmt_upload_inspect()
53 BUILD_ASSERT(sizeof(struct image_header) == IMAGE_HEADER_SIZE,251 struct image_header hdr; in img_mgmt_read_info()
115 KEEP(*(.image_header))116 KEEP(*(".image_header.*"))