xref: /rk3399_ARM-atf/docs/components/spd/trusty-dispatcher.rst (revision 40d553cfde38d4f68449c62967cd1ce0d6478750)
1*40d553cfSPaul BeesleyTrusty Dispatcher
2*40d553cfSPaul Beesley=================
3*40d553cfSPaul Beesley
4*40d553cfSPaul BeesleyTrusty is a a set of software components, supporting a Trusted Execution
5*40d553cfSPaul BeesleyEnvironment (TEE) on mobile devices, published and maintained by Google.
6*40d553cfSPaul Beesley
7*40d553cfSPaul BeesleyDetailed information and build instructions can be found on the Android
8*40d553cfSPaul BeesleyOpen Source Project (AOSP) webpage for Trusty hosted at
9*40d553cfSPaul Beesleyhttps://source.android.com/security/trusty
10*40d553cfSPaul Beesley
11*40d553cfSPaul BeesleyBoot parameters
12*40d553cfSPaul Beesley===============
13*40d553cfSPaul Beesley
14*40d553cfSPaul BeesleyCustom boot parameters can be passed to Trusty by providing a platform
15*40d553cfSPaul Beesleyspecific function:
16*40d553cfSPaul Beesley
17*40d553cfSPaul Beesley.. code:: c
18*40d553cfSPaul Beesley
19*40d553cfSPaul Beesley    void plat_trusty_set_boot_args(aapcs64_params_t *args)
20*40d553cfSPaul Beesley
21*40d553cfSPaul BeesleyIf this function is provided ``args->arg0`` must be set to the memory
22*40d553cfSPaul Beesleysize allocated to trusty. If the platform does not provide this
23*40d553cfSPaul Beesleyfunction, but defines ``TSP_SEC_MEM_SIZE``, a default implementation
24*40d553cfSPaul Beesleywill pass the memory size from ``TSP_SEC_MEM_SIZE``. ``args->arg1``
25*40d553cfSPaul Beesleycan be set to a platform specific parameter block, and ``args->arg2``
26*40d553cfSPaul Beesleyshould then be set to the size of that block.
27*40d553cfSPaul Beesley
28*40d553cfSPaul BeesleySupported platforms
29*40d553cfSPaul Beesley===================
30*40d553cfSPaul Beesley
31*40d553cfSPaul BeesleyOut of all the platforms supported by Trusted Firmware-A, Trusty is only
32*40d553cfSPaul Beesleyverified and supported by NVIDIA's Tegra SoCs.
33