/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
D | main.c | 71 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/ |
D | mpu_userspace.rst | 7 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
|
D | mpu_stack_objects.rst | 9 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.
|
D | overview.rst | 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 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/ |
D | kobject-priv-stacks.ld | 23 #include <linker-kobject-prebuilt-priv-stacks.h> 31 #include <linker-kobject-prebuilt-priv-stacks.h> 46 for privileged stacks."
|
D | common-noinit.ld | 28 #include "kobject-priv-stacks.ld"
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | p4wq.h | 84 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/ |
D | log_immediate_test.c | 29 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/ |
D | timeout_order.c | 35 static K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_TIMEOUTS, STACKSIZE); 56 (void)k_thread_create(&threads[ii], stacks[ii], STACKSIZE, in ZTEST()
|
D | errno.c | 25 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/ |
D | mqueue.c | 21 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/ |
D | index.rst | 8 operation of the stacks and how they were implemented.
|
/Zephyr-Core-3.5.0/arch/arm/core/cortex_a_r/ |
D | CMakeLists.txt | 12 stacks.c
|
/Zephyr-Core-3.5.0/arch/x86/core/ |
D | Kconfig.intel64 | 30 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/ |
D | Kconfig.pthread | 14 int "Delay for reclaiming dynamic pthread stacks (ms)"
|
/Zephyr-Core-3.5.0/samples/philosophers/src/ |
D | main.c | 219 k_thread_create(&threads[i], &stacks[i][0], STACK_SIZE, in start_threads()
|
D | phil_obj_abstract.h | 159 static K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_PHIL, STACK_SIZE);
|
/Zephyr-Core-3.5.0/doc/hardware/porting/ |
D | arch.rst | 75 * 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/ |
D | ztress.c | 48 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/ |
D | response_big.html.bin | 31 …. 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/ |
D | response_big.html.bin | 31 …. Enhancements in security, device management capabilities, connectivity stacks and file systems c…
|
/Zephyr-Core-3.5.0/doc/kernel/services/ |
D | index.rst | 90 data_passing/stacks.rst
|
/Zephyr-Core-3.5.0/lib/os/ |
D | p4wq.c | 168 &pp->stacks[ssz * i], in static_init()
|
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/ |
D | ace-link.ld | 30 * 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/ |
D | kernel_service.c | 400 SHELL_CMD(stacks, NULL, "List threads stack usage.", cmd_kernel_stacks),
|