Home
last modified time | relevance | path

Searched refs:stacks (Results 1 – 25 of 52) sorted by relevance

123

/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/
Dmain.c71 static K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_PHIL, STACK_SIZE);
75 .stack_mem = &stacks[0][0],
81 .stack_mem = &stacks[1][0],
87 .stack_mem = &stacks[2][0],
93 .stack_mem = &stacks[3][0],
99 .stack_mem = &stacks[4][0],
105 .stack_mem = &stacks[5][0],
/Zephyr-Core-3.5.0/doc/kernel/usermode/
Dmpu_userspace.rst7 set of stacks. These stacks exist in a 1:1 relationship with each thread stack
8 defined in the system. The privileged stacks are created as a part of the
13 stacks, a lookup table, and a set of helper functions are created and added
Dmpu_stack_objects.rst9 Thread stacks are declared statically with :c:macro:`K_THREAD_STACK_DEFINE()`.
12 stacks are physically contiguous allocations. This contiguous allocation
13 has implications for the placement of stacks in memory, as well as the
39 constraints are used to place the stacks properly.
Doverview.rst44 - 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
147 drivers and threads stacks are also considered kernel objects. This ensures
167 - Thread stacks are defined in such a way that exceeding the specified stack
174 All kernel objects, thread stacks, and device driver instances must be defined
/Zephyr-Core-3.5.0/include/zephyr/linker/
Dkobject-priv-stacks.ld23 #include <linker-kobject-prebuilt-priv-stacks.h>
31 #include <linker-kobject-prebuilt-priv-stacks.h>
46 for privileged stacks."
Dcommon-noinit.ld28 #include "kobject-priv-stacks.ld"
/Zephyr-Core-3.5.0/include/zephyr/sys/
Dp4wq.h84 struct z_thread_stack_element *stacks; member
109 .stacks = &(_p4stacks_##name[0][0]), \
136 .stacks = &(_p4stacks_##name[0][0]), \
/Zephyr-Core-3.5.0/tests/subsys/logging/log_immediate/src/
Dlog_immediate_test.c29 K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_THREADS, STACK_SIZE);
64 tids[i] = k_thread_create(&threads[i], stacks[i], STACK_SIZE, in ZTEST()
/Zephyr-Core-3.5.0/tests/kernel/common/src/
Dtimeout_order.c35 static K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_TIMEOUTS, STACKSIZE);
56 (void)k_thread_create(&threads[ii], stacks[ii], STACKSIZE, in ZTEST()
Derrno.c25 static K_THREAD_STACK_ARRAY_DEFINE(stacks, N_THREADS, STACK_SIZE);
86 k_thread_create(&threads[ii], stacks[ii], STACK_SIZE, in ZTEST()
/Zephyr-Core-3.5.0/tests/posix/common/src/
Dmqueue.c21 K_THREAD_STACK_ARRAY_DEFINE(stacks, N_THR, STACKSZ);
88 pthread_attr_setstack(&attr[i], &stacks[i][0], STACKSZ); in ZTEST()
/Zephyr-Core-3.5.0/doc/connectivity/networking/
Dindex.rst8 operation of the stacks and how they were implemented.
/Zephyr-Core-3.5.0/arch/arm/core/cortex_a_r/
DCMakeLists.txt12 stacks.c
/Zephyr-Core-3.5.0/arch/x86/core/
DKconfig.intel6430 so they are typically smaller than the ISR stacks.
61 The more nesting allowed, the more room is required for IRQ stacks.
/Zephyr-Core-3.5.0/lib/posix/
DKconfig.pthread14 int "Delay for reclaiming dynamic pthread stacks (ms)"
/Zephyr-Core-3.5.0/samples/philosophers/src/
Dmain.c219 k_thread_create(&threads[i], &stacks[i][0], STACK_SIZE, in start_threads()
Dphil_obj_abstract.h159 static K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_PHIL, STACK_SIZE);
/Zephyr-Core-3.5.0/doc/hardware/porting/
Darch.rst75 * Switch stacks from MSP to PSP on Cortex-M.
490 Two types of thread stacks exist:
492 - "kernel" stacks defined with :c:macro:`K_KERNEL_STACK_DEFINE()` and related
496 reserved for privilege elevation stacks.
498 - "thread" stacks which typically use more memory, but are capable of hosting
499 thread running in user mode, as well as any use-cases for kernel stacks.
501 If :kconfig:option:`CONFIG_USERSPACE` is not enabled, "thread" and "kernel" stacks are
558 At present, Zephyr does not support stacks that grow upward.
637 Guard carve-outs for kernel stacks are uncommon and should be avoided if
642 This is the case when privilege elevation stacks are not inside the stack
[all …]
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/
Dztress.c48 K_THREAD_STACK_ARRAY_DEFINE(stacks, CONFIG_ZTRESS_MAX_THREADS, CONFIG_ZTRESS_STACK_SIZE);
366 tids[i] = k_thread_create(&threads[i], stacks[i], CONFIG_ZTRESS_STACK_SIZE, in ztress_execute()
/Zephyr-Core-3.5.0/samples/net/sockets/dumb_http_server/src/
Dresponse_big.html.bin31 …. Enhancements in security, device management capabilities, connectivity stacks and file systems c…
/Zephyr-Core-3.5.0/samples/net/sockets/dumb_http_server_mt/src/
Dresponse_big.html.bin31 …. Enhancements in security, device management capabilities, connectivity stacks and file systems c…
/Zephyr-Core-3.5.0/doc/kernel/services/
Dindex.rst90 data_passing/stacks.rst
/Zephyr-Core-3.5.0/lib/os/
Dp4wq.c168 &pp->stacks[ssz * i], in static_init()
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/
Dace-link.ld30 * best used for processor-local data (e.g. stacks) or shared data
354 * thread stacks, but applications can put symbols here too.
/Zephyr-Core-3.5.0/subsys/shell/modules/
Dkernel_service.c400 SHELL_CMD(stacks, NULL, "List threads stack usage.", cmd_kernel_stacks),

123