/Zephyr-Core-3.6.0/doc/kernel/usermode/ |
D | overview.rst | 9 User mode threads are considered to be untrusted by Zephyr and are therefore 10 isolated from other user mode threads and from the kernel. A flawed or 11 malicious user mode thread cannot leak or modify the private data/resources 13 control another user mode thread or the kernel. 15 Example use-cases of Zephyr's user mode features: 17 - The kernel can protect against many unintentional programming errors which 20 - The kernel can sandbox complex data parsers such as interpreters, network 21 protocols, and filesystems such that malicious third-party code or data 24 - The kernel can support the notion of multiple logical "applications", each 31 For threads running in a non-privileged CPU state (hereafter referred to as [all …]
|
D | mpu_userspace.rst | 11 A post-build script :ref:`gen_kobject_list.py` scans the generated 16 During the process of dropping a thread to user mode, the privileged stack 21 During system calls, the user mode thread's access to the system call and the 22 passed-in parameters are all validated. The user mode thread is then elevated 25 thread is set back to user mode and the stack is restored to the user stack.
|
/Zephyr-Core-3.6.0/.github/ISSUE_TEMPLATE/ |
D | 006_nomination.md | 1 --- 3 about: Nominate a GitHub user for additional rights on the Zephyr Project 8 --- 20 Use this template to nominate a GitHub user for the Contributor role with 21 Triage permission level, which allows the user to add reviewers to a pull 26 ## GitHub User 28 Provide the following information about the GitHub user: 36 Add links to 3-5 GitHub pull requests, in the Zephyr project, authored or 37 reviewed by the GitHub user that demonstrate the user's dedication to the 42 …//docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-r…
|
/Zephyr-Core-3.6.0/tests/subsys/logging/log_core_additional/src/ |
D | log_test_user.c | 4 * SPDX-License-Identifier: Apache-2.0 20 LOG_MODULE_REGISTER(user); 23 * Test cases in this file run in user space to improve test coverage 31 LOG_INF("log from user"); in ZTEST_USER() 32 LOG_INF("log from user %d", d); in ZTEST_USER() 40 /* test log_hexdump_from_user() from user space */ 59 /* test log_generic() from user space */ 69 /* test log_filter_set from user space */ 75 /* test log_panic() from user space */ 80 LOG_INF("log from user\n"); in ZTEST_USER() [all …]
|
/Zephyr-Core-3.6.0/doc/connectivity/networking/ |
D | qemu_user_setup.rst | 3 Networking with QEMU User 27 More details about User Networking can be obtained from here: 33 In order to use SLIRP with Zephyr, the user has to set the Kconfig option to 34 enable User Networking. 36 .. code-block:: console 41 In the default configuration, Zephyr only enables User Networking, and does 46 In general, QEMU User Networking can take in a lot of arguments including, 50 * Information about network to use. This may be valuable if the user does 52 * Tell QEMU to start DHCP server at user-defined IP address. 57 offloads this to the user, and expects that they will provide arguments [all …]
|
D | armfvp_user_networking_setup.rst | 3 Networking with Arm FVP User Mode 11 using Arm FVP user mode networking with Zephyr. 16 User mode networking emulates a built-in IP router and DHCP server, and routes 17 TCP and UDP traffic between the guest and host. It uses the user mode socket 27 More details about Arm FVP user mode networking can be obtained from here: 28 https://developer.arm.com/documentation/100964/latest/Introduction-to-Fast-Models/User-mode-network… 30 Using Arm FVP User Mode Networking with Zephyr 33 Arm FVP user mode networking can be enabled in any applications and it doesn't 36 See :zephyr:code-sample:`dhcpv4-client` sample application. 42 * User mode networking does not support forwarding UDP ports on the host to
|
/Zephyr-Core-3.6.0/scripts/release/ |
D | bug_bash.py | 4 # SPDX-License-Identifier: Apache-2.0 6 """Query the Top-Ten Bug Bashers 8 This script will query the top-ten Bug Bashers in a specified date window. 11 ./scripts/bug-bash.py -t ~/.ghtoken -b 2021-07-26 -e 2021-08-07 12 GITHUB_TOKEN="..." ./scripts/bug-bash.py -b 2021-07-26 -e 2021-08-07 26 parser.add_argument('-a', '--all', dest='all', 28 parser.add_argument('-t', '--token', dest='tokenfile', 30 parser.add_argument('-s', '--start', dest='start', help='start date (YYYY-mm-dd)', 32 parser.add_argument('-e', '--end', dest='end', help='end date (YYYY-mm-dd)', 60 self._repo = gh.get_repo('zephyrproject-rtos/zephyr') [all …]
|
/Zephyr-Core-3.6.0/doc/kernel/services/other/ |
D | float.rst | 11 based on ARM Cortex-M SoCs supporting the Floating Point Extension, 46 be used by any thread (initialization in skipped on ARM Cortex-M platforms and 60 the kernel supports one or more of the following thread sub-classes: 62 * non-user: A thread that cannot use any floating point registers 64 * FPU user: A thread that can use the standard floating point registers 66 * SSE user: A thread that can use both the standard floating point registers 72 context switches to ensure the computations performed by each FPU user 73 or SSE user are not impacted by the computations performed by the other users. 75 ARM Cortex-M architecture (with the Floating Point Extension) 76 ------------------------------------------------------------- [all …]
|
/Zephyr-Core-3.6.0/samples/userspace/syscall_perf/ |
D | README.rst | 7 user thread has to go through a system call compared to a supervisor thread that 14 This application creates a supervisor and a user thread. 16 current thread. The user thread has to go through a system call. 25 .. code-block:: console 27 User thread: 18012 cycles 748 instructions 29 User thread: 20136 cycles 748 instructions 31 User thread: 18014 cycles 748 instructions
|
/Zephyr-Core-3.6.0/doc/build/dts/ |
D | zephyr-user-node.rst | 1 .. _dt-inferred-bindings: 2 .. _dt-zephyr-user: 4 The ``/zephyr,user`` node 7 Zephyr's devicetree scripts handle the ``/zephyr,user`` node as a special case: 14 This node is meant for sample code and user applications. It should not be 20 You can store numeric or array values in ``/zephyr,user`` if you want them to 25 .. code-block:: devicetree 28 zephyr,user { 40 .. code-block:: C 54 You can store :ref:`phandles <dt-phandles>` in ``/zephyr,user`` if you want to [all …]
|
/Zephyr-Core-3.6.0/soc/arm/rpi_pico/rp2/ |
D | Kconfig.soc | 5 # SPDX-License-Identifier: Apache-2.0 26 by the board definition, not the user. 32 Should be selected by the board definition, not the user. 38 by the board definition, not the user. 44 by the board definition, not the user. 50 by the board definition, not the user.
|
/Zephyr-Core-3.6.0/tests/benchmarks/latency_measure/ |
D | README.rst | 29 where possible, also test the above capabilities using various configurations involving user 33 * Kernel thread to user thread 34 * User thread to kernel thread 35 * User thread to user thread 39 *** Booting Zephyr OS build zephyr-v3.5.0-4267-g6ccdc31233a3 *** 40 …thread.yield.preemptive.ctx.k_to_k - Context switch via k_yield : … 41 …thread.yield.cooperative.ctx.k_to_k - Context switch via k_yield : … 42 …isr.resume.interrupted.thread.kernel - Return from ISR to interrupted thread : … 43 …isr.resume.different.thread.kernel - Return from ISR to another thread : … 44 …thread.create.kernel.from.kernel - Create thread : … [all …]
|
/Zephyr-Core-3.6.0/tests/kernel/threads/dynamic_thread_stack/ |
D | testcase.yaml | 5 - qemu_x86 6 - qemu_x86_nommu 7 - qemu_x86_64 8 - qemu_cortex_a53 9 - qemu_cortex_a53_smp 10 - qemu_cortex_m3 11 - qemu_riscv32 12 - qemu_riscv32e 13 - qemu_riscv64 14 - qemu_riscv64_smp [all …]
|
/Zephyr-Core-3.6.0/boards/arm/twr_kv58f220m/ |
D | twr_kv58f220m.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "twr_kv58f220m-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 33 zephyr,code-partition = &slot0_partition; 35 zephyr,shell-uart = &uart0; 36 zephyr,uart-pipe = &uart0; 40 compatible = "gpio-leds"; 43 label = "User LED D4"; 47 label = "User LED D3"; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/waveshare_open103z/ |
D | waveshare_open103z.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f1/stm32f103z(c-d-e)tx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 18 zephyr,shell-uart = &usart1; 25 compatible = "gpio-leds"; 28 label = "User LED1"; 32 label = "User LED2"; 36 label = "User LED3"; 40 label = "User LED4"; [all …]
|
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ticker/ |
D | ticker.c | 2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 55 uint8_t force:1; /* If non-zero, node timeout should 59 uint8_t start_pending:1; /* If non-zero, start is pending for 63 uint32_t ticks_periodic; /* If non-zero, interval 67 ticker_timeout_func timeout_func; /* User timeout function */ 73 uint32_t ticks_slot; /* Air-time reservation for node */ 82 uint32_t remainder_periodic;/* Sub-microsecond tick remainder 89 uint32_t remainder_current; /* Current sub-microsecond tick 139 /* Slot window re-schedule states */ [all …]
|
/Zephyr-Core-3.6.0/boards/riscv/rv32m1_vega/ |
D | rv32m1_vega.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 6 #include "rv32m1_vega-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 pwm-led0 = &blue_pwm_led; 16 pwm-led1 = &green_pwm_led; 17 pwm-led2 = &red_pwm_led; 18 blue-pwm-led = &blue_pwm_led; 19 green-pwm-led = &green_pwm_led; 20 red-pwm-led = &red_pwm_led; 30 compatible = "gpio-leds"; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/twr_ke18f/ |
D | twr_ke18f.dts | 2 * Copyright (c) 2019-2021 Vestas Wind Systems A/S 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <zephyr/dt-bindings/clock/kinetis_scg.h> 11 #include <zephyr/dt-bindings/pwm/pwm.h> 12 #include "twr_ke18f-pinctrl.dtsi" 13 #include <zephyr/dt-bindings/input/input-event-codes.h> 27 pwm-led0 = &orange_pwm_led; 28 pwm-led1 = &yellow_pwm_led; 29 pwm-led2 = &green_pwm_led; [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/zbus/integration/src/ |
D | channels.c | 3 * SPDX-License-Identifier: Apache-2.0 13 NULL, /* User data */ 23 NULL, /* User data */ 32 NULL, /* User data */ 41 NULL, /* User data */ 50 NULL, /* User data */ 59 NULL, /* User data */
|
/Zephyr-Core-3.6.0/boards/arm/pan1783/doc/ |
D | index.rst | 3 PAN1783, PAN1783A and PAN1783A-PA Evaluation Boards 9 The PAN1783, PAN1783A and PAN1783A-PA Evaluation Boards (pan1783_evb, 11 PAN1783A and PAN1783A-PA Modules which are based on the nRF5340 chipset 14 More information about the PAN1783, PAN1783A, PAN1783A-PA Modules and 32 PAN1783A-PA EVB 35 The PAN1783A-PA EVB essentially resembles a PAN1783 EVB, with the addition 42 `pan1783_evb user guide`_ / `pan1783a_evb user guide`_ / `pan1783a_pa_evb user guide`_ 45 The User Guide contains (amongst other things) detailed information about 53 The schematics for the PAN1783/PAN1783A/PAN1783A-PA Evaluation Boards are 54 …in the `download section PAN1783`_ / `download section PAN1783A`_ / `download section PAN1783A-PA`_ [all …]
|
/Zephyr-Core-3.6.0/tests/benchmarks/latency_measure/src/ |
D | thread_switch_yield.c | 2 * Copyright (c) 2012-2014 Wind River Systems, Inc. 5 * SPDX-License-Identifier: Apache-2.0 13 * When user threads are supported, there are four cases to consider. These are 14 * 1. Kernel thread -> Kernel thread 15 * 2. User thread -> User thread 16 * 3. Kernel thread -> User thread 17 * 4. User thread -> Kernel thread 108 priority - 1, start_options, K_FOREVER); in thread_switch_yield_common() 114 priority - 1, alt_options, K_FOREVER); in thread_switch_yield_common() 132 sum -= timestamp_overhead_adjustment(start_options, alt_options); in thread_switch_yield_common() [all …]
|
/Zephyr-Core-3.6.0/tests/kernel/poll/src/ |
D | test_poll_fail.c | 4 * SPDX-License-Identifier: Apache-2.0 16 * @brief Test API k_poll with error number events in user mode 30 k_poll(&events, -1, K_NO_WAIT); in ZTEST_USER() 34 * @brief Test API k_poll with error member of events in user mode 50 * @brief Test API k_poll with NULL sem event in user mode 72 * @brief Test API k_poll with NULL signal event in user mode 94 * @brief Test API k_poll with NULL fifo event in user mode 116 * @brief Test API k_poll with NULL message queue event in user mode 139 * @brief Test API k_poll_signal_init with NULL in user mode 155 * @brief Test API k_poll_signal_check with NULL object in user mode [all …]
|
/Zephyr-Core-3.6.0/boards/arm/nuvoton_pfm_m487/ |
D | nuvoton_pfm_m487.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include "nuvoton_pfm_m487-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 compatible = "nuvoton,pfm-m487", "nuvoton,m487"; 26 zephyr,shell-uart = &uart0; 32 compatible = "gpio-leds"; 35 label = "User LED Red"; 39 label = "User LED Yellow"; 43 label = "User LED Green"; [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/arch/xtensa/ |
D | arch_inlines.h | 5 * SPDX-License-Identifier: Apache-2.0 40 * @brief Read a user register. 42 * @param ur Name of user register. 44 * @return Value of user register. 52 * @brief Write to a user register. 54 * @param ur Name of user register. 55 * @param v Value to be written to user register.
|
/Zephyr-Core-3.6.0/doc/kernel/data_structures/ |
D | index.rst | 15 indicate what user data is "owned" by that node. Instead, the 17 user-defined struct. Macros are provided to retrieve a user struct 21 allocate node objects because the memory is provided by the user). 26 needed will be provided by the user.
|