Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/llext/
Dllext_mem.c33 static void llext_init_mem_part(struct llext *ext, enum llext_mem mem_idx, in llext_init_mem_part() argument
37 if (mem_idx < LLEXT_MEM_PARTITIONS) { in llext_init_mem_part()
38 ext->mem_parts[mem_idx].start = start; in llext_init_mem_part()
39 ext->mem_parts[mem_idx].size = len; in llext_init_mem_part()
41 switch (mem_idx) { in llext_init_mem_part()
43 ext->mem_parts[mem_idx].attr = K_MEM_PARTITION_P_RX_U_RX; in llext_init_mem_part()
47 ext->mem_parts[mem_idx].attr = K_MEM_PARTITION_P_RW_U_RW; in llext_init_mem_part()
50 ext->mem_parts[mem_idx].attr = K_MEM_PARTITION_P_RO_U_RO; in llext_init_mem_part()
58 LOG_DBG("region %d: start 0x%zx, size %zd", mem_idx, (size_t)start, len); in llext_init_mem_part()
62 enum llext_mem mem_idx, const struct llext_load_param *ldr_parm) in llext_copy_section() argument
[all …]
Dllext_load.c44 enum llext_mem mem_idx = ldr->sect_map[sh_ndx].mem_idx; in llext_loaded_sect_ptr() local
46 if (mem_idx == LLEXT_MEM_COUNT) { in llext_loaded_sect_ptr()
50 return (const uint8_t *)ext->mem[mem_idx] + ldr->sect_map[sh_ndx].offset; in llext_loaded_sect_ptr()
116 ldr->sect_map[i].mem_idx = LLEXT_MEM_COUNT; in llext_load_elf_data()
179 ldr->sect_map[i].mem_idx = LLEXT_MEM_SYMTAB; in llext_find_tables()
186 ldr->sect_map[i].mem_idx = LLEXT_MEM_SHSTRTAB; in llext_find_tables()
190 ldr->sect_map[i].mem_idx = LLEXT_MEM_STRTAB; in llext_find_tables()
224 if (ldr->sect_map[i].mem_idx != LLEXT_MEM_COUNT) { in llext_map_sections()
226 i, name, ldr->sect_map[i].mem_idx); in llext_map_sections()
231 enum llext_mem mem_idx; in llext_map_sections() local
[all …]
Dllext_priv.h14 enum llext_mem mem_idx; member
57 enum llext_mem mem_idx, unsigned int idx) in llext_string() argument
59 return (char *)ext->mem[mem_idx] + idx; in llext_string()
Dllext_link.c351 enum llext_mem mem_idx = ldr->sect_map[shdr->sh_info].mem_idx; in llext_link() local
353 if (mem_idx == LLEXT_MEM_COUNT) { in llext_link()