Home
last modified time | relevance | path

Searched +full:shared +full:- +full:memory (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/Zephyr-latest/include/zephyr/multi_heap/
Dshared_multi_heap.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public API for Shared Multi-Heap framework
28 * @brief Shared Multi-Heap (SMH) interface
29 * @defgroup shared_multi_heap Shared multi-heap interface
33 * The shared multi-heap manager uses the multi-heap allocator to manage a set
34 * of memory regions with different capabilities / attributes (cacheable,
35 * non-cacheable, etc...).
37 * All the different regions can be added at run-time to the shared multi-heap
39 * can be used by drivers or applications to request memory with certain
44 * - At boot time some platform code initialize the shared multi-heap
[all …]
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/
DREADME.rst1 .. zephyr:code-sample:: ivshmem-doorbell
3 :relevant-api: ivshmem
5 Use Inter-VM Shared Memory to exchange messages between two processes running on different
20 ivshmem-server needs to be available and running. The server is available in
21 Zephyr SDK or pre-built in some distributions. Otherwise, it is available in
24 ivshmem-client needs to be available as it is employed in this sample as an
25 external application. The same conditions of ivshmem-server applies to the
26 ivshmem-server, as it is also available via QEMU.
31 Building ivshmem-doorbell is as follows:
36 .. zephyr-app-commands::
[all …]
/Zephyr-latest/drivers/firmware/scmi/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
14 bool "SCMI transport based on shared memory and doorbells"
20 Enable support for SCMI transport based on shared memory
32 bool "SCMI shared memory (SHMEM) driver"
36 Enable support for SCMI shared memory (SHMEM) driver.
39 int "SCMI shared memory (SHMEM) initialization priority"
51 allocation scheme (i.e: use protocol-specific channels if
/Zephyr-latest/include/zephyr/drivers/
Dtee.h4 * SPDX-License-Identifier: Apache-2.0
14 * Copyright (c) 2015-2016, Linaro Limited
54 * It also can be presented as the separate secure co-processors. It allows system
58 * - tee_get_version() to get current TEE capabilities
59 * - tee_open_session() to open new session to the TA
60 * - tee_close_session() to close session to the TA
61 * - tee_cancel() to cancel session or invoke function
62 * - tee_invoke_func() to invoke function to the TA
63 * - tee_shm_register() to register shared memory region
64 * - tee_shm_unregister() to unregister shared memory region
[all …]
/Zephyr-latest/doc/kernel/memory_management/
Dshared_multi_heap.rst3 Shared Multi Heap
6 The shared multi-heap memory pool manager uses the multi-heap allocator to
7 manage a set of reserved memory regions with different capabilities /
8 attributes (cacheable, non-cacheable, etc...).
10 All the different regions can be added at run-time to the shared multi-heap
12 be used by drivers or applications to request memory with certain capabilities.
16 1. At boot time some platform code initialize the shared multi-heap framework
17 using :c:func:`shared_multi_heap_pool_init()` and add the memory regions to
21 2. Each memory region encoded in a :c:struct:`shared_multi_heap_region`
22 structure. This structure is also carrying an opaque and user-defined
[all …]
/Zephyr-latest/dts/common/nordic/
Dnrf5340_shared_sram_partition.dtsi5 * SPDX-License-Identifier: Apache-2.0
7 * This file specifies the default shared memory region used for inter-procesor
12 * expectations of the memory region used. If a board specific variant is
13 * used, it is up to the author to ensure the shared memory region resides in
14 * the memory range allocated to the non-secure image (sram0_ns).
16 * By default the last 64 kB of application core SRAM is allocated as shared
17 * memory (sram0_shared) which is divided in:
18 * - 32 kB CPUAPP to CPUNET communication (cpuapp_cpunet_ipc_shm)
19 * - 32 kB CPUNET to CPUAPP communication (cpunet_cpuapp_ipc_shm)
27 reserved-memory {
[all …]
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dipc_service_icmsg.rst8 memory footprint. The ICMsg backend is build on top of :ref:`spsc_pbuf`.
13 The ICMsg backend uses shared memory and MBOX devices for exchanging data.
14 Shared memory is used to store the data, MBOX devices are used to signal that
27 * If at least one of the cores uses data cache on shared memory, set the ``dcache-alignment`` value.
28 …This must be the largest value of the invalidation or the write-back size for both sides of the co…
29 You can skip it if none of the communication sides is using data cache on shared memory.
30 * Define two memory regions and assign them to ``tx-region`` and ``rx-region``
31 of an instance. Ensure that the memory regions used for data exchange are
40 Make sure that you set correct value of the ``dcache-alignment``.
46 .. code-block:: devicetree
[all …]
/Zephyr-latest/samples/subsys/ipc/openamp/boards/
Dmimxrt1170_evk_mimxrt1176_cm7_B.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
14 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
16 * Note that shared memory must have specific MPU attributes set.
18 ocram2_overlay: memory@202c0000{
19 compatible = "zephyr,memory-region", "mmio-sram";
21 zephyr,memory-region="OCRAM2_OVERLAY";
22 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
Dmimxrt1170_evk_mimxrt1176_cm7_A.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
14 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
16 * Note that shared memory must have specific MPU attributes set.
18 ocram2_overlay: memory@202c0000{
19 compatible = "zephyr,memory-region", "mmio-sram";
21 zephyr,memory-region="OCRAM2_OVERLAY";
22 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
Dmimxrt1160_evk_mimxrt1166_cm7.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
14 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
16 * Note that shared memory must have specific MPU attributes set.
18 ocram2_overlay: memory@202c0000{
19 compatible = "zephyr,memory-region", "mmio-sram";
21 zephyr,memory-region="OCRAM2_OVERLAY";
22 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
/Zephyr-latest/doc/services/virtualization/
Divshmem.rst3 Inter-VM Shared Memory
16 This is made possible by exposing a shared memory among parties via a feature
17 called ivshmem, which stands for inter-VM Shared Memory.
19 The two types are supported: a plain shared memory (ivshmem-plain) or a shared
20 memory with the ability for a VM to generate an interruption on another, and
21 thus to be interrupted as well itself (ivshmem-doorbell).
34 Because the doorbell version uses MSI-X vectors to support notification vectors,
41 ivshmem-v2
44 Zephyr also supports ivshmem-v2:
46 https://github.com/siemens/jailhouse/blob/master/Documentation/ivshmem-v2-specification.md
[all …]
/Zephyr-latest/drivers/tee/optee/
Doptee_smc.h1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2015-2021, Linaro Limited
11 * This file is exported by OP-TEE and is in kept in sync between secure
70 * Normal cached memory (write-back), shareable for SMP systems and not
78 * 32-bit registers.
86 * 384fb3e0-e7f8-11e3-af63-0002a5d5c51b.
110 * Used by non-secure world to figure out which Trusted OS is installed.
113 * Returns UUID in a0-4 in the same way as OPTEE_SMC_CALLS_UID
123 * Used by non-secure world to figure out which version of the Trusted OS
127 * Returns revision in a0-1 in the same way as OPTEE_SMC_CALLS_REVISION
[all …]
Doptee_rpc_cmd.h1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2016-2021, Linaro Limited
14 * RPC communication with tee-supplicant is reversed compared to normal
23 * 1970-01-01 00:00:00 +0000 (UTC).
39 * which instead is sent via a non-secure interrupt.
61 * Allocate a piece of shared memory
63 * [in] value[0].a Type of memory one of
70 /* Memory that can be shared with a non-secure user space application */
72 /* Memory only shared with non-secure kernel */
76 * Free shared memory previously allocated with OPTEE_RPC_CMD_SHM_ALLOC
[all …]
Doptee_msg.h1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2015-2020, Linaro Limited
15 * This file defines the OP-TEE message protocol used to communicate
16 * with an instance of OP-TEE running in secure world.
20 * Part 1 - formatting of messages
48 * Pointer to a list of pages used to register user-defined SHM buffer.
51 * list of page addresses. OP-TEE core can reconstruct contiguous buffer from
63 * uint64_t pages_array[OPTEE_MSG_NONCONTIG_PAGE_SIZE/sizeof(uint64_t) - 1];
76 * Memory attributes for caching passed with temp memrefs. The actual value
79 * defined for the memory range should be used. If optee_smc.h is used as
[all …]
/Zephyr-latest/subsys/ipc/rpmsg_service/
Drpmsg_backend.h4 * SPDX-License-Identifier: Apache-2.0
23 #define SHM_SIZE (VDEV_SIZE - VDEV_STATUS_SIZE)
29 * @param io Shared memory IO region. This is an output parameter providing
30 * a pointer to an actual shared memory IO region structure.
32 * pointer to the shared memory IO region structure is stored.
/Zephyr-latest/subsys/ipc/ipc_service/lib/
DKconfig.icmsg2 # SPDX-License-Identifier: Apache-2.0
5 bool "Synchronize access to shared memory"
9 Provide synchronization access to shared memory at a library level.
11 multiple contexts. Mutex is used to guard access to the memory.
58 from the system work queue. The queue is shared among instances.
62 default -1
63 range -256 -1
74 range -256 -1 if !IPC_SERVICE_BACKEND_ICMSG_WQ_ENABLE
80 with read/write semantics on top of a memory region shared by the
81 reader and writer. It optionally embeds cache and memory barrier
/Zephyr-latest/dts/bindings/ipm/
Despressif,esp32-ipm.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "espressif,esp32-ipm"
14 shared-memory:
18 shared-memory-size:
/Zephyr-latest/subsys/ipc/ipc_service/backends/
DKconfig.rpmsg2 # SPDX-License-Identifier: Apache-2.0
11 created in the multi-instance / multi-core RPMsg backend module to
16 bool "Reset shared memory state"
18 Some platforms retain the memory content upon reset. This is
19 problematic because the backend expects a zero-ed memory to be
21 When this parameter is set to 'y' the status region of the shared
22 memory is reset on kernel initialization.
/Zephyr-latest/dts/bindings/mbox/
Despressif,mbox-esp32.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "espressif,mbox-esp32"
8 include: [base.yaml, mailbox-controller.yaml]
14 shared-memory:
18 shared-memory-size:
25 mbox-cells:
26 - channel
/Zephyr-latest/drivers/ethernet/
DKconfig.ivshmem4 # SPDX-License-Identifier: Apache-2.0
7 bool "Inter-VM shared memory Ethernet driver"
14 Enable Inter-VM Shared Memory Ethernet driver.
/Zephyr-latest/doc/hardware/arch/
Darm-scmi.rst13 ARM, which describes a set of OS-agnostic software interfaces used to perform
52 **0x80-0xFF** protocol ID range for vendor-specific protocols.
107 Shared memory and doorbell-based transport
110 This form of transport uses shared memory for reading/writing messages
111 and doorbells for signaling. The interaction with the shared
112 memory area is performed using a driver (:file:`drivers/firmware/scmi/shmem.c`),
116 Interacting with the shared memory area and signaling are abstracted by the
117 transport API, which is implemented by the shared memory and doorbell-based
123 #. Write message to the shared memory area.
125 …#. Platform reads message from shared memory area, processes it, writes the reply back to the same…
[all …]
/Zephyr-latest/samples/subsys/ipc/openamp/remote/boards/
Dmimxrt1160_evk_mimxrt1166_cm4.overlay2 * Copyright 2022-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
14 zephyr,shell-uart = &lpuart2;
19 /delete-node/ gpt@400f0000;
23 compatible = "nxp,gpt-hw-timer";
30 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
32 * Note that shared memory must have specific MPU attributes set
34 ocram2_overlay: memory@202c0000 {
35 compatible = "zephyr,memory-region", "mmio-sram";
[all …]
Dmimxrt1170_evk_mimxrt1176_cm4.overlay2 * Copyright 2022-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
14 zephyr,shell-uart = &lpuart2;
19 /delete-node/ gpt@400f0000;
23 compatible = "nxp,gpt-hw-timer";
30 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
32 * Note that shared memory must have specific MPU attributes set
34 ocram2_overlay: memory@202c0000 {
35 compatible = "zephyr,memory-region", "mmio-sram";
[all …]
Dmimxrt1170_evk_mimxrt1176_cm4_B.overlay4 * SPDX-License-Identifier: Apache-2.0
12 zephyr,shell-uart = &lpuart2;
17 /delete-node/ gpt@400f0000;
21 compatible = "nxp,gpt-hw-timer";
28 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
30 * Note that shared memory must have specific MPU attributes set
32 ocram2_overlay: memory@202c0000 {
33 compatible = "zephyr,memory-region", "mmio-sram";
35 zephyr,memory-region="OCRAM2_OVERLAY";
36 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
[all …]
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dapp_shared.c4 * SPDX-License-Identifier: Apache-2.0
9 /* Define the shared partition, which will contain a memory region that
14 /* Define a memory pool to place in the shared area.

12345678910>>...15