Home
last modified time | relevance | path

Searched full:objects (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/Zephyr-latest/doc/kernel/usermode/
Dkernelobjects.rst3 Kernel Objects
14 The set of known kernel objects and driver subsystems is defined in
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
31 or objects which themselves have been allocated from a runtime memory pool.
44 Kernel objects that are only used by supervisor threads have no restrictions
53 appears in the ELF symbol table. It is permitted to declare kernel objects
55 generated ELF file to find kernel objects and places their memory addresses
[all …]
Doverview.rst65 - We prevent use of device drivers or kernel objects not specifically granted,
80 - Use of kernel objects that are not in a proper initialization state.
105 logic for creating the tables of valid kernel objects, defining system calls,
111 for kernel objects should always be configured as supervisor-only.
114 assign them permissions to kernel objects. In general, all C and header
142 domains, or via kernel objects such as semaphores and pipes.
144 - User threads cannot directly access memory belonging to kernel objects.
145 Although pointers to kernel objects are used to reference them, actual
146 manipulation of kernel objects is done through system call interfaces. Device
147 drivers and threads stacks are also considered kernel objects. This ensures
[all …]
/Zephyr-latest/samples/bluetooth/peripheral_ots/src/
Dmain.c38 } objects[OBJ_POOL_SIZE]; variable
47 #define OTS_OBJ_ID_TO_OBJ_IDX(id) (((id) - BT_OTS_OBJ_ID_MIN) % ARRAY_SIZE(objects))
80 if (obj_cnt >= ARRAY_SIZE(objects)) { in ots_obj_created()
98 objects[index].name[0] = '\0'; in ots_obj_created()
100 created_desc->name = objects[index].name; in ots_obj_created()
154 *data = &objects[obj_index].data[offset]; in ots_obj_read()
156 /* Send even-indexed objects in 20 byte packets in ots_obj_read()
183 (void)memcpy(&objects[obj_index].data[offset], data, len); in ots_obj_write()
208 *data = &objects[obj_index].data[offset]; in ots_obj_cal_checksum()
258 cur_size = sizeof(objects[0].data) / 2; in ots_init()
[all …]
/Zephyr-latest/tests/kernel/obj_tracking/src/
Dmain.c54 zassert_equal(count, 2, "Wrong number of timer objects"); in ZTEST()
65 zassert_equal(count, 2, "Wrong number of mem_slab objects"); in ZTEST()
76 zassert_equal(count, 2, "Wrong number of semaphore objects"); in ZTEST()
87 zassert_equal(count, 2, "Wrong number of mutex objects"); in ZTEST()
98 zassert_equal(count, 2, "Wrong number of stack objects"); in ZTEST()
109 zassert_equal(count, 2, "Wrong number of message queue objects"); in ZTEST()
120 zassert_equal(count, 2, "Wrong number of mbox objects"); in ZTEST()
131 zassert_equal(count, 2, "Wrong number of pipe objects"); in ZTEST()
142 zassert_equal(count, 2, "Wrong number of queue objects"); in ZTEST()
153 zassert_equal(count, 2, "Wrong number of queue objects"); in ZTEST()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_priv.h97 struct resp_probe_objects objects; member
101 struct resp_probe_objects_array objects[4]; member
106 struct resp_probe_objects_array_array objects[2]; member
113 struct resp_probe_objects_array_array objects[2]; member
153 objects, recv_probe_objects_descr),
158 objects, 4, objects_len,
170 objects, 2, objects_len,
183 objects, 2, objects_len,
Dupdatehub.c272 "%s/%s/packages/%s/objects/%s", uri_path(type), in send_request()
858 i, metadata_any_boards.objects[i].objects_len); in z_impl_updatehub_probe()
859 for (size_t j = 0; j < metadata_any_boards.objects[i].objects_len; ++j) { in z_impl_updatehub_probe()
861 &metadata_any_boards.objects[i].objects[j].objects; in z_impl_updatehub_probe()
874 metadata_any_boards.objects[1].objects[0].objects.sha256sum) + 1; in z_impl_updatehub_probe()
883 metadata_any_boards.objects[1].objects[0].objects.sha256sum, in z_impl_updatehub_probe()
885 update_info.image_size = metadata_any_boards.objects[1].objects[0].objects.size; in z_impl_updatehub_probe()
892 i, metadata_some_boards.objects[i].objects_len); in z_impl_updatehub_probe()
893 for (size_t j = 0; j < metadata_some_boards.objects[i].objects_len; ++j) { in z_impl_updatehub_probe()
895 &metadata_some_boards.objects[i].objects[j].objects; in z_impl_updatehub_probe()
[all …]
/Zephyr-latest/subsys/bluetooth/services/ots/
DKconfig21 from all other objects, for easy exposure to a client. Enabling this will use one of the
22 objects given by BT_OTS_MAX_OBJ_CNT.
59 bool "Support patching of objects"
85 hex "Maximum number of objects that each service instance can store"
88 # object using the net_buf implementation is 2^16-1, the maximum number of objects is given
Dots_olcp_internal.h30 /* Order the objects.*/
32 /* Request the number of objects.*/
97 * to too many objects in the current list.
101 * to there being zero objects in the current list.
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_ots.c26 } objects[OBJ_POOL_SIZE]; variable
34 #define OTS_OBJ_ID_TO_OBJ_IDX(id) (((id) - BT_OTS_OBJ_ID_MIN) % ARRAY_SIZE(objects))
55 for (size_t i = 0; i < ARRAY_SIZE(objects); i++) { in get_object()
56 if (!objects[i].in_use) { in get_object()
57 objects[i].in_use = true; in get_object()
58 return &objects[i]; in get_object()
171 obj = &objects[obj_index]; in ots_obj_created()
205 obj = &objects[obj_index]; in ots_obj_deleted()
233 *data = &objects[obj_index].data[offset]; in ots_obj_read()
250 (void)memcpy(&objects[obj_index].data[offset], data, len); in ots_obj_write()
[all …]
/Zephyr-latest/tests/kernel/pending/
Dtestcase.yaml2 kernel.objects:
4 kernel.objects.minimallibc:
DREADME.txt1 Title: Preemptible Threads Pending on kernel Objects
6 kernel objects: FIFOs, LIFOs, semaphores and timers.
35 tc_start() - Test Preemptible Threads Pending on Kernel Objects
/Zephyr-latest/tests/kernel/obj_tracking/
Dtestcase.yaml2 kernel.objects.tracking:
5 kernel.objects.tracking.minimallibc:
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig.mpl73 bool "Support for media player objects"
79 Enables support for objects in the media player
80 Objects are used to give/get more information about e.g. media tracks.
86 int "Total memory size to use for storing the content of objects"
90 Sets the total memory size (in octets) to use for storing the content of objects.
DKconfig.mctl50 bool "Support for accessing objects on remote player"
56 This options enables support for accessing objects (tracks, groups,
/Zephyr-latest/doc/kernel/object_cores/
Dindex.rst7 perform operations on registered objects.
17 Objects of the same type are linked together via their respective object
22 tools to traverse all the objects in the system.
24 Object cores have been integrated into following kernel objects:
38 Developers are free to integrate them if desired into other objects within
43 A variety of kernel objects allow for the gathering and reporting of statistics.
53 The following table indicates both what objects have been integrated into the
74 :c:struct:`k_obj_type`. It must be initialized before any objects of that type
119 Kernel objects that have already been integrated into the object core framework
121 initialized. However, developers that wish to add their own objects into the
[all …]
/Zephyr-latest/include/zephyr/sys/
Dkobject.h26 * This enumeration needs to be kept in sync with the lists of kernel objects
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.
127 * as it is possible for such code to derive the addresses of kernel objects
130 * It is not possible to revoke permissions on public objects; once public,
227 * This function is specially helpful for thread stack objects because
228 * their sizes can vary. Other objects should probably look k_object_alloc().
/Zephyr-latest/cmake/bintools/armclang/
Dtarget.cmake9 SET(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> -rq <TARGET> <LINK_FLAGS> <OBJECTS>")
10 SET(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> -rq <TARGET> <LINK_FLAGS> <OBJECTS>")
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/
Dphil_obj_abstract.h21 * When using dynamic objects, the instances of the fork objects are placed
26 * When using static objects, references to each object must be put by hand in
/Zephyr-latest/kernel/
DKconfig.obj_core9 participating kernel objects and their respective types together
118 system objects into the object core framework. As these are internal
135 into kernel objects.
146 bool "Object core statistics for system level objects"
DKconfig.device41 int "Kernel objects initialization priority"
44 Kernel objects use this priority for initialization. This
/Zephyr-latest/include/zephyr/linker/common-rom/
Dcommon-rom-kernel-devices.ld8 * link in initialization objects for all objects that are
9 * automatically initialized by the kernel; the objects are
78 /* Build-time assignment of permissions to kernel objects to
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/
Dphil_obj_abstract.h21 * When using dynamic objects, the instances of the fork objects are placed
26 * When using static objects, references to each object must be put by hand in
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dinherit.c21 /* Kernel objects */
91 * - To the parent current thread grant permissions on kernel objects.
93 * kernel objects.
97 * permission on a kernel objects. That means child user thread caller
98 * already has permission on the thread objects being granted.
/Zephyr-latest/dts/bindings/usb-c/
Dusb-c-connector.yaml117 An array of source Power Data Objects (PDOs).
129 An array of sink Power Data Objects (PDOs).
141 An array of sink Vendor Defined Objects (VDOs).
157 An array of sink Vendor Defined Objects (VDOs).
/Zephyr-latest/tests/benchmarks/latency_measure/boards/
Dqemu_riscv64_qemu_virt_riscv64_smp.conf3 # To support the amount of thread objects in userspace

12345678910>>...13