• Home
  • Raw
  • Download

Lines Matching +full:shared +full:- +full:memory

1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
3 * Copyright (c) 2015-2019, Linaro Limited
8 #include <linux/arm-smccc.h>
28 * Normal cached memory (write-back), shareable for SMP systems and not
36 * 32-bit registers.
44 * 65cb6b93-af0c-4617-8ed6-644a8d1140f8
75 * Used by non-secure world to figure out which Trusted OS is installed.
78 * Returns UUID in a0-4 in the same way as OPTEE_SMC_CALLS_UID
88 * Used by non-secure world to figure out which version of the Trusted OS
92 * Returns revision in a0-1 in the same way as OPTEE_SMC_CALLS_REVISION
93 * described above. May optionally return a 32-bit build identifier in a2,
114 * a3 Cache settings, not used if physical pointer is in a predefined shared
115 * memory area else per OPTEE_SMC_SHM_*
116 * a4-6 Not used
121 * a1-3 Not used
122 * a4-7 Preserved
126 * a1-3 Preserved
127 * a4-7 Preserved
131 * a1-2 RPC parameters
132 * a3-7 Resume information, must be preserved
153 * Get Shared Memory Config
155 * Returns the Secure/Non-secure shared memory config.
159 * a1-6 Not used
166 * a3 Cache settings of memory, as defined by the
168 * a4-7 Preserved
172 * a1-3 Not used
173 * a4-7 Preserved
192 * a2-6 Not used
198 * a2-7 Preserved
203 * a2-7 Preserved
207 /* Secure world has reserved shared memory for normal world to use */
209 /* Secure world can communicate via previously unregistered shared memory */
213 * Secure world supports commands "register/unregister shared memory",
214 * secure world accepts command buffers located in any parts of non-secure RAM
218 /* Secure world supports Shared Memory with a NULL buffer reference */
233 * Disable and empties cache of shared memory objects
235 * Secure world can cache frequently used shared memory objects, for
237 * function returns one shared memory reference to free. To disable the
243 * a1-6 Not used
248 * a1 Upper 32bit of a 64bit Shared memory cookie
249 * a2 Lower 32bit of a 64bit Shared memory cookie
250 * a3-7 Preserved
254 * a1-7 Preserved
258 * a1-7 Preserved
272 * Enable cache of shared memory objects
274 * Secure world can cache frequently used shared memory objects, for
281 * a1-6 Not used
286 * a1-7 Preserved
290 * a1-7 Preserved
301 * a1-3 Value of a1-3 when OPTEE_SMC_CALL_WITH_ARG returned
331 * Allocate memory for RPC parameter passing. The memory is used to hold a
336 * a1 Size in bytes of required argument memory
339 * a4-5 Not used
340 * a6-7 Resume information, must be preserved
345 * memory, (a1 == 0 && a2 == 0) if size was 0 or if memory can't
348 * memory, (a1 == 0 && a2 == 0) if size was 0 or if memory can't
351 * a4 Upper 32bits of 64bit Shared memory cookie used when freeing
352 * the memory or doing an RPC
353 * a5 Lower 32bits of 64bit Shared memory cookie used when freeing
354 * the memory or doing an RPC
355 * a6-7 Preserved
362 * Free memory previously allocated by OPTEE_SMC_RETURN_RPC_ALLOC
366 * a1 Upper 32bits of 64bit shared memory cookie belonging to this
367 * argument memory
368 * a2 Lower 32bits of 64bit shared memory cookie belonging to this
369 * argument memory
370 * a3-7 Resume information, must be preserved
374 * a1-2 Not used
375 * a3-7 Preserved
386 * a1-7 Resume information, must be preserved
390 * a1-7 Preserved
400 * - cmd the Request ID
401 * - ret return value of the request, filled in by normal world
402 * - num_params number of parameters for the request
403 * - params the parameters
404 * - param_attrs attributes of the parameters
408 * a1 Upper 32bit of a 64bit Shared memory cookie holding a
411 * a2 Lower 32bit of a 64bit Shared memory cookie holding a
414 * a3-7 Resume information, must be preserved
418 * a1-2 Not used
419 * a3-7 Preserved