| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

tee_smc.h
Go to the documentation of this file.
1
9 #pragma once
10
11 #include <stdint.h>
12 #include <tee_internal_api.h>
13 #include <driver/smc/smc.h>
14
18 #define U(n) ((unsigned int)(n))
19
23 typedef int TEES_SMCHandle;
24
28 typedef struct smc_data TEES_SMCData;
29
35 DSO_EXPORT TEE_Result TEES_SMCInit(TEES_SMCHandle *handle);
36
42 DSO_EXPORT TEE_Result TEES_SMCFini(TEES_SMCHandle handle);
43
81 DSO_EXPORT TEE_Result TEES_SMCCommand(TEES_SMCHandle handle, TEES_SMCData *data);
82
TEES_SMCHandle
int TEES_SMCHandle
SMC interface handle.
Definition: tee_smc.h:23
TEES_SMCInit
TEE_Result TEES_SMCInit(TEES_SMCHandle *handle)
Initialize handler fields.
TEES_SMCCommand
TEE_Result TEES_SMCCommand(TEES_SMCHandle handle, TEES_SMCData *data)
Send SMC command to EL3.
smc_data
SMC command description.
Definition: smc.h:18
TEES_SMCFini
TEE_Result TEES_SMCFini(TEES_SMCHandle handle)
release SMC interface handle.