| Samsung Internal API reference 2.0

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

- File List
- Globals

tee_interrupt.h
Go to the documentation of this file.
1
9 #ifndef _TEE_INTERRUPT_H_
10 #define _TEE_INTERRUPT_H_
11
12 #include <time.h>
13 #include <tee_internal_api.h>
14 #include <driver/interrupt/interrupt.h>
15
18 typedef int TEES_InterruptHandle;
19
61 DSO_EXPORT TEE_Result TEES_AllocateInterrupt(int nr, intruhandler handler, TEES_InterruptHandle *handle);
62
82 DSO_EXPORT TEE_Result TEES_ReleaseInterrupt(TEES_InterruptHandle handle);
83
127 DSO_EXPORT TEE_Result TEES_GenerateInterrupt(TEES_InterruptHandle handle);
128
175 DSO_EXPORT TEE_Result TEES_WaitForInterrupt(TEES_InterruptHandle handle, uint32_t timeout);
176
222 DSO_EXPORT TEE_Result TEES_CompleteInterrupt(TEES_InterruptHandle handle);
223
224 #endif /* _TEE_INTERRUPT_H_ */
225
time.h
Time header.
TEES_AllocateInterrupt
TEE_Result TEES_AllocateInterrupt(int nr, intruhandler handler, TEES_InterruptHandle *handle)
This function is used to allocate interrupt and register user handler.
TEES_GenerateInterrupt
TEE_Result TEES_GenerateInterrupt(TEES_InterruptHandle handle)
This function is used to generate interrupt.
TEES_InterruptHandle
int TEES_InterruptHandle
Definition: tee_interrupt.h:18
TEES_CompleteInterrupt
TEE_Result TEES_CompleteInterrupt(TEES_InterruptHandle handle)
This function is used to notify about interrupt arrival.
TEES_WaitForInterrupt
TEE_Result TEES_WaitForInterrupt(TEES_InterruptHandle handle, uint32_t timeout)
This function is used to wait for interrupt.
TEES_ReleaseInterrupt
TEE_Result TEES_ReleaseInterrupt(TEES_InterruptHandle handle)
This function is used to release interrupt.