| Samsung Internal API reference 2.0

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

- File List
- Globals

udf_interrupt.h
1 /*
2 * Copyright (C) 2012-2019, Samsung Electronics Co., Ltd.
3 *
4 * UDF interrupt management system calls
5 */
6
7 #pragma once
8
9 #include <tee_internal_api.h>
10
13 typedef unsigned long TEES_UDF_InterruptHandle;
14
20 DSO_EXPORT TEE_Result TEES_UDF_RunInterruptsHandlerThread(void);
21
27 DSO_EXPORT TEE_Result TEES_UDF_StopInterruptsHandlerThread(void);
28
52 DSO_EXPORT TEE_Result TEES_UDF_AllocateInterrupt(int nr, TEES_UDF_InterruptHandle *intr);
53
73 DSO_EXPORT TEE_Result TEES_UDF_ReleaseInterrupt(TEES_UDF_InterruptHandle intr);
74
101 DSO_EXPORT TEE_Result TEES_UDF_GenerateInterrupt(TEES_UDF_InterruptHandle intr);
102
109 DSO_EXPORT TEE_Result TEES_UDF_CompleteInterrupt(TEES_UDF_InterruptHandle intr);
110
117 DSO_EXPORT TEE_Result TEES_UDF_ClearPendingInterrupt(TEES_UDF_InterruptHandle intr);
118
148 DSO_EXPORT TEE_Result TEES_UDF_WaitForInterrupt(TEES_UDF_InterruptHandle intr, uint32_t timeout_ms);