xref: /aosp_15_r20/external/arm-trusted-firmware/docs/components/spd/trusty-dispatcher.rst (revision 54fd6939e177f8ff529b10183254802c76df6d08)
1*54fd6939SJiyong ParkTrusty Dispatcher
2*54fd6939SJiyong Park=================
3*54fd6939SJiyong Park
4*54fd6939SJiyong ParkTrusty is a a set of software components, supporting a Trusted Execution
5*54fd6939SJiyong ParkEnvironment (TEE) on mobile devices, published and maintained by Google.
6*54fd6939SJiyong Park
7*54fd6939SJiyong ParkDetailed information and build instructions can be found on the Android
8*54fd6939SJiyong ParkOpen Source Project (AOSP) webpage for Trusty hosted at
9*54fd6939SJiyong Parkhttps://source.android.com/security/trusty
10*54fd6939SJiyong Park
11*54fd6939SJiyong ParkBoot parameters
12*54fd6939SJiyong Park---------------
13*54fd6939SJiyong Park
14*54fd6939SJiyong ParkCustom boot parameters can be passed to Trusty by providing a platform
15*54fd6939SJiyong Parkspecific function:
16*54fd6939SJiyong Park
17*54fd6939SJiyong Park.. code:: c
18*54fd6939SJiyong Park
19*54fd6939SJiyong Park    void plat_trusty_set_boot_args(aapcs64_params_t *args)
20*54fd6939SJiyong Park
21*54fd6939SJiyong ParkIf this function is provided ``args->arg0`` must be set to the memory
22*54fd6939SJiyong Parksize allocated to trusty. If the platform does not provide this
23*54fd6939SJiyong Parkfunction, but defines ``TSP_SEC_MEM_SIZE``, a default implementation
24*54fd6939SJiyong Parkwill pass the memory size from ``TSP_SEC_MEM_SIZE``. ``args->arg1``
25*54fd6939SJiyong Parkcan be set to a platform specific parameter block, and ``args->arg2``
26*54fd6939SJiyong Parkshould then be set to the size of that block.
27*54fd6939SJiyong Park
28*54fd6939SJiyong ParkSupported platforms
29*54fd6939SJiyong Park-------------------
30*54fd6939SJiyong Park
31*54fd6939SJiyong ParkOut of all the platforms supported by Trusted Firmware-A, Trusty is only
32*54fd6939SJiyong Parkverified and supported by NVIDIA's Tegra SoCs.
33