Home
last modified time | relevance | path

Searched refs:thread (Results 151 – 175 of 920) sorted by relevance

12345678910>>...37

/Zephyr-latest/arch/xtensa/core/
Dvector_handlers.c37 struct k_thread *thread = _current; in xtensa_is_outside_stack_bounds() local
57 if ((thread == NULL) || was_in_isr) { in xtensa_is_outside_stack_bounds()
84 start = (uintptr_t)thread->stack_obj; in xtensa_is_outside_stack_bounds()
85 end = Z_STACK_PTR_ALIGN(thread->stack_info.start + thread->stack_info.size); in xtensa_is_outside_stack_bounds()
87 ((thread->base.user_options & K_USER) == K_USER)) { in xtensa_is_outside_stack_bounds()
92 start = thread->stack_info.start - CONFIG_PRIVILEGED_STACK_SIZE; in xtensa_is_outside_stack_bounds()
93 end = thread->stack_info.start; in xtensa_is_outside_stack_bounds()
96 start = thread->stack_info.start; in xtensa_is_outside_stack_bounds()
97 end = Z_STACK_PTR_ALIGN(thread->stack_info.start + thread->stack_info.size); in xtensa_is_outside_stack_bounds()
/Zephyr-latest/include/zephyr/arch/arm64/
Dmm.h29 void z_arm64_thread_mem_domains_init(struct k_thread *thread);
30 void z_arm64_swap_mem_domains(struct k_thread *thread);
/Zephyr-latest/drivers/sensor/
DKconfig.trigger_template15 bool "Use global thread"
20 bool "Use own thread"
36 Priority of thread used by the driver to handle interrupts.
43 Stack size of thread used by the driver to handle interrupts.
/Zephyr-latest/drivers/sensor/honeywell/sm351lt/
DKconfig26 bool "Use global thread"
30 bool "Use own thread"
43 Priority of thread used by the driver to handle interrupts.
50 Stack size of thread used by the driver to handle interrupts.
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
DKconfig22 bool "Use own thread"
28 bool "Use global thread"
44 int "Own thread priority"
48 int "Own thread stack size"
/Zephyr-latest/drivers/adc/
DKconfig.tla202x27 int "Priority for the data acquisition thread"
30 Execution priority for the internal data acquisition thread.
33 int "Stack size for the data acquisition thread"
36 Stack size for the internal data acquisition thread. Requires room
DKconfig.ad712415 int "ADC data acquisition thread priority"
20 int "Stack size for the ADC data acquisition thread"
25 thread.
DKconfig.ads111918 int "ADC ADS1119 async thread priority"
22 int "Stack size for the ADC data acquisition thread"
26 thread.
DKconfig.max11102_1722 int "ADC data acquisition thread priority"
27 int "Stack size for the ADC data acquisition thread"
32 thread.
/Zephyr-latest/drivers/ethernet/
DKconfig.nxp_s32_netc18 int "RX thread priority"
21 RX thread priority. RX thread is a cooperative thread.
24 int "RX thread stack size"
27 RX thread stack size.
30 int "RX thread budget"
35 do in the RX thread before yielding the processor, in case there is more
36 work to do. This is to prevent the RX thread to starve other threads. Each
DKconfig.nxp_s32_gmac58 int "RX thread priority"
61 RX thread priority. RX thread is a cooperative thread.
64 int "RX thread stack size"
67 RX thread stack size.
70 int "RX thread budget"
75 may do in the RX thread before yielding the processor, in case there
76 is more work to do. This is to prevent the RX thread to starve other
/Zephyr-latest/doc/kernel/usermode/
Doverview.rst11 malicious user mode thread cannot leak or modify the private data/resources
12 of another thread or the kernel, and cannot interfere with or
13 control another user mode thread or the kernel.
38 - Access to thread stack buffers will be controlled with a policy which
41 - A user thread will by default have read/write access to its own stack
44 - A user thread will never by default have access to user thread stacks
47 - A user thread will never by default have access to thread stacks owned
48 by a supervisor thread, or thread stacks used to handle system call
51 - A user thread may have read/write access to the stacks of other user
56 - On MMU systems, threads may access any user thread stack in the same
[all …]
Dkernelobjects.rst8 * A core kernel object, such as a semaphore, thread, pipe, etc.
9 * A thread stack, which is an array of :c:struct:`z_thread_stack_element`
26 that the kernel object address is valid and that the calling thread
49 In order for a static kernel object to be usable by a user thread via system
80 the calling thread's resource pool. Such allocations may be freed in two
90 cleared when a thread terminates. Supervisor threads may additionally
91 revoke references for another thread using
124 bitfield for an object to see if that thread has permission on it. The size
143 * If a supervisor thread calls :c:func:`k_thread_user_mode_enter`, the
144 thread will then run in user mode with any permissions it had been granted
[all …]
/Zephyr-latest/arch/arc/core/mpu/
Darc_core_mpu.c20 void configure_mpu_thread(struct k_thread *thread) in configure_mpu_thread() argument
23 arc_core_mpu_configure_thread(thread); in configure_mpu_thread()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_udp.c55 struct k_thread thread; member
269 k_thread_join(&smp_udp_configs.ipv4.thread, K_NO_WAIT) == -EBUSY) { in smp_udp_open_iface()
276 k_thread_join(&smp_udp_configs.ipv6.thread, K_NO_WAIT) == -EBUSY) { in smp_udp_open_iface()
295 k_thread_create(&(conf->thread), conf->stack, in create_thread()
300 k_thread_name_set(&(conf->thread), name); in create_thread()
301 k_thread_start(&(conf->thread)); in create_thread()
309 if (k_thread_join(&smp_udp_configs.ipv4.thread, K_NO_WAIT) == 0 || in smp_udp_open()
320 if (k_thread_join(&smp_udp_configs.ipv6.thread, K_NO_WAIT) == 0 || in smp_udp_open()
342 if (k_thread_join(&smp_udp_configs.ipv4.thread, K_NO_WAIT) == -EBUSY) { in smp_udp_close()
343 k_thread_abort(&(smp_udp_configs.ipv4.thread)); in smp_udp_close()
[all …]
/Zephyr-latest/arch/arc/core/
Dfault.c58 const struct k_thread *thread = _current; in z_check_thread_stack_fail() local
60 if (!thread) { in z_check_thread_stack_fail()
66 if ((thread->base.user_options & K_USER) != 0) { in z_check_thread_stack_fail()
75 guard_end = thread->stack_info.start; in z_check_thread_stack_fail()
76 guard_start = (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
82 guard_end = thread->arch.priv_stack_start; in z_check_thread_stack_fail()
89 guard_end = thread->stack_info.start; in z_check_thread_stack_fail()
/Zephyr-latest/doc/kernel/services/synchronization/
Dcondvar.rst19 To wait for a condition to become true, a thread can make use of a condition
28 #. Puts the current thread in the condition variable queue.
30 Some other thread, when it changes said state, can then wake one (or more)
70 A thread can wait on a condition by calling :c:func:`k_condvar_wait`.
84 /* block this thread until another thread signals cond. While
86 * thread is woken up and the call returns.
97 one thread or by calling :c:func:`k_condvar_broadcast` for multiple threads.
120 one thread to another thread.
/Zephyr-latest/drivers/sensor/bosch/bmg160/
DKconfig41 bool "Use global thread"
47 bool "Use own thread"
57 int "Own thread priority"
61 The priority of the thread used for handling interrupts.
64 int "Own thread stack size"
68 The thread stack size.
/Zephyr-latest/drivers/sensor/bosch/bmm150/
DKconfig46 bool "Use global thread"
52 bool "Use own thread"
83 int "Own thread priority"
87 Priority of the thread used by the driver to handle interrupts.
90 int "Own thread stack size"
94 Stack size of thread used by the driver to handle interrupts.
/Zephyr-latest/arch/x86/include/ia32/
Dkernel_arch_func.h31 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set() argument
35 *(unsigned int *)(thread->callee_saved.esp) = value; in arch_thread_return_value_set()
/Zephyr-latest/arch/arm/include/cortex_m/
Dkernel_arch_func.h34 extern void z_arm_configure_dynamic_mpu_regions(struct k_thread *thread);
64 static ALWAYS_INLINE void arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set() argument
66 thread->arch.swap_return_value = value; in arch_thread_return_value_set()
/Zephyr-latest/samples/userspace/shared_mem/
DREADME.rst49 The PT thread sends a message followed by the encrypted version of the
50 message after sleeping. To send the message the PT thread checks a
52 the encrypt thread. After writing the buffer, the flag is set. The
53 encrypt thread copies the memory from the common buffer into the
54 encrypted thread's private memory when the flag is set and then clears
55 the flag. Once the encrypted thread receives the text string, it
58 thread. The third thread prints the CT to the console with a banner
/Zephyr-latest/samples/arch/smp/pi/
DREADME.rst24 This project outputs Pi values calculated by each thread and in the end total time
41 Pi value calculated by thread #0: 3141592653589793238462643383279502884197...
42 Pi value calculated by thread #1: 3141592653589793238462643383279502884197...
44 Pi value calculated by thread #14: 314159265358979323846264338327950288419...
45 Pi value calculated by thread #15: 314159265358979323846264338327950288419...
/Zephyr-latest/arch/posix/include/
Dkernel_arch_func.h31 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set() argument
33 thread->callee_saved.retval = value; in arch_thread_return_value_set()
/Zephyr-latest/drivers/sensor/wsen/wsen_tids_2521020222501/
DKconfig25 bool "Use global thread"
30 bool "Use own thread"
44 Priority of thread used by the driver to handle interrupts.
51 Stack size of thread used by the driver to handle interrupts.

12345678910>>...37