Lines Matching refs:segment_hdr
103 esp_image_segment_header_t WORD_ALIGNED_ATTR segment_hdr; in map_rom_segments() local
113 if (spi_flash_read(offset, &segment_hdr, sizeof(esp_image_segment_header_t)) != 0) { in map_rom_segments()
119 if (IS_NONE(segment_hdr.load_addr)) { in map_rom_segments()
125 IS_NONE(segment_hdr.load_addr) ? "???" in map_rom_segments()
126 : IS_MMAP(segment_hdr.load_addr) in map_rom_segments()
127 ? IS_IROM(segment_hdr.load_addr) ? "IMAP" : "DMAP" in map_rom_segments()
128 : IS_PADD(segment_hdr.load_addr) ? "padd" in map_rom_segments()
129 : IS_DRAM(segment_hdr.load_addr) ? "DRAM" in map_rom_segments()
131 offset + sizeof(esp_image_segment_header_t), segment_hdr.load_addr, in map_rom_segments()
132 segment_hdr.data_len, segment_hdr.data_len); in map_rom_segments()
137 if (segment_hdr.load_addr == _app_drom_vaddr) { in map_rom_segments()
141 if (segment_hdr.load_addr == _app_irom_vaddr) { in map_rom_segments()
145 if (IS_SRAM(segment_hdr.load_addr)) { in map_rom_segments()
148 offset += sizeof(esp_image_segment_header_t) + segment_hdr.data_len; in map_rom_segments()