/Zephyr-latest/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: 32 'user mode') we aim to protect against the following: 41 - A user thread will by default have read/write access to its own stack 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 51 - A user thread may have read/write access to the stacks of other user [all …]
|
D | mpu_userspace.rst | 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.
|
D | index.rst | 3 User Mode 7 which we call user mode. The current implementation is designed for devices 10 For details on creating threads that run in user mode, please see
|
/Zephyr-latest/tests/subsys/logging/log_core_additional/src/ |
D | log_test_user.c | 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() 81 LOG_INF("log from user, level %d\n", d); in ZTEST_USER()
|
/Zephyr-latest/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. 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 59 populated by the user. [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 42 * User mode networking does not support forwarding UDP ports on the host to
|
/Zephyr-latest/.github/ISSUE_TEMPLATE/ |
D | 006_nomination.md | 3 about: Nominate a GitHub user for additional rights on the Zephyr Project 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: 37 reviewed by the GitHub user that demonstrate the user's dedication to the
|
/Zephyr-latest/samples/userspace/syscall_perf/ |
D | README.rst | 10 user thread has to go through a system call compared to a supervisor thread that 17 This application creates a supervisor and a user thread. 19 current thread. The user thread has to go through a system call. 30 User thread: 18012 cycles 748 instructions 32 User thread: 20136 cycles 748 instructions 34 User thread: 18014 cycles 748 instructions
|
/Zephyr-latest/scripts/release/ |
D | bug_bash.py | 68 """Return a dict with (key = user, value = score)""" 71 user = p.user.login 72 tally[user] = tally.get(user, 0) + 1 77 """Return a dict with (key = score, value = list<user>) sorted in 81 for user, score in self.get_tally().items(): 83 rev_tally[score] = [user] 85 rev_tally[score].append(user) 94 """Return a dict with (key = score, value = user) sorted in 99 for user in users: 103 top_ten.append(tuple([score, user])) [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | scan.h | 42 * not add/remove any user. 65 * when another user that demands higher duty-cycle is being added. 66 * It is not allowed to add a user that was already added. 72 * If flag is set to @ref BT_LE_SCAN_USER_NONE, no user is being added. Instead, the 78 * @param flag user requesting the scanner 81 * @retval -EALREADY if the user is already enabled 85 * @retval -EBUSY if the scanner is updated in a different thread. The user was added but 98 * when a user that demands higher duty-cycle is being removed. 99 * Removing a user that was not added does not result in an error. 101 * This API allows removing the user why the scanner is running. [all …]
|
/Zephyr-latest/soc/nxp/imxrt/imxrt118x/ |
D | Kconfig | 43 and user program images and data. The boot ROM expects container data 46 # Note- This config present the offest between container header and user 50 hex "The offset between container header and user image" 53 The offset between container and user image. IF change the user image 55 value, this will make ROM could get the user image start address.
|
/Zephyr-latest/doc/kernel/services/other/ |
D | float.rst | 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. 146 user on a case-by-case basis. A "lazy save" algorithm is used during context 149 FPU user to a non-user thread, and then back to the original FPU user. 153 current FPU user context is saved in the thread object and the ISR is resumed 165 On the ARCv2 architecture, the kernel treats each thread as a non-user 166 or FPU user and the thread must be tagged by one of the [all …]
|
/Zephyr-latest/soc/raspberrypi/rpi_pico/rp2040/ |
D | Kconfig | 31 by the board definition, not the user. 37 Should be selected by the board definition, not the user. 43 by the board definition, not the user. 49 by the board definition, not the user. 55 by the board definition, not the user.
|
/Zephyr-latest/doc/build/dts/ |
D | zephyr-user-node.rst | 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 28 zephyr,user { 54 You can store :ref:`phandles <dt-phandles>` in ``/zephyr,user`` if you want to 63 zephyr,user { 100 The ``/zephyr,user`` node is a convenient place to store application-specific 110 zephyr,user {
|
/Zephyr-latest/tests/subsys/zbus/integration/src/ |
D | channels.c | 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-latest/tests/kernel/poll/src/ |
D | test_poll_fail.c | 16 * @brief Test API k_poll with error number events in user mode 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 175 * in user mode 199 * in user mode [all …]
|
/Zephyr-latest/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. Some of the provided data
|
/Zephyr-latest/boards/panasonic/pan1783/doc/ |
D | index.rst | 35 `pan1783_evb user guide`_ / `pan1783a_evb user guide`_ / `pan1783a_pa_evb user guide`_ 38 The User Guide contains (amongst other things) detailed information about 61 .. _pan1783_evb user guide: https://pideu.panasonic.de/development-hub/pan1783/evaluation_board/use… 62 .. _pan1783a_evb user guide: https://pideu.panasonic.de/development-hub/pan1783a/evaluation_board/u… 63 .. _pan1783a_pa_evb user guide: https://pideu.panasonic.de/development-hub/pan1783a_pa/evaluation_b…
|
/Zephyr-latest/tests/kernel/threads/dynamic_thread_stack/ |
D | testcase.yaml | 18 # Permutations of (pool | alloc | user) 26 kernel.threads.dynamic_thread.stack.no_pool.no_alloc.user: 40 kernel.threads.dynamic_thread.stack.no_pool.alloc.user: 54 kernel.threads.dynamic_thread.stack.pool.no_alloc.user: 68 kernel.threads.dynamic_thread.stack.pool.alloc.user:
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | arch_inlines.h | 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-latest/boards/waveshare/open103z/ |
D | waveshare_open103z.dts | 28 label = "User LED1"; 32 label = "User LED2"; 36 label = "User LED3"; 40 label = "User LED4"; 47 label = "User button"; 52 label = "User joystick ENTER"; 57 label = "User joystick RIGHT"; 62 label = "User joystick UP"; 67 label = "User joystick DOWN"; 72 label = "User joystick LEFT";
|
/Zephyr-latest/boards/openisa/rv32m1_vega/ |
D | rv32m1_vega_openisa_rv32m1.dtsi | 33 label = "User LD1"; 37 label = "User LD2"; 41 label = "User LD3"; 45 label = "User LD4"; 53 label = "User PWM LD1"; 57 label = "User PWM LD2"; 61 label = "User PWM LD3"; 68 label = "User SW2"; 73 label = "User SW3"; 78 label = "User SW4"; [all …]
|
/Zephyr-latest/boards/nxp/twr_ke18f/ |
D | twr_ke18f.dts | 62 label = "User LED D9"; 66 label = "User LED D8"; 70 label = "User LED D7"; 74 label = "User LED D6"; 79 label = "User Tricolor LED D5 (Red)"; 83 label = "User Tricolor LED D5 (Green)"; 87 label = "User Tricolor LED D5 (Blue)"; 95 label = "User PWM LED D9"; 99 label = "User PWM LED D8"; 103 label = "User PWM LED D7"; [all …]
|
/Zephyr-latest/boards/nxp/twr_kv58f220m/ |
D | twr_kv58f220m.dts | 45 label = "User LED D4"; 49 label = "User LED D3"; 53 label = "User LED D2"; 57 label = "User LED D1"; 64 label = "User SW2"; 69 label = "User SW3"; 74 label = "User SW4"; 79 label = "User SW5";
|
/Zephyr-latest/tests/benchmarks/latency_measure/src/ |
D | thread_switch_yield.c | 13 * When user threads are supported, there are four cases to consider. These are 15 * 2. User thread -> User thread 16 * 3. Kernel thread -> User thread 17 * 4. User thread -> Kernel thread 161 /* User -> User */ in thread_switch_yield() 165 /* Kernel -> User */ in thread_switch_yield() 169 /* User -> Kernel */ in thread_switch_yield()
|