/Zephyr-latest/arch/arc/include/ |
D | kernel_arch_data.h | 41 uintptr_t lp_end; 42 uintptr_t lp_start; 43 uintptr_t lp_count; 51 uintptr_t ei_base; 52 uintptr_t ldi_base; 53 uintptr_t jli_base; 55 uintptr_t r0; 56 uintptr_t r1; 57 uintptr_t r2; 58 uintptr_t r3; [all …]
|
/Zephyr-latest/arch/xtensa/include/ |
D | xtensa_asm2_context.h | 94 uintptr_t fcr; 95 uintptr_t fsr; 96 uintptr_t fpu0; 97 uintptr_t fpu1; 98 uintptr_t fpu2; 99 uintptr_t fpu3; 100 uintptr_t fpu4; 101 uintptr_t fpu5; 102 uintptr_t fpu6; 103 uintptr_t fpu7; [all …]
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | syscall.h | 34 uintptr_t xtensa_syscall_helper_args_6(uintptr_t arg1, uintptr_t arg2, 35 uintptr_t arg3, uintptr_t arg4, 36 uintptr_t arg5, uintptr_t arg6, 37 uintptr_t call_id); 39 uintptr_t xtensa_syscall_helper_args_5(uintptr_t arg1, uintptr_t arg2, 40 uintptr_t arg3, uintptr_t arg4, 41 uintptr_t arg5, uintptr_t call_id); 43 uintptr_t xtensa_syscall_helper_args_4(uintptr_t arg1, uintptr_t arg2, 44 uintptr_t arg3, uintptr_t arg4, 45 uintptr_t call_id); [all …]
|
/Zephyr-latest/arch/arc/core/ |
D | vector_table.c | 31 uintptr_t reset; 32 uintptr_t memory_error; 33 uintptr_t instruction_error; 34 uintptr_t ev_machine_check; 35 uintptr_t ev_tlb_miss_i; 36 uintptr_t ev_tlb_miss_d; 37 uintptr_t ev_prot_v; 38 uintptr_t ev_privilege_v; 39 uintptr_t ev_swi; 40 uintptr_t ev_trap; [all …]
|
/Zephyr-latest/include/zephyr/arch/x86/intel64/ |
D | syscall.h | 50 static inline uintptr_t arch_syscall_invoke6(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke6() 51 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke6() 52 uintptr_t arg5, uintptr_t arg6, in arch_syscall_invoke6() 53 uintptr_t call_id) in arch_syscall_invoke6() 55 register uintptr_t rax __asm__("%rax") = call_id; in arch_syscall_invoke6() 56 register uintptr_t rdi __asm__("%rdi") = arg1; in arch_syscall_invoke6() 57 register uintptr_t rsi __asm__("%rsi") = arg2; in arch_syscall_invoke6() 58 register uintptr_t rdx __asm__("%rdx") = arg3; in arch_syscall_invoke6() 59 register uintptr_t r10 __asm__("%r10") = arg4; /* RCX unavailable */ in arch_syscall_invoke6() 60 register uintptr_t r8 __asm__("%r8") = arg5; in arch_syscall_invoke6() [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | syscall_helper.c | 15 uintptr_t xtensa_syscall_helper_args_6(uintptr_t arg1, uintptr_t arg2, in xtensa_syscall_helper_args_6() 16 uintptr_t arg3, uintptr_t arg4, in xtensa_syscall_helper_args_6() 17 uintptr_t arg5, uintptr_t arg6, in xtensa_syscall_helper_args_6() 18 uintptr_t call_id) in xtensa_syscall_helper_args_6() 20 register uintptr_t a2 __asm__("%a2") = call_id; in xtensa_syscall_helper_args_6() 21 register uintptr_t a6 __asm__("%a6") = arg1; in xtensa_syscall_helper_args_6() 22 register uintptr_t a3 __asm__("%a3") = arg2; in xtensa_syscall_helper_args_6() 23 register uintptr_t a4 __asm__("%a4") = arg3; in xtensa_syscall_helper_args_6() 24 register uintptr_t a5 __asm__("%a5") = arg4; in xtensa_syscall_helper_args_6() 25 register uintptr_t a8 __asm__("%a8") = arg5; in xtensa_syscall_helper_args_6() [all …]
|
/Zephyr-latest/include/zephyr/arch/x86/ia32/ |
D | syscall.h | 39 static inline uintptr_t arch_syscall_invoke6(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke6() 40 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke6() 41 uintptr_t arg5, uintptr_t arg6, in arch_syscall_invoke6() 42 uintptr_t call_id) in arch_syscall_invoke6() 59 static inline uintptr_t arch_syscall_invoke5(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke5() 60 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke5() 61 uintptr_t arg5, in arch_syscall_invoke5() 62 uintptr_t call_id) in arch_syscall_invoke5() 75 static inline uintptr_t arch_syscall_invoke4(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke4() 76 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/tests/application_development/code_relocation/src/ |
D | test_file1.c | 32 extern uintptr_t __sram2_text_reloc_start; in ZTEST() 33 extern uintptr_t __sram2_text_reloc_end; in ZTEST() 34 extern uintptr_t __sram2_data_reloc_start; in ZTEST() 35 extern uintptr_t __sram2_data_reloc_end; in ZTEST() 36 extern uintptr_t __sram2_bss_reloc_start; in ZTEST() 37 extern uintptr_t __sram2_bss_reloc_end; in ZTEST() 38 extern uintptr_t __sram2_rodata_reloc_start; in ZTEST() 39 extern uintptr_t __sram2_rodata_reloc_end; in ZTEST() 40 extern uintptr_t __custom_section_start; in ZTEST() 41 extern uintptr_t __custom_section_end; in ZTEST() [all …]
|
D | test_file3.c | 16 extern uintptr_t __data_start; 17 extern uintptr_t __data_end; 18 extern uintptr_t __sram2_bss_reloc_start; 19 extern uintptr_t __sram2_bss_reloc_end; 24 zassert_between_inclusive((uintptr_t)&var_file3_sram_data, 25 (uintptr_t)&__data_start, 26 (uintptr_t)&__data_end, 28 zassert_between_inclusive((uintptr_t)&var_file3_sram2_bss, 29 (uintptr_t)&__sram2_bss_reloc_start, 30 (uintptr_t)&__sram2_bss_reloc_end,
|
D | test_file4.c | 16 extern uintptr_t __sram2_data_reloc_start; 17 extern uintptr_t __sram2_data_reloc_end; 18 extern uintptr_t __sram2_bss_reloc_start; 19 extern uintptr_t __sram2_bss_reloc_end; 24 zassert_between_inclusive((uintptr_t)&var_file4_sram2_data, 25 (uintptr_t)&__sram2_data_reloc_start, 26 (uintptr_t)&__sram2_data_reloc_end, 28 zassert_between_inclusive((uintptr_t)&var_file4_sram2_bss, 29 (uintptr_t)&__sram2_bss_reloc_start, 30 (uintptr_t)&__sram2_bss_reloc_end,
|
D | test_file5.c | 16 extern uintptr_t __sram2_data_reloc_start; 17 extern uintptr_t __sram2_data_reloc_end; 18 extern uintptr_t __sram2_bss_reloc_start; 19 extern uintptr_t __sram2_bss_reloc_end; 24 zassert_between_inclusive((uintptr_t)&var_file5_sram2_data, 25 (uintptr_t)&__sram2_data_reloc_start, 26 (uintptr_t)&__sram2_data_reloc_end, 28 zassert_between_inclusive((uintptr_t)&var_file5_sram2_bss, 29 (uintptr_t)&__sram2_bss_reloc_start, 30 (uintptr_t)&__sram2_bss_reloc_end,
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | syscall.h | 39 static inline uintptr_t arch_syscall_invoke6(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke6() 40 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke6() 41 uintptr_t arg5, uintptr_t arg6, in arch_syscall_invoke6() 42 uintptr_t call_id) in arch_syscall_invoke6() 60 static inline uintptr_t arch_syscall_invoke5(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke5() 61 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke5() 62 uintptr_t arg5, in arch_syscall_invoke5() 63 uintptr_t call_id) in arch_syscall_invoke5() 79 static inline uintptr_t arch_syscall_invoke4(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke4() 80 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/tests/application_development/code_relocation/test_lib/ |
D | test_lib1.c | 19 extern uintptr_t __sram2_text_reloc_start; 20 extern uintptr_t __sram2_text_reloc_end; 21 extern uintptr_t __sram2_data_reloc_start; 22 extern uintptr_t __sram2_data_reloc_end; 23 extern uintptr_t __sram2_bss_reloc_start; 24 extern uintptr_t __sram2_bss_reloc_end; 30 zassert_between_inclusive((uintptr_t)&var_lib1_sram2_data, 31 (uintptr_t)&__sram2_data_reloc_start, 32 (uintptr_t)&__sram2_data_reloc_end, 34 zassert_between_inclusive((uintptr_t)&var_lib1_sram2_bss, [all …]
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | syscall.h | 39 static inline uintptr_t arch_syscall_invoke6(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke6() 40 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke6() 41 uintptr_t arg5, uintptr_t arg6, in arch_syscall_invoke6() 42 uintptr_t call_id) in arch_syscall_invoke6() 62 static inline uintptr_t arch_syscall_invoke5(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke5() 63 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke5() 64 uintptr_t arg5, in arch_syscall_invoke5() 65 uintptr_t call_id) in arch_syscall_invoke5() 84 static inline uintptr_t arch_syscall_invoke4(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke4() 85 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/include/zephyr/arch/arc/ |
D | syscall.h | 40 static inline uintptr_t arch_syscall_invoke6(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke6() 41 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke6() 42 uintptr_t arg5, uintptr_t arg6, in arch_syscall_invoke6() 43 uintptr_t call_id) in arch_syscall_invoke6() 65 static inline uintptr_t arch_syscall_invoke5(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke5() 66 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke5() 67 uintptr_t arg5, in arch_syscall_invoke5() 68 uintptr_t call_id) in arch_syscall_invoke5() 89 static inline uintptr_t arch_syscall_invoke4(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke4() 90 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/include/zephyr/arch/arm/ |
D | syscall.h | 39 static inline uintptr_t arch_syscall_invoke6(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke6() 40 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke6() 41 uintptr_t arg5, uintptr_t arg6, in arch_syscall_invoke6() 42 uintptr_t call_id) in arch_syscall_invoke6() 62 static inline uintptr_t arch_syscall_invoke5(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke5() 63 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke5() 64 uintptr_t arg5, in arch_syscall_invoke5() 65 uintptr_t call_id) in arch_syscall_invoke5() 84 static inline uintptr_t arch_syscall_invoke4(uintptr_t arg1, uintptr_t arg2, in arch_syscall_invoke4() 85 uintptr_t arg3, uintptr_t arg4, in arch_syscall_invoke4() [all …]
|
/Zephyr-latest/include/zephyr/arch/ |
D | arch_interface.h | 564 static inline uintptr_t arch_syscall_invoke0(uintptr_t call_id); 576 static inline uintptr_t arch_syscall_invoke1(uintptr_t arg1, 577 uintptr_t call_id); 590 static inline uintptr_t arch_syscall_invoke2(uintptr_t arg1, uintptr_t arg2, 591 uintptr_t call_id); 605 static inline uintptr_t arch_syscall_invoke3(uintptr_t arg1, uintptr_t arg2, 606 uintptr_t arg3, 607 uintptr_t call_id); 622 static inline uintptr_t arch_syscall_invoke4(uintptr_t arg1, uintptr_t arg2, 623 uintptr_t arg3, uintptr_t arg4, [all …]
|
/Zephyr-latest/subsys/profiling/perf/backends/ |
D | perf_riscv.c | 9 static bool valid_stack(uintptr_t addr, k_tid_t current) in valid_stack() 15 static inline bool in_text_region(uintptr_t addr) in in_text_region() 17 extern uintptr_t __text_region_start, __text_region_end; in in_text_region() 19 return (addr >= (uintptr_t)&__text_region_start) && (addr < (uintptr_t)&__text_region_end); in in_text_region() 27 size_t arch_perf_current_stack_trace(uintptr_t *buf, size_t size) in arch_perf_current_stack_trace() 45 *((struct arch_esf **)(((uintptr_t)_current_cpu->irq_stack) - 16)); in arch_perf_current_stack_trace() 69 buf[idx++] = (uintptr_t)esf->mepc; in arch_perf_current_stack_trace() 78 buf[idx++] = (uintptr_t)esf->ra; in arch_perf_current_stack_trace() 79 if (valid_stack((uintptr_t)new_fp, arch_current_thread())) { in arch_perf_current_stack_trace() 82 while (valid_stack((uintptr_t)fp, arch_current_thread())) { in arch_perf_current_stack_trace() [all …]
|
D | perf_x86_64.c | 10 static bool valid_stack(uintptr_t addr, k_tid_t current) in valid_stack() 16 static inline bool in_text_region(uintptr_t addr) in in_text_region() 18 extern uintptr_t __text_region_start, __text_region_end; in in_text_region() 20 return (addr >= (uintptr_t)&__text_region_start) && (addr < (uintptr_t)&__text_region_end); in in_text_region() 28 size_t arch_perf_current_stack_trace(uintptr_t *buf, size_t size) in arch_perf_current_stack_trace() 43 buf[idx++] = (uintptr_t)arch_current_thread()->callee_saved.rip; in arch_perf_current_stack_trace() 56 while (valid_stack((uintptr_t)fp, arch_current_thread())) { in arch_perf_current_stack_trace() 61 if (!in_text_region((uintptr_t)fp[1])) { in arch_perf_current_stack_trace() 65 buf[idx++] = (uintptr_t)fp[1]; in arch_perf_current_stack_trace()
|
D | perf_x86.c | 10 static bool valid_stack(uintptr_t addr, k_tid_t current) in valid_stack() 16 static inline bool in_text_region(uintptr_t addr) in in_text_region() 18 extern uintptr_t __text_region_start, __text_region_end; in in_text_region() 20 return (addr >= (uintptr_t)&__text_region_start) && (addr < (uintptr_t)&__text_region_end); in in_text_region() 37 size_t arch_perf_current_stack_trace(uintptr_t *buf, size_t size) in arch_perf_current_stack_trace() 69 buf[idx++] = (uintptr_t)isf->eip; in arch_perf_current_stack_trace() 70 while (valid_stack((uintptr_t)fp, arch_current_thread())) { in arch_perf_current_stack_trace() 75 if (!in_text_region((uintptr_t)fp[1])) { in arch_perf_current_stack_trace() 79 buf[idx++] = (uintptr_t)fp[1]; in arch_perf_current_stack_trace()
|
/Zephyr-latest/subsys/demand_paging/backing_store/ |
D | backing_store_ondemand_semihost.c | 19 uintptr_t *location, in k_mem_paging_backing_store_location_get() 31 void k_mem_paging_backing_store_location_free(uintptr_t location) in k_mem_paging_backing_store_location_free() 35 void k_mem_paging_backing_store_page_out(uintptr_t location) in k_mem_paging_backing_store_page_out() 41 void k_mem_paging_backing_store_page_in(uintptr_t location) in k_mem_paging_backing_store_page_in() 52 uintptr_t location) in k_mem_paging_backing_store_page_finalize() 57 int k_mem_paging_backing_store_location_query(void *addr, uintptr_t *location) in k_mem_paging_backing_store_location_query() 59 uintptr_t offset = (uintptr_t)addr - (uintptr_t)lnkr_ondemand_start; in k_mem_paging_backing_store_location_query() 60 uintptr_t file_offset = (uintptr_t)lnkr_ondemand_load_start in k_mem_paging_backing_store_location_query() 61 - (uintptr_t)__text_region_start + offset; in k_mem_paging_backing_store_location_query()
|
/Zephyr-latest/kernel/include/ |
D | mmu.h | 19 #define K_MEM_PHYS_RAM_START ((uintptr_t)CONFIG_SRAM_BASE_ADDRESS) 65 #define K_MEM_BOOT_VIRT_TO_PHYS(virt) ((uintptr_t)(((uint8_t *)(virt)) - K_MEM_VM_OFFSET)) 78 #define K_MEM_BOOT_PHYS_TO_VIRT(phys) ((uint8_t *)(((uintptr_t)(phys)) + K_MEM_VM_OFFSET)) 173 uintptr_t va_and_flags; 249 uintptr_t wide_flags = flags; in k_mem_page_frame_clear() 254 static inline void k_mem_assert_phys_aligned(uintptr_t phys) in k_mem_assert_phys_aligned() 263 static inline uintptr_t k_mem_page_frame_to_phys(struct k_mem_page_frame *pf) in k_mem_page_frame_to_phys() 265 return (uintptr_t)((pf - k_mem_page_frames) * CONFIG_MMU_PAGE_SIZE) + in k_mem_page_frame_to_phys() 272 uintptr_t flags_mask = CONFIG_MMU_PAGE_SIZE - 1; in k_mem_page_frame_to_virt() 277 static inline bool k_mem_is_page_frame(uintptr_t phys) in k_mem_is_page_frame() [all …]
|
/Zephyr-latest/arch/riscv/core/ |
D | stacktrace.c | 15 uintptr_t z_riscv_get_sp_before_exc(const struct arch_esf *esf); 22 uintptr_t fp; 23 uintptr_t ra; 26 typedef bool (*stack_verify_fn)(uintptr_t, const struct k_thread *const, const struct arch_esf *); 28 static inline bool in_irq_stack_bound(uintptr_t addr, uint8_t cpu_id) in in_irq_stack_bound() 30 uintptr_t start, end; in in_irq_stack_bound() 32 start = (uintptr_t)K_KERNEL_STACK_BUFFER(z_interrupt_stacks[cpu_id]); in in_irq_stack_bound() 38 static inline bool in_kernel_thread_stack_bound(uintptr_t addr, const struct k_thread *const thread) in in_kernel_thread_stack_bound() 41 uintptr_t start, end; in in_kernel_thread_stack_bound() 56 static inline bool in_user_thread_stack_bound(uintptr_t addr, const struct k_thread *const thread) in in_user_thread_stack_bound() [all …]
|
/Zephyr-latest/soc/arm/fvp_aemv8r/aarch32/ |
D | arm_mpu_regions.c | 16 (uintptr_t)_vector_start, 17 REGION_RAM_TEXT_ATTR((uintptr_t)_vector_end)), 21 (uintptr_t)__text_region_start, 22 REGION_RAM_TEXT_ATTR((uintptr_t)__rodata_region_start)), 26 (uintptr_t)__rodata_region_start, 27 REGION_RAM_RO_ATTR((uintptr_t)__rodata_region_end)), 31 (uintptr_t)__rom_region_end, 32 REGION_RAM_ATTR((uintptr_t)__kernel_ram_end)),
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | ctf_top.c | 37 ctf_top_thread_switched_out((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_switched_out() 47 ctf_top_thread_user_mode_enter((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_user_mode_enter() 55 ctf_top_thread_wakeup((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_wakeup() 67 ctf_top_thread_switched_in((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_switched_in() 75 ctf_top_thread_priority_set((uint32_t)(uintptr_t)thread, in sys_trace_k_thread_priority_set() 85 (uint32_t)(uintptr_t)thread, in sys_trace_k_thread_create() 92 (uint32_t)(uintptr_t)thread, in sys_trace_k_thread_create() 105 ctf_top_thread_abort((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_abort() 113 ctf_top_thread_suspend((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_suspend() 122 ctf_top_thread_resume((uint32_t)(uintptr_t)thread, name); in sys_trace_k_thread_resume() [all …]
|