2 * Copyright (c) 2013 TRUSTONIC LIMITED
5 * The present software is the confidential and proprietary information of
6 * TRUSTONIC LIMITED. You shall not disclose the present software and shall
7 * use it only in accordance with the terms of the license agreement you
8 * entered into with TRUSTONIC LIMITED. This software may be subject to
9 * export or import laws in certain countries.
12 #ifndef __DRAPIMCSYSTEM_H__
13 #define __DRAPIMCSYSTEM_H__
15 #include "DrApiCommon.h"
21 /** Get information about the implementation of the MobiCore Driver API version.
23 * @param drApiVersion pointer to Driver Api version.
24 * @returns DRAPI_OK if version has been set
25 * @returns any combination of DRAPI_ERROR_CREATE(Driver specific error code, MTK error code)
27 _DRAPI_EXTERN_C drApiResult_t
drApiGetVersion(
28 uint32_t *drApiVersion
);
30 /** Install fastcall handler
32 * @param entryTable pointer to entry table.
33 * @param fastcallId fastcall ID.
34 * @returns DRAPI_OK if version has been set
35 * @returns any combination of DRAPI_ERROR_CREATE(Driver specific error code, MTK error code)
37 _DRAPI_EXTERN_C drApiResult_t
drApiInstallFc(
38 void *entryTable
, uint32_t fastcallId
);
41 _DRAPI_EXTERN_C drApiResult_t
drApiFastCall(
42 uint32_t *fastcall_registers
,
48 #endif // __DRAPIMCSYSTEM_H__