Home
last modified time | relevance | path

Searched refs:mem_domain (Results 1 – 22 of 22) sorted by relevance

/Zephyr-Core-3.6.0/arch/arc/core/mpu/
Darc_mpu_common_internal.h136 struct k_mem_domain *mem_domain = NULL; in arc_core_mpu_configure_mem_domain() local
139 mem_domain = thread->mem_domain_info.mem_domain; in arc_core_mpu_configure_mem_domain()
142 if (mem_domain) { in arc_core_mpu_configure_mem_domain()
143 LOG_DBG("configure domain: %p", mem_domain); in arc_core_mpu_configure_mem_domain()
144 num_partitions = mem_domain->num_partitions; in arc_core_mpu_configure_mem_domain()
145 pparts = mem_domain->partitions; in arc_core_mpu_configure_mem_domain()
171 void arc_core_mpu_remove_mem_domain(struct k_mem_domain *mem_domain) in arc_core_mpu_remove_mem_domain() argument
173 ARG_UNUSED(mem_domain); in arc_core_mpu_remove_mem_domain()
Darc_mpu_v4_internal.h578 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in arc_core_mpu_configure_thread() local
581 if (mem_domain) { in arc_core_mpu_configure_thread()
583 thread, mem_domain); in arc_core_mpu_configure_thread()
584 num_partitions = mem_domain->num_partitions; in arc_core_mpu_configure_thread()
585 pparts = mem_domain->partitions; in arc_core_mpu_configure_thread()
663 struct k_mem_domain *mem_domain = NULL; in arc_core_mpu_configure_mem_domain() local
666 mem_domain = thread->mem_domain_info.mem_domain; in arc_core_mpu_configure_mem_domain()
669 if (mem_domain) { in arc_core_mpu_configure_mem_domain()
670 LOG_DBG("configure domain: %p", mem_domain); in arc_core_mpu_configure_mem_domain()
671 num_partitions = mem_domain->num_partitions; in arc_core_mpu_configure_mem_domain()
[all …]
/Zephyr-Core-3.6.0/arch/arm/core/mpu/
Darm_core_mpu.c212 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in z_arm_configure_dynamic_mpu_regions() local
214 if (mem_domain) { in z_arm_configure_dynamic_mpu_regions()
215 LOG_DBG("configure domain: %p", mem_domain); in z_arm_configure_dynamic_mpu_regions()
216 uint32_t num_partitions = mem_domain->num_partitions; in z_arm_configure_dynamic_mpu_regions()
220 LOG_DBG("configure domain: %p", mem_domain); in z_arm_configure_dynamic_mpu_regions()
223 partition = &mem_domain->partitions[i]; in z_arm_configure_dynamic_mpu_regions()
Darm_core_mpu_dev.h226 void arm_core_mpu_configure_mem_domain(struct k_mem_domain *mem_domain);
/Zephyr-Core-3.6.0/include/zephyr/arch/arc/v2/mpu/
Darc_core_mpu.h87 void arc_core_mpu_remove_mem_domain(struct k_mem_domain *mem_domain);
/Zephyr-Core-3.6.0/kernel/
Dmem_domain.c270 thread->mem_domain_info.mem_domain = domain; in add_thread_locked()
285 thread, thread->mem_domain_info.mem_domain); in remove_thread_locked()
302 ret = add_thread_locked(_current->mem_domain_info.mem_domain, thread); in z_mem_domain_init_thread()
329 if (thread->mem_domain_info.mem_domain != domain) { in k_mem_domain_add_thread()
DCMakeLists.txt161 mem_domain.c
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/mem_protect/src/
Dmem_domain.c284 zassert_true(zzz_thread->mem_domain_info.mem_domain == in ZTEST()
286 zzz_thread->mem_domain_info.mem_domain); in ZTEST()
289 zassert_true(z_main_thread.mem_domain_info.mem_domain == in ZTEST()
291 z_main_thread.mem_domain_info.mem_domain); in ZTEST()
/Zephyr-Core-3.6.0/arch/arm64/core/cortex_r/
Darm_mpu.c660 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in configure_dynamic_mpu_regions() local
662 if (mem_domain) { in configure_dynamic_mpu_regions()
663 LOG_DBG("configure domain: %p", mem_domain); in configure_dynamic_mpu_regions()
665 uint32_t num_parts = mem_domain->num_partitions; in configure_dynamic_mpu_regions()
670 partition = &mem_domain->partitions[i]; in configure_dynamic_mpu_regions()
/Zephyr-Core-3.6.0/include/zephyr/llext/
Dllext.h57 struct k_mem_domain mem_domain; member
/Zephyr-Core-3.6.0/arch/xtensa/core/
Dptables.c715 &(thread->mem_domain_info.mem_domain->arch); in xtensa_mmu_tlb_shootdown()
953 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add()
1000 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
1095 &(incoming->mem_domain_info.mem_domain->arch); in xtensa_swap_update_page_tables()
1100 struct k_mem_domain *mem_domain = incoming->mem_domain_info.mem_domain; in xtensa_swap_update_page_tables() local
1102 for (int idx = 0; idx < mem_domain->num_partitions; idx++) { in xtensa_swap_update_page_tables()
1103 struct k_mem_partition *part = &mem_domain->partitions[idx]; in xtensa_swap_update_page_tables()
/Zephyr-Core-3.6.0/include/zephyr/kernel/
Dthread.h184 struct k_mem_domain *mem_domain; member
/Zephyr-Core-3.6.0/kernel/include/
Dkswap.h251 dummy_thread->mem_domain_info.mem_domain = &k_mem_domain_default; in z_dummy_thread_init()
/Zephyr-Core-3.6.0/arch/riscv/core/
Dpmp.c570 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in z_riscv_pmp_usermode_enable()
692 struct k_mem_domain *domain = _current->mem_domain_info.mem_domain; in arch_buffer_validate()
/Zephyr-Core-3.6.0/arch/x86/core/
Dx86_mmu.c1536 if (incoming->mem_domain_info.mem_domain == current_domain) { in z_x86_swap_update_common_page_table()
1557 &incoming->mem_domain_info.mem_domain->partitions[i]; in z_x86_swap_update_common_page_table()
1564 current_domain = incoming->mem_domain_info.mem_domain; in z_x86_swap_update_common_page_table()
1863 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
1904 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add()
/Zephyr-Core-3.6.0/arch/arm64/core/
Dmmu.c1174 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add()
1208 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
/Zephyr-Core-3.6.0/doc/releases/
Drelease-notes-1.13.rst475 …` - [Coverity CID :186843] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
480 …` - [Coverity CID :186848] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
481 …` - [Coverity CID :186849] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
482 …` - [Coverity CID :186850] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
484 …` - [Coverity CID :186852] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
Drelease-notes-2.6.rst1155 …y CID: 219472] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1157 …y CID: 236057] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1791 …y CID :219486] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1793 …y CID :219488] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1812 …y CID :219512] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
Drelease-notes-2.4.rst204 * Header definitions moved to ``include/app_memory/mem_domain.h``.
1344 * :github:`26621` - System can't recover after assertion failed in kernel/mem_domain.c
1537 * :github:`25725` - [Coverity CID :210578] Structurally dead code in kernel/mem_domain.c
Drelease-notes-2.0.rst1324 * :github:`14713` - kernel/mem_domain.c: Improve code coverage to 100%
Drelease-notes-2.7.rst1080 * :github:`38815` - kernel/mem_domain: Remove dead case in check_add_partition()
/Zephyr-Core-3.6.0/subsys/llext/
Dllext.c835 ret = k_mem_domain_init(&ext->mem_domain, 0, NULL); in do_llext_load()