Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/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-2.7.6/arch/arm/core/aarch32/mpu/
Darm_core_mpu.c204 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in z_arm_configure_dynamic_mpu_regions() local
206 if (mem_domain) { in z_arm_configure_dynamic_mpu_regions()
207 LOG_DBG("configure domain: %p", mem_domain); in z_arm_configure_dynamic_mpu_regions()
208 uint32_t num_partitions = mem_domain->num_partitions; in z_arm_configure_dynamic_mpu_regions()
212 LOG_DBG("configure domain: %p", mem_domain); in z_arm_configure_dynamic_mpu_regions()
215 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-2.7.6/kernel/
Dmem_domain.c221 thread->mem_domain_info.mem_domain = domain; in add_thread_locked()
232 thread, thread->mem_domain_info.mem_domain); in remove_thread_locked()
246 add_thread_locked(_current->mem_domain_info.mem_domain, thread); in z_mem_domain_init_thread()
263 if (thread->mem_domain_info.mem_domain != domain) { in k_mem_domain_add_thread()
DCMakeLists.txt96 mem_domain.c
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/mem_protect/src/
Dmem_domain.c260 zassert_true(zzz_thread->mem_domain_info.mem_domain == in test_mem_domain_boot_threads()
262 zzz_thread->mem_domain_info.mem_domain); in test_mem_domain_boot_threads()
265 zassert_true(z_main_thread.mem_domain_info.mem_domain == in test_mem_domain_boot_threads()
267 z_main_thread.mem_domain_info.mem_domain); in test_mem_domain_boot_threads()
/Zephyr-Core-2.7.6/include/arch/arc/v2/mpu/
Darc_core_mpu.h87 void arc_core_mpu_remove_mem_domain(struct k_mem_domain *mem_domain);
/Zephyr-Core-2.7.6/include/kernel/
Dthread.h155 struct k_mem_domain *mem_domain; member
/Zephyr-Core-2.7.6/kernel/include/
Dkswap.h225 dummy_thread->mem_domain_info.mem_domain = &k_mem_domain_default; in z_dummy_thread_init()
/Zephyr-Core-2.7.6/arch/x86/core/
Dx86_mmu.c1414 if (incoming->mem_domain_info.mem_domain == current_domain) { in z_x86_swap_update_common_page_table()
1435 &incoming->mem_domain_info.mem_domain->partitions[i]; in z_x86_swap_update_common_page_table()
1442 current_domain = incoming->mem_domain_info.mem_domain; in z_x86_swap_update_common_page_table()
1736 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
1774 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add()
/Zephyr-Core-2.7.6/arch/riscv/core/pmp/
Dcore_pmp.c493 pcount < thread->mem_domain_info.mem_domain->num_partitions; in arch_mem_domain_thread_add()
495 partition = &thread->mem_domain_info.mem_domain->partitions[i]; in arch_mem_domain_thread_add()
/Zephyr-Core-2.7.6/arch/arm64/core/
Dmmu.c1021 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add()
1055 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
/Zephyr-Core-2.7.6/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.rst1154 …y CID: 219472] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1156 …y CID: 236057] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1790 …y CID :219486] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1792 …y CID :219488] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
1811 …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.rst1559 * :github:`38815` - kernel/mem_domain: Remove dead case in check_add_partition()