/Zephyr-Core-3.5.0/drivers/mm/ |
D | mm_drv_common.h | 33 int sys_mm_drv_page_flag_get(void *virt, uint32_t *flags); 56 static inline bool sys_mm_drv_is_virt_addr_aligned(void *virt) in sys_mm_drv_is_virt_addr_aligned() argument 58 return sys_mm_drv_is_addr_aligned(POINTER_TO_UINT(virt)); in sys_mm_drv_is_virt_addr_aligned() 98 bool sys_mm_drv_is_virt_region_mapped(void *virt, size_t size); 109 bool sys_mm_drv_is_virt_region_unmapped(void *virt, size_t size); 134 int sys_mm_drv_simple_map_region(void *virt, uintptr_t phys, 160 int sys_mm_drv_simple_map_array(void *virt, uintptr_t *phys, 184 int sys_mm_drv_simple_unmap_region(void *virt, size_t size); 294 int sys_mm_drv_simple_update_region_flags(void *virt, size_t size, uint32_t flags);
|
D | mm_drv_intel_adsp_tlb.c | 68 int sys_mm_drv_map_page(void *virt, uintptr_t phys, uint32_t flags) in sys_mm_drv_map_page() argument 84 uintptr_t va = POINTER_TO_UINT(z_soc_cached_ptr(virt)); in sys_mm_drv_map_page() 137 sys_cache_data_invd_range(virt, CONFIG_MM_DRV_PAGE_SIZE); in sys_mm_drv_map_page() 145 int sys_mm_drv_map_region(void *virt, uintptr_t phys, in sys_mm_drv_map_region() argument 148 void *va = (__sparse_force void *)z_soc_cached_ptr(virt); in sys_mm_drv_map_region() 153 int sys_mm_drv_map_array(void *virt, uintptr_t *phys, in sys_mm_drv_map_array() argument 156 void *va = (__sparse_force void *)z_soc_cached_ptr(virt); in sys_mm_drv_map_array() 161 int sys_mm_drv_unmap_page(void *virt) in sys_mm_drv_unmap_page() argument 169 uintptr_t va = POINTER_TO_UINT(z_soc_cached_ptr(virt)); in sys_mm_drv_unmap_page() 190 sys_cache_data_flush_range(virt, CONFIG_MM_DRV_PAGE_SIZE); in sys_mm_drv_unmap_page() [all …]
|
D | mm_drv_common.c | 47 bool sys_mm_drv_is_virt_region_mapped(void *virt, size_t size) in sys_mm_drv_is_virt_region_mapped() argument 53 uint8_t *va = (uint8_t *)virt + offset; in sys_mm_drv_is_virt_region_mapped() 64 bool sys_mm_drv_is_virt_region_unmapped(void *virt, size_t size) in sys_mm_drv_is_virt_region_unmapped() argument 70 uint8_t *va = (uint8_t *)virt + offset; in sys_mm_drv_is_virt_region_unmapped() 81 int sys_mm_drv_simple_map_region(void *virt, uintptr_t phys, in sys_mm_drv_simple_map_region() argument 89 !sys_mm_drv_is_virt_addr_aligned(virt) || in sys_mm_drv_simple_map_region() 98 uint8_t *va = (uint8_t *)virt + offset; in sys_mm_drv_simple_map_region() 119 int sys_mm_drv_simple_map_array(void *virt, uintptr_t *phys, in sys_mm_drv_simple_map_array() argument 127 !sys_mm_drv_is_virt_addr_aligned(virt)) { in sys_mm_drv_simple_map_array() 137 uint8_t *va = (uint8_t *)virt + offset; in sys_mm_drv_simple_map_array() [all …]
|
D | mm_drv_intel_adsp_mtl_tlb.c | 168 int sys_mm_drv_map_page(void *virt, uintptr_t phys, uint32_t flags) in sys_mm_drv_map_page() argument 185 uintptr_t va = POINTER_TO_UINT(z_soc_cached_ptr(virt)); in sys_mm_drv_map_page() 273 sys_cache_data_invd_range(virt, CONFIG_MM_DRV_PAGE_SIZE); in sys_mm_drv_map_page() 281 int sys_mm_drv_map_region(void *virt, uintptr_t phys, in sys_mm_drv_map_region() argument 291 !sys_mm_drv_is_virt_addr_aligned(virt) || in sys_mm_drv_map_region() 297 va = (__sparse_force uint8_t *)z_soc_cached_ptr(virt); in sys_mm_drv_map_region() 322 int sys_mm_drv_map_array(void *virt, uintptr_t *phys, in sys_mm_drv_map_array() argument 325 void *va = (__sparse_force void *)z_soc_cached_ptr(virt); in sys_mm_drv_map_array() 330 int sys_mm_drv_unmap_page(void *virt) in sys_mm_drv_unmap_page() argument 340 uintptr_t va = POINTER_TO_UINT(z_soc_cached_ptr(virt)); in sys_mm_drv_unmap_page() [all …]
|
D | mm_drv_ti_rat.c | 98 int sys_mm_drv_page_phys_get(void *virt, uintptr_t *phys) in sys_mm_drv_page_phys_get() argument 100 if (virt == NULL) { in sys_mm_drv_page_phys_get() 103 uintptr_t pa = (uintptr_t) virt; in sys_mm_drv_page_phys_get()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/mm/ |
D | system_mm.h | 83 int sys_mm_drv_map_page(void *virt, uintptr_t phys, uint32_t flags); 106 int sys_mm_drv_map_region(void *virt, uintptr_t phys, 130 int sys_mm_drv_map_array(void *virt, uintptr_t *phys, 154 int sys_mm_drv_unmap_page(void *virt); 178 int sys_mm_drv_unmap_region(void *virt, size_t size); 197 int sys_mm_drv_page_phys_get(void *virt, uintptr_t *phys); 318 int sys_mm_drv_update_page_flags(void *virt, uint32_t flags); 341 int sys_mm_drv_update_region_flags(void *virt, size_t size, uint32_t flags);
|
/Zephyr-Core-3.5.0/arch/arm64/core/ |
D | mmu.c | 234 uintptr_t virt, size_t size, in set_mapping() argument 248 pte = &table[XLAT_TABLE_VA_IDX(virt, level)]; in set_mapping() 271 level_size -= (virt & (level_size - 1)); in set_mapping() 278 if ((size < level_size) || (virt & (level_size - 1)) || in set_mapping() 310 virt += level_size; in set_mapping() 362 uintptr_t virt, size_t size, unsigned int level) in privatize_table() argument 368 for ( ; size; virt += step, size -= step) { in privatize_table() 369 step = level_size - (virt & (level_size - 1)); in privatize_table() 373 i = XLAT_TABLE_VA_IDX(virt, level); in privatize_table() 396 virt, step, level + 1); in privatize_table() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/l2/virtual/ |
D | virtual.c | 47 const struct virtual_interface_api *virt; in virtual_enable() local 50 virt = net_if_get_device(iface)->api; in virtual_enable() 51 if (!virt) { in virtual_enable() 82 if (virt->start) { in virtual_enable() 83 virt->start(net_if_get_device(iface)); in virtual_enable() 89 if (virt->stop) { in virtual_enable() 90 virt->stop(net_if_get_device(iface)); in virtual_enable() 318 const struct virtual_interface_api *virt; in net_virtual_input() local 350 virt = net_if_get_device(ctx->virtual_iface)->api; in net_virtual_input() 351 if (!virt || virt->input == NULL) { in net_virtual_input() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | mem_manage.h | 90 #define Z_MEM_PHYS_ADDR(virt) ((virt) - Z_MEM_VM_OFFSET) argument 147 static inline uintptr_t z_mem_phys_addr(void *virt) in z_mem_phys_addr() argument 149 uintptr_t addr = (uintptr_t)virt; in z_mem_phys_addr() 158 "address %p not in permanent mappings", virt); in z_mem_phys_addr() 271 void z_phys_unmap(uint8_t *virt, size_t size);
|
/Zephyr-Core-3.5.0/arch/x86/core/ |
D | x86_mmu.c | 287 static inline int get_index(void *virt, int level) in get_index() argument 289 return (((uintptr_t)virt >> paging_levels[level].shift) % in get_index() 294 static inline pentry_t *get_entry_ptr(pentry_t *ptables, void *virt, int level) in get_entry_ptr() argument 296 return &ptables[get_index(virt, level)]; in get_entry_ptr() 300 static inline pentry_t get_entry(pentry_t *ptables, void *virt, int level) in get_entry() argument 302 return ptables[get_index(virt, level)]; in get_entry() 368 pentry_t *ptables, void *virt) in pentry_get() argument 373 pentry_t entry = get_entry(table, virt, level); in pentry_get() 584 uintptr_t virt = in print_entries() local 589 if (phys == virt) { in print_entries() [all …]
|
/Zephyr-Core-3.5.0/arch/x86/include/ |
D | x86_mmu.h | 81 void z_x86_dump_mmu_flags(pentry_t *ptables, void *virt); 93 void *virt); 142 extern bool z_x86_kpti_is_access_ok(void *virt, pentry_t *ptables) in z_x86_kpti_is_access_ok() argument
|
/Zephyr-Core-3.5.0/boards/arm64/qemu_kvm_arm64/ |
D | qemu_kvm_arm64.dts | 10 #include <arm64/qemu/qemu-virt-arm64.dtsi> 14 compatible = "qemu,virt-arm64-kvm";
|
/Zephyr-Core-3.5.0/boards/arm64/qemu_cortex_a53/ |
D | board.cmake | 10 set(QEMU_MACH virt,gic-version=3) 12 set(QEMU_MACH virt,secure=on,gic-version=3)
|
/Zephyr-Core-3.5.0/kernel/include/ |
D | kernel_arch_interface.h | 284 void arch_mem_map(void *virt, uintptr_t phys, size_t size, uint32_t flags); 335 int arch_page_phys_get(void *virt, uintptr_t *phys);
|
/Zephyr-Core-3.5.0/dts/arm64/qemu/ |
D | qemu-virt-arm64.dtsi | 10 * qemu-system-aarch64 -machine virt,gic-version=host,accel=kvm 11 * -cpu cortex-a53 -nographic -machine dumpdtb=virt.dtb 13 * dtc -I dtb -O dts virt.dtb 31 compatible = "arm,cortex-virt"; 37 compatible = "arm,cortex-virt";
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | virtual.h | 281 const struct virtual_interface_api *virt = in net_virtual_get_iface_capabilities() local 284 if (!virt->get_capabilities) { in net_virtual_get_iface_capabilities() 288 return virt->get_capabilities(iface); in net_virtual_get_iface_capabilities()
|
/Zephyr-Core-3.5.0/soc/arm64/qemu_cortex_a53/ |
D | Kconfig.soc | 5 bool "QEMU virt platform (cortex-a53)"
|
/Zephyr-Core-3.5.0/boards/riscv/qemu_riscv32/ |
D | qemu_riscv32.dts | 5 #include <virt.dtsi>
|
D | qemu_riscv32_smp.dts | 9 #include <virt.dtsi>
|
/Zephyr-Core-3.5.0/soc/arm64/qemu_virt_arm64/ |
D | Kconfig.soc | 5 bool "QEMU virt platform (AArch64 for KVM)"
|
/Zephyr-Core-3.5.0/boards/riscv/qemu_riscv64/ |
D | board.cmake | 10 -machine virt
|
D | qemu_riscv64.dts | 6 #include <virt.dtsi>
|
D | qemu_riscv64_smp.dts | 9 #include <virt.dtsi>
|
/Zephyr-Core-3.5.0/dts/riscv/ |
D | virt.dtsi | 9 * qemu-system-riscv32 -machine virt,dumpdtb=virt.dtb -smp 8 -m 256 10 * dtc virt.dtb > virt.dtsi
|
/Zephyr-Core-3.5.0/boards/riscv/qemu_riscv32e/ |
D | qemu_riscv32e.dts | 10 #include <virt.dtsi>
|