summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libdce.c')
-rw-r--r--libdce.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdce.c b/libdce.c
index 7704613..108d8f3 100644
--- a/libdce.c
+++ b/libdce.c
@@ -50,7 +50,13 @@
50/* Handle used for Remote Communication */ 50/* Handle used for Remote Communication */
51MmRpc_Handle MmRpcHandle[MAX_REMOTEDEVICES] = { NULL}; 51MmRpc_Handle MmRpcHandle[MAX_REMOTEDEVICES] = { NULL};
52Engine_Handle gEngineHandle[MAX_INSTANCES][MAX_REMOTEDEVICES] = { {NULL, NULL}}; 52Engine_Handle gEngineHandle[MAX_INSTANCES][MAX_REMOTEDEVICES] = { {NULL, NULL}};
53
54#ifdef BUILDOS_LINUX
55pthread_mutex_t ipc_mutex;
56#else
53pthread_mutex_t ipc_mutex = PTHREAD_MUTEX_INITIALIZER; 57pthread_mutex_t ipc_mutex = PTHREAD_MUTEX_INITIALIZER;
58#endif
59
54static int __ClientCount[MAX_REMOTEDEVICES] = {0}; 60static int __ClientCount[MAX_REMOTEDEVICES] = {0};
55int dce_debug = DCE_DEBUG_LEVEL; 61int dce_debug = DCE_DEBUG_LEVEL;
56const String DCE_DEVICE_NAME[MAX_REMOTEDEVICES]= {"rpmsg-dce","rpmsg-dce-dsp"}; 62const String DCE_DEVICE_NAME[MAX_REMOTEDEVICES]= {"rpmsg-dce","rpmsg-dce-dsp"};