![]() |
Samsung Internal API reference
2.0
|
Macros | |
| #define | U(n) ((unsigned int)(n)) |
| Defined for compatibility now. | |
Typedefs | |
| typedef int | TEES_SMCHandle |
| SMC interface handle. | |
| typedef struct smc_data | TEES_SMCData |
| SMC command data. | |
Functions | |
| TEE_Result | TEES_SMCInit (TEES_SMCHandle *handle) |
| Initialize handler fields. More... | |
| TEE_Result | TEES_SMCFini (TEES_SMCHandle handle) |
| release SMC interface handle. More... | |
| TEE_Result | TEES_SMCCommand (TEES_SMCHandle handle, TEES_SMCData *data) |
| Send SMC command to EL3. More... | |
| TEE_Result TEES_SMCCommand | ( | TEES_SMCHandle | handle, |
| TEES_SMCData * | data | ||
| ) |
#include <tee_smc.h>
Send SMC command to EL3.
| [in] | handle | SMC handle which contains device descriptor. |
| [in,out] | data | SMC command data. |
| TEE_SUCCESS | on success, error code otherwise. |
Example:
| TEE_Result TEES_SMCFini | ( | TEES_SMCHandle | handle | ) |
#include <tee_smc.h>
release SMC interface handle.
| [in] | handle | SMC handle which contains device descriptor. |
| TEE_SUCCESS | on success, error code otherwise. |
| TEE_Result TEES_SMCInit | ( | TEES_SMCHandle * | handle | ) |
#include <tee_smc.h>
Initialize handler fields.
| [out] | handle | Pointer to SMC handle which contains device descriptor. |
| TEE_SUCCESS | on success, error code otherwise. |