/Zephyr-latest/kernel/ |
D | CMakeLists.txt | 3 # 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 137 kernel 143 target_sources_ifdef(CONFIG_REQUIRES_STACK_CANARIES kernel PRIVATE compiler_stack_protect.c) [all …]
|
D | Kconfig.init | 30 A custom SoC hook soc_early_init_hook() is executed before the kernel and 38 A custom SoC hook soc_late_init_hook() is executed after the kernel and 55 A custom board hook board_early_init_hook() is executed before the kernel and 63 A custom board hook board_late_init_hook() is executed after the kernel and
|
/Zephyr-latest/scripts/footprint/ |
D | plan.txt | 1 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/benchmarks/latency_measure/ |
D | README.rst | 4 This benchmark measures the average latency of selected kernel capabilities, 32 * Kernel thread to kernel 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 : … 68 …thread.resume.kernel.from.kernel - Resume thread : … [all …]
|
/Zephyr-latest/doc/kernel/usermode/ |
D | overview.rst | 10 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 …]
|
D | kernelobjects.rst | 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`. 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 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 [all …]
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | kernel.c | 30 version_i->os_info.kernel = osv.kernel; in get_version_check() 65 .kernel = 0xfdfdfdfd, in ZTEST() 72 .kernel = 0xfbfbfbfb, in ZTEST() 83 zassert_equal(version.os_info.kernel, version_irq.os_info.kernel); in ZTEST()
|
/Zephyr-latest/subsys/shell/modules/kernel_service/ |
D | kernel_shell.c | 9 SHELL_SUBCMD_SET_CREATE(kernel_cmds, (kernel)); 10 SHELL_CMD_REGISTER(kernel, &kernel_cmds, "Kernel commands", NULL);
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | kernel.c | 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()
|
D | CMakeLists.txt | 12 kernel.c 23 ${ZEPHYR_BASE}/kernel/include
|
/Zephyr-latest/include/zephyr/ |
D | kernel_includes.h | 17 #error Please do not include kernel-specific headers directly, use <zephyr/kernel.h> instead
|
/Zephyr-latest/samples/kernel/ |
D | index.rst | 1 .. zephyr:code-sample-category:: kernel 6 These samples demonstrate how to use various kernel and scheduler features.
|
/Zephyr-latest/doc/kernel/services/threads/ |
D | system_threads.rst | 10 A :dfn:`system thread` is a thread that the kernel spawns automatically 13 The kernel spawns the following system threads: 16 This thread performs kernel initialization, then calls the application's 20 priority (i.e. 0). If the kernel is not configured to support preemptible 24 The main thread is an essential thread while it is performing kernel 45 Additional system threads may also be spawned, depending on the kernel 57 kernel initialization is complete. The kernel does not pass any arguments 59 kernel passes arguments to it and ``main(int, char **)`` can be used.
|
/Zephyr-latest/drivers/timer/ |
D | Kconfig.mec5 | 5 bool "Microchip MEC5 HAL kernel timer" 12 This module implements a kernel timer device driver for the 17 custom busy wait kernel API.
|
/Zephyr-latest/doc/hardware/arch/ |
D | xtensa.rst | 15 The kernel allows threads to use the HiFi Audio Engine DSP registers on boards 16 that support these registers. The kernel only supports the use of the HiFi 26 The kernel can be configured for an application to leverage the services 34 registers. It is the kernel's default HiFi services mode. 45 the HiFi registers, as the kernel does not attempt to detect 52 registers. When enabled, the kernel automatically allows all threads to use the 53 HiFi registers. During each thread context switch, the kernel saves the outgoing
|
/Zephyr-latest/tests/subsys/random/rng/ |
D | CMakeLists.txt | 7 zephyr_library_include_directories(${ZEPHYR_BASE}/kernel/include/) 13 ${ZEPHYR_BASE}/kernel/include
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | memory.ld | 11 * By default, the kernel is linked at its physical address and all addresses 22 * for all sections are relative to the base virtual address for the kernel. 32 #include <zephyr/kernel/mm.h> 38 /* Virtual base address for the kernel; with CONFIG_MMU this is not necessarily 51 /* "kernel RAM" for linker VMA allocations starts at the offset */ 67 /* Physical RAM location where the kernel image is loaded */ 79 #error Virtual kernel linking is not yet implemented for 64-bit 86 /* Address range where the kernel will be installed on a flash part (XIP), 93 /* Linear address range to link the kernel. If non-XIP, everything is
|
/Zephyr-latest/soc/andestech/ae350/common_linker/ |
D | ram_start_nonzero.ld | 8 * Workaround for RAM_BASE is zero in XIP system, kernel object 10 * ex: tests/kernel/queue, k_queue_get() return k_queue address
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | virtual_memory.rst | 14 Default is to do 1:1 mapping for the kernel image (including code and data) 40 These are the Kconfigs that need to be enabled or defined for kernel to support 44 kernel. 53 * :kconfig:option:`CONFIG_KERNEL_VM_OFFSET`: kernel image starts at this offset 60 virtual and physical addresses, instead of kernel choosing addresses within 80 | main kernel | 112 script. This is the virtual address of the beginning of the kernel image at 116 script. This is the virtual address of the end of the kernel image at boot time. 127 is the end of the kernel image. 129 * ``K_MEM_VM_RESERVED`` is an area reserved to support kernel functions. For example, [all …]
|
/Zephyr-latest/doc/kernel/services/ |
D | index.rst | 6 The Zephyr kernel lies at the heart of every Zephyr application. It provides 10 uses the kernel's features to create a complete application. 12 The configurable nature of the kernel allows you to incorporate only those 21 can also be developed using the Zephyr kernel. Examples of such systems 27 These pages cover basic kernel services related to thread scheduling and 51 These pages cover kernel objects which can be used to pass data between 116 These pages cover other kernel services.
|
/Zephyr-latest/doc/kernel/services/other/ |
D | float.rst | 6 The kernel allows threads to use floating point registers on board 16 The kernel does not support the use of floating point registers by ISRs. 25 The kernel can be configured to provide only the floating point services 27 which are described below. In addition, the kernel's support for the SSE 34 registers. It is the kernel's default floating point services mode. 37 the kernel generates a fatal error condition and aborts the thread. 45 On x86 platforms, the kernel initializes the floating point registers so they can 52 the floating point registers, as the kernel does not attempt to detect 60 the kernel supports one or more of the following thread sub-classes: 69 The kernel initializes and enables access to the floating point registers, [all …]
|
D | fatal.rst | 32 the kernel contains debug-type ``__ASSERT()`` statements; this reminder is 41 a default implementation with weak linkage which invokes a kernel oops if 42 the thread that failed the assertion was running in user mode, and a kernel 48 The ``__ASSERT()`` macro can be used inside kernel and application code to 51 to provide context to the assertion. In addition, the kernel will print 66 ASSERTION FAIL [foo == 0xF0CACC1A] @ ZEPHYR_BASE/tests/kernel/fatal/src/main.c:367 79 The ``__ASSERT_EVAL()`` macro can also be used inside kernel and application 147 tests/kernel/fatal/src/main.c: In function 'test_main': 151 tests/kernel/fatal/src/main.c:370:2: note: in expansion of macro 'BUILD_ASSERT' 158 A kernel oops is a software triggered fatal error invoked by [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.6.rst | 6 We are pleased to announce the release of Zephyr kernel version 1.6.0. This 17 * Introduced the Unified Kernel; the nano and micro kernel were removed. 20 * Unified kernel documentation was added and legacy nanokernel/microkernel 31 * Introduced the unified kernel. 39 * Renamed kernel objects event to alert and memory map to memory slab. 118 * Modified build infrastructure to support unified kernel. 120 * Imported get_maintainer.pl from Linux kernel. 162 * Added Unified kernel API samples. 224 * ``ZEP-912`` - Finish renaming kernel object types 225 * ``ZEP-916`` - Eliminate kernel object API anomalies [all …]
|
D | release-notes-1.13.rst | 8 We are pleased to announce the release of Zephyr kernel version 1.13.0. 30 * Remove kernel event manager, replaced by generic tracing interface 31 * Enhanced Timeout and Tick handling in kernel 277 * Improve test coverage for the kernel 301 * :github:`9744` - tests/kernel/mbox/mbox_usage/testcase.yaml#kernel.mailbox crashes on ESP32 308 …github:`9683` - Multiple testcases in tests/kernel/mem_protect/mem_protect, tests/kernel/alert, te… 309 * :github:`9682` - tests/kernel/init: kernel.common.init.verify_bootdelay fails on sam_e70_xplained 317 * :github:`9664` - tests/kernel/threads/thread_apis/kernel.threads.user_mode crases on QEMU-x86 341 * :github:`9611` - tests/kernel/sched/schedule_api/testcase.yaml#kernel.sched.slice_reset fails on … 342 * :github:`9609` - tests/kernel/mem_protect/stack_random: kernel.memory_protection.stack_random fai… [all …]
|
/Zephyr-latest/samples/synchronization/ |
D | README.rst | 5 Manipulate basic kernel synchronization primitives. 10 A simple application that demonstrates basic sanity of the kernel. 13 are generated. This demonstrates that kernel scheduling, communication,
|