xref: /rk3399_ARM-atf/docs/components/spd/trusty-dispatcher.rst (revision ced1711297347f24fee45e75e73c7767507a0982)
140d553cfSPaul BeesleyTrusty Dispatcher
240d553cfSPaul Beesley=================
340d553cfSPaul Beesley
440d553cfSPaul BeesleyTrusty is a a set of software components, supporting a Trusted Execution
540d553cfSPaul BeesleyEnvironment (TEE) on mobile devices, published and maintained by Google.
640d553cfSPaul Beesley
740d553cfSPaul BeesleyDetailed information and build instructions can be found on the Android
840d553cfSPaul BeesleyOpen Source Project (AOSP) webpage for Trusty hosted at
940d553cfSPaul Beesleyhttps://source.android.com/security/trusty
1040d553cfSPaul Beesley
1140d553cfSPaul BeesleyBoot parameters
12*83993177SPaul Beesley---------------
1340d553cfSPaul Beesley
1440d553cfSPaul BeesleyCustom boot parameters can be passed to Trusty by providing a platform
1540d553cfSPaul Beesleyspecific function:
1640d553cfSPaul Beesley
1740d553cfSPaul Beesley.. code:: c
1840d553cfSPaul Beesley
1940d553cfSPaul Beesley    void plat_trusty_set_boot_args(aapcs64_params_t *args)
2040d553cfSPaul Beesley
2140d553cfSPaul BeesleyIf this function is provided ``args->arg0`` must be set to the memory
2240d553cfSPaul Beesleysize allocated to trusty. If the platform does not provide this
2340d553cfSPaul Beesleyfunction, but defines ``TSP_SEC_MEM_SIZE``, a default implementation
2440d553cfSPaul Beesleywill pass the memory size from ``TSP_SEC_MEM_SIZE``. ``args->arg1``
2540d553cfSPaul Beesleycan be set to a platform specific parameter block, and ``args->arg2``
2640d553cfSPaul Beesleyshould then be set to the size of that block.
2740d553cfSPaul Beesley
2840d553cfSPaul BeesleySupported platforms
29*83993177SPaul Beesley-------------------
3040d553cfSPaul Beesley
3140d553cfSPaul BeesleyOut of all the platforms supported by Trusted Firmware-A, Trusty is only
3240d553cfSPaul Beesleyverified and supported by NVIDIA's Tegra SoCs.
33