diff options
author | davidcunado-arm <david.cunado@arm.com> | 2018-03-07 10:43:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 10:43:56 +0000 |
commit | dbf9f283163e1575fbcd25a64c2313771dfe3bb4 (patch) | |
tree | 8b14a35d7265175bb8f662f44f161aa73447a361 /docs | |
parent | 887f24029eeda1414ca77fc9d1375379054341a4 (diff) | |
parent | 0e9c7f27cdc11bc83d6ef0572e6b0aba43a91c22 (diff) |
Merge pull request #1239 from arve-android/trusty-fixes
Trusty fixes
Diffstat (limited to 'docs')
-rw-r--r-- | docs/spd/trusty-dispatcher.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/spd/trusty-dispatcher.rst b/docs/spd/trusty-dispatcher.rst index f1982ea7..10b111d6 100644 --- a/docs/spd/trusty-dispatcher.rst +++ b/docs/spd/trusty-dispatcher.rst @@ -8,6 +8,23 @@ Detailed information and build instructions can be found on the Android Open Source Project (AOSP) webpage for Trusty hosted at https://source.android.com/security/trusty +Boot parameters +=============== + +Custom boot parameters can be passed to Trusty by providing a platform +specific function: + +.. code:: c + + void plat_trusty_set_boot_args(aapcs64_params_t *args) + +If this function is provided ``args->arg0`` must be set to the memory +size allocated to trusty. If the platform does not provide this +function, but defines ``TSP_SEC_MEM_SIZE``, a default implementation +will pass the memory size from ``TSP_SEC_MEM_SIZE``. ``args->arg1`` +can be set to a platform specific parameter block, and ``args->arg2`` +should then be set to the size of that block. + Supported platforms =================== |