Home
last modified time | relevance | path

Searched full:kernel (Results 1 – 25 of 3850) sorted by relevance

12345678910>>...154

/Zephyr-latest/tests/kernel/fpu_sharing/generic/
Dtestcase.yaml2 kernel.fpu_sharing.generic.arc:
9 - kernel
12 kernel.fpu_sharing.generic.arm:
19 - kernel
22 kernel.fpu_sharing.generic.arm64:
29 - kernel
31 kernel.fpu_sharing.generic.riscv32:
37 - kernel
40 kernel.fpu_sharing.generic.riscv64:
48 - kernel
[all …]
/Zephyr-latest/doc/kernel/usermode/
Doverview.rst10 isolated from other user mode threads and from the kernel. A flawed or
12 of another thread or the kernel, and cannot interfere with or
13 control another user mode thread or the kernel.
17 - The kernel can protect against many unintentional programming errors which
20 - The kernel can sandbox complex data parsers such as interpreters, network
22 cannot compromise the kernel or other threads.
24 - The kernel can support the notion of multiple logical "applications", each
60 on read-only basis, kernel-wide. This policy may be adjusted.
65 - We prevent use of device drivers or kernel objects not specifically granted,
69 - We validate kernel or driver API calls with incorrect parameters that would
[all …]
Dkernelobjects.rst3 Kernel Objects
6 A kernel object can be one of three classes of data:
8 * A core kernel object, such as a semaphore, thread, pipe, etc.
14 The set of known kernel objects and driver subsystems is defined in
15 include/kernel.h as :c:enum:`k_objects`.
17 Kernel objects are completely opaque to user threads. User threads work
18 with addresses to kernel objects when making API calls, but may never
20 All kernel objects must be placed in memory that is not accessible by
23 Since user threads may not directly manipulate kernel objects, all use of
25 a kernel object, checks are performed by system call handler functions
[all …]
/Zephyr-latest/kernel/
DCMakeLists.txt3 # kernel is a normal CMake library and not a zephyr_library because it
8 ${ZEPHYR_BASE}/include/zephyr/kernel.h
24 ${ZEPHYR_BASE}/include/zephyr/kernel/mm.h
30 ${ZEPHYR_BASE}/include/zephyr/kernel/mm/demand_paging.h
33 # If a pre-built static library containing kernel code exists in
42 add_library(kernel INTERFACE) target
43 target_link_libraries(kernel INTERFACE ${libkernel})
131 add_library(kernel ${kernel_files}) target
133 # Kernel files has the macro __ZEPHYR_SUPERVISOR__ set so that it
137 kernel
[all …]
/Zephyr-latest/tests/kernel/fatal/exception/
Dtestcase.yaml4 kernel.common.stack_protection:
13 - kernel
15 kernel.common.stack_protection_no_userspace:
20 - kernel
22 kernel.common.stack_protection_arm_fpu_sharing:
31 - kernel
35 kernel.common.stack_protection_armv8m_mpu_stack_guard:
40 - kernel
44 kernel.common.stack_sentinel:
48 tags: kernel
/Zephyr-latest/samples/philosophers/
Dsample.yaml7 - kernel
21 sample.kernel.philosopher: {}
22 sample.kernel.philosopher.same_prio:
24 sample.kernel.philosopher.static:
26 sample.kernel.philosopher.semaphores:
28 sample.kernel.philosopher.stacks:
30 sample.kernel.philosopher.fifos:
32 sample.kernel.philosopher.lifos:
34 sample.kernel.philosopher.preempt_only:
40 sample.kernel.philosopher.coop_only:
/Zephyr-latest/tests/kernel/smp/
Dtestcase.yaml4 kernel.multiprocessing.smp:
6 - kernel
10 kernel.multiprocessing.smp.minimallibc:
12 - kernel
19 kernel.multiprocessing.smp.affinity:
21 - kernel
28 kernel.multiprocessing.smp.affinity.custom_rom_offset:
30 - kernel
/Zephyr-latest/tests/kernel/sched/schedule_api/
Dtestcase.yaml5 - kernel
11 kernel.scheduler:
15 kernel.scheduler.no_timeslicing:
19 kernel.scheduler.slice_perthread:
24 kernel.scheduler.multiq:
28 kernel.scheduler.multiq_no_timeslicing:
32 kernel.scheduler.dumb_timeslicing:
36 kernel.scheduler.dumb_no_timeslicing:
/Zephyr-latest/include/zephyr/kernel/
Dobj_core.h19 * @brief Convert kernel object pointer into its object core pointer
28 /* Known kernel object types */
38 /** Kernel object type */
125 void *stats; /**< Pointer to kernel object's stats */
201 * @brief Initialize the core of the kernel object
203 * Initializing the kernel object core associates it with the specified
204 * kernel object type.
206 * @param obj_core Pointer to the kernel object to initialize
207 * @param type Pointer to the kernel object type
212 * @brief Link the kernel object to the kernel object type list
[all …]
/Zephyr-latest/tests/benchmarks/latency_measure/
DREADME.rst4 This benchmark measures the average latency of selected kernel capabilities,
32 * Kernel thread to kernel thread
33 * Kernel thread to user thread
34 * User thread to kernel thread
37 The default configuration builds only for the kernel. However, additional
63 …isr.resume.interrupted.thread.kernel - Return from ISR to interrupted thread : …
64 …isr.resume.different.thread.kernel - Return from ISR to another thread : …
65 …thread.create.kernel.from.kernel - Create thread : …
66 …thread.start.kernel.from.kernel - Start thread : …
67 …thread.suspend.kernel.from.kernel - Suspend thread : …
[all …]
/Zephyr-latest/scripts/footprint/
Dplan.txt1 footprints,default,frdm_k64f,tests/benchmarks/footprints,,benchmark.kernel.footprints.default
2 …64f,tests/benchmarks/footprints,-DCONF_FILE=prj_userspace.conf,benchmark.kernel.footprints.userspa…
3 footprints,default,disco_l475_iot1,tests/benchmarks/footprints,,benchmark.kernel.footprints.default
4 …ot1,tests/benchmarks/footprints,-DCONF_FILE=prj_userspace.conf,benchmark.kernel.footprints.userspa…
5 footprints,default,nrf5340dk/nrf5340/cpuapp,tests/benchmarks/footprints,,benchmark.kernel.footprint…
6 footprints,default,nrf51dk/nrf51822,tests/benchmarks/footprints,,benchmark.kernel.footprints.default
7 footprints,default,altera_max10,tests/benchmarks/footprints,,benchmark.kernel.footprints.default
8 footprints,default,hifive1_revb,tests/benchmarks/footprints,,benchmark.kernel.footprints.default
9 footprints,default,intel_ehl_crb,tests/benchmarks/footprints,,benchmark.kernel.footprints.default
10 …crb,tests/benchmarks/footprints,-DCONF_FILE=prj_userspace.conf,benchmark.kernel.footprints.userspa…
[all …]
/Zephyr-latest/tests/kernel/fatal/no-multithreading/
Dtestcase.yaml20 - kernel
24 kernel.no-mt.cpu_exception:
26 kernel.no-mt.oops:
28 kernel.no-mt.panic:
30 kernel.no-mt.zephyr_assert:
32 kernel.no-mt.arbitrary_reason:
34 kernel.no-mt.arbitrary_reason_negative:
/Zephyr-latest/tests/kernel/common/
Dtestcase.yaml4 - kernel
10 kernel.common: {}
11 kernel.common.tls:
18 kernel.common.misra:
27 kernel.common.minimallibc:
37 kernel.common.nano32:
49 kernel.common.nano64:
61 kernel.common.picolibc:
71 kernel.common.lto:
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dkernel.c9 #include <zephyr/kernel.h>
15 * @brief Get RTOS Kernel Information.
23 version->kernel = ver; in osKernelGetInfo()
29 SYS_KERNEL_VER_MAJOR(version->kernel), in osKernelGetInfo()
30 SYS_KERNEL_VER_MINOR(version->kernel), in osKernelGetInfo()
31 SYS_KERNEL_VER_PATCHLEVEL(version->kernel)); in osKernelGetInfo()
38 * @brief Lock the RTOS Kernel scheduler.
54 * @brief Unlock the RTOS Kernel scheduler.
70 * @brief Restore the RTOS Kernel scheduler lock state.
88 * @brief Get the RTOS kernel tick count.
[all …]
/Zephyr-latest/tests/benchmarks/app_kernel/
Dtestcase.yaml6 - kernel
11 benchmark.kernel.application:
15 benchmark.kernel.application.objcore.stats:
22 benchmark.kernel.application.user:
28 benchmark.kernel.application.user.objcore.stats:
37 benchmark.kernel.application.timeslicing:
43 benchmark.kernel.application.user.timeslicing:
/Zephyr-latest/tests/kernel/timer/timer_monotonic/
Dtestcase.yaml2 kernel.timer.monotonic:
4 - kernel
9 kernel.timer.monotonic.apic.tsc:
11 - kernel
18 kernel.timer.monotonic.icount_off:
21 - kernel
/Zephyr-latest/tests/kernel/spinlock/
Dtestcase.yaml2 kernel.multiprocessing.spinlock:
4 - kernel
10 kernel.multiprocessing.spinlock.minimallibc:
12 - kernel
22 kernel.multiprocessing.spinlock_fairness:
24 - kernel
/Zephyr-latest/include/zephyr/sys/
Dkobject.h24 * @brief Kernel Object Types
26 * This enumeration needs to be kept in sync with the lists of kernel objects
28 * function in kernel/userspace.c
37 * basic kernel objects (e.g. pipes and mutexes) and driver types.
54 * @brief Grant a static thread access to a list of kernel objects
57 * a set of kernel objects. These objects do not need to be in an initialized
61 * All arguments beyond the first must be pointers to kernel objects.
83 * Grant a thread access to a kernel object
89 * @param object Address of kernel object
96 * Revoke a thread's access to a kernel object
[all …]
/Zephyr-latest/subsys/bindesc/
DKconfig.version12 bool "Kernel version string"
14 The kernel version string, such as "3.4.0"
17 bool "Kernel version major"
22 bool "Kernel version minor"
27 bool "Kernel version patchlevel"
32 bool "Kernel version number"
34 The kernel version as binary coded decimal, computed as
39 bool "Kernel git reference"
41 The kernel git reference, such as "v3.3.0-18-g2c85d9224fca",
/Zephyr-latest/tests/kernel/threads/dynamic_thread_stack/
Dtestcase.yaml3 - kernel
20 kernel.threads.dynamic_thread.stack.no_pool.no_alloc.no_user:
26 kernel.threads.dynamic_thread.stack.no_pool.no_alloc.user:
33 kernel.threads.dynamic_thread.stack.no_pool.alloc.no_user:
40 kernel.threads.dynamic_thread.stack.no_pool.alloc.user:
48 kernel.threads.dynamic_thread.stack.pool.no_alloc.no_user:
54 kernel.threads.dynamic_thread.stack.pool.no_alloc.user:
61 kernel.threads.dynamic_thread.stack.pool.alloc.no_user:
68 kernel.threads.dynamic_thread.stack.pool.alloc.user:
/Zephyr-latest/tests/kernel/device/
Dtestcase.yaml4 - kernel
7 kernel.device:
13 kernel.device.metadata:
18 kernel.device.minimallibc:
29 kernel.device.pm:
38 kernel.device.linker_generator:
/Zephyr-latest/tests/kernel/context/
Dtestcase.yaml2 kernel.context:
3 tags: kernel
7 kernel.context.minimallibc:
10 - kernel
19 - kernel
/Zephyr-latest/tests/kernel/sched/deadline/
Dtestcase.yaml2 kernel.scheduler.deadline:
3 tags: kernel
4 kernel.scheduler.deadline.scalable:
5 tags: kernel
/Zephyr-latest/tests/kernel/pending/
Dtestcase.yaml2 kernel.objects:
3 tags: kernel
4 kernel.objects.minimallibc:
7 - kernel
/Zephyr-latest/tests/kernel/mem_protect/sys_sem/
Dtestcase.yaml2 kernel.memory_protection.sys_sem:
7 - kernel
9 kernel.memory_protection.sys_sem.nouser:
12 tags: kernel

12345678910>>...154