Remote Interface
Remote API
remote.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012-2014,2016,2017,2019-2022,2023 Qualcomm Technologies, Inc.
3  * All Rights Reserved.
4  * Confidential and Proprietary - Qualcomm Technologies, Inc.
5  */
6 #ifndef REMOTE_H
7 #define REMOTE_H
8 
9 #include <stdint.h>
10 #include <sys/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 #ifndef __QAIC_REMOTE
17 #define __QAIC_REMOTE(ff) ff
18 #endif
19 
20 #ifndef __QAIC_REMOTE_EXPORT
21 #ifdef _WIN32
22 #ifdef _USRDLL
23 #define __QAIC_REMOTE_EXPORT __declspec(dllexport)
24 #elif defined(STATIC_LIB)
25 #define __QAIC_REMOTE_EXPORT
26 #else
27 #define __QAIC_REMOTE_EXPORT __declspec(dllimport)
28 #endif
29 #else
30 #define __QAIC_REMOTE_EXPORT
31 #endif
32 #endif
33 
34 #ifndef __QAIC_RETURN
35 #ifdef _WIN32
36 #define __QAIC_RETURN _Success_(return == 0)
37 #else
38 #define __QAIC_RETURN
39 #endif
40 #endif
41 
42 #ifndef __QAIC_IN
43 #ifdef _WIN32
44 #define __QAIC_IN _In_
45 #else
46 #define __QAIC_IN
47 #endif
48 #endif
49 
50 #ifndef __QAIC_IN_CHAR
51 #ifdef _WIN32
52 #define __QAIC_IN_CHAR _In_z_
53 #else
54 #define __QAIC_IN_CHAR
55 #endif
56 #endif
57 
58 #ifndef __QAIC_IN_LEN
59 #ifdef _WIN32
60 #define __QAIC_IN_LEN(len) _Inout_updates_bytes_all_(len)
61 #else
62 #define __QAIC_IN_LEN(len)
63 #endif
64 #endif
65 
66 #ifndef __QAIC_OUT
67 #ifdef _WIN32
68 #define __QAIC_OUT _Out_
69 #else
70 #define __QAIC_OUT
71 #endif
72 #endif
73 
74 #ifndef __QAIC_INT64PTR
75 #ifdef _WIN32
76 #define __QAIC_INT64PTR uintptr_t
77 #else
78 #define __QAIC_INT64PTR uint64_t
79 #endif
80 #endif
81 
82 #ifndef __QAIC_REMOTE_ATTRIBUTE
83 #define __QAIC_REMOTE_ATTRIBUTE
84 #endif
85 
86 
87 #define REMOTE_SCALARS_METHOD_ATTR(dwScalars) (((dwScalars) >> 29) & 0x7)
88 
90 #define REMOTE_SCALARS_METHOD(dwScalars) (((dwScalars) >> 24) & 0x1f)
91 
93 #define REMOTE_SCALARS_INBUFS(dwScalars) (((dwScalars) >> 16) & 0x0ff)
94 
96 #define REMOTE_SCALARS_OUTBUFS(dwScalars) (((dwScalars) >> 8) & 0x0ff)
97 
99 #define REMOTE_SCALARS_INHANDLES(dwScalars) (((dwScalars) >> 4) & 0x0f)
100 
102 #define REMOTE_SCALARS_OUTHANDLES(dwScalars) ((dwScalars) & 0x0f)
103 
105 #define REMOTE_SCALARS_MAKEX(nAttr,nMethod,nIn,nOut,noIn,noOut) \
106  ((((uint32_t) (nAttr) & 0x7) << 29) | \
107  (((uint32_t) (nMethod) & 0x1f) << 24) | \
108  (((uint32_t) (nIn) & 0xff) << 16) | \
109  (((uint32_t) (nOut) & 0xff) << 8) | \
110  (((uint32_t) (noIn) & 0x0f) << 4) | \
111  ((uint32_t) (noOut) & 0x0f))
112 
113 #define REMOTE_SCALARS_MAKE(nMethod,nIn,nOut) REMOTE_SCALARS_MAKEX(0,nMethod,nIn,nOut,0,0)
114 
116 #define REMOTE_SCALARS_LENGTH(sc) (REMOTE_SCALARS_INBUFS(sc) +\
117  REMOTE_SCALARS_OUTBUFS(sc) +\
118  REMOTE_SCALARS_INHANDLES(sc) +\
119  REMOTE_SCALARS_OUTHANDLES(sc))
120 
122 #define ADSP_DOMAIN_ID 0
123 #define MDSP_DOMAIN_ID 1
124 #define SDSP_DOMAIN_ID 2
125 #define CDSP_DOMAIN_ID 3
126 #ifdef _QNX
127 #define CDSP1_DOMAIN_ID 4
128 #endif
129 
131 #define ADSP_DOMAIN_NAME "adsp"
132 #define MDSP_DOMAIN_NAME "mdsp"
133 #define SDSP_DOMAIN_NAME "sdsp"
134 #define CDSP_DOMAIN_NAME "cdsp"
135 #ifdef _QNX
136 #define CDSP1_DOMAIN_NAME "cdsp1"
137 #endif
138 
140 #define ADSP_DOMAIN "&_dom=adsp"
141 #define MDSP_DOMAIN "&_dom=mdsp"
142 #define SDSP_DOMAIN "&_dom=sdsp"
143 #define CDSP_DOMAIN "&_dom=cdsp"
144 #ifdef _QNX
145 #define CDSP1_DOMAIN "&_dom=cdsp1"
146 #endif
147 
149 #define ITRANSPORT_PREFIX "'\":;./\\"
150 
152 #define MAX_DOMAIN_URI_SIZE 12
153 
155 typedef struct domain_t {
157  int id;
160 } domain;
161 
163 typedef uint32_t remote_handle;
164 
166 typedef uint64_t remote_handle64;
167 
169 typedef struct {
171  void *pv;
173  size_t nLen;
174 } remote_buf;
175 
177 typedef struct {
179  uint64_t pv;
181  int64_t nLen;
182 } remote_buf64;
183 
185 typedef struct {
187  int32_t fd;
189  uint32_t offset;
191 
193 typedef struct {
195  int32_t fd;
197  uint32_t offset;
199  uint32_t len;
201 
203 typedef union {
207  remote_handle h;
209  remote_handle64 h64;
212 } remote_arg;
213 
215 typedef union {
219  remote_handle h;
221  remote_handle64 h64;
224 } remote_arg64;
225 
232 };
233 
235 typedef uint64_t fastrpc_async_jobid;
236 
238 typedef struct fastrpc_async_callback {
240  void (*fn)(fastrpc_async_jobid jobid, void* context, int result);
242  void *context;
244 
246 typedef struct fastrpc_async_descriptor {
250  fastrpc_async_jobid jobid;
254 
255 
263 
268 
273 
281 };
282 
289  uint32_t enable;
290 
303  uint32_t latency;
304 };
305 
310 typedef struct remote_dsp_capability {
312  uint32_t domain;
314  uint32_t attribute_ID;
316  uint32_t capability;
318 
319 
344 };
345 
349 #define FASTRPC_WAKELOCK_CONTROL_SUPPORTED 1
350 
357  uint32_t enable;
358 };
359 
367 typedef struct remote_rpc_get_domain {
369  int domain;
371 
378  int32_t value_size;
380  const char* path;
382  char* value;
383 };
384 
396 };
397 
404  int domain;
406  int prio;
409 };
410 
417  int domain;
419  int enable;
420 };
421 
428  int domain;
435 };
436 
448  int domain;
449 };
450 
457  int domain;
458 };
459 
467  int domain;
469  int enable;
470 };
471 
478 
487 };
488 
498  int domain;
501 };
502 
515 
526 typedef int (*fastrpc_notif_fn_t)(void *context, int domain, int session, remote_rpc_status_flags_t status);
527 
528 
536  void *context;
538  int domain;
542 
550  int domain;
553  uint32_t pd_initmem_size;
554 };
555 
565  char *domain_name;
567  uint32_t domain_name_len;
582  uint32_t session_id;
584 
592  char *domain_name;
594  uint32_t domain_name_len;
596  uint32_t session_id;
600 
606 typedef struct remote_rpc_get_uri {
608  char *domain_name;
610  uint32_t domain_name_len;
612  uint32_t session_id;
614  char *module_uri ;
616  uint32_t module_uri_len;
622  char *uri ;
624  uint32_t uri_len;
626 
647 };
648 
649 
668 
670  };
671 
684 
687 
695 
704 
718 
724 
726 };
727 
731 #define FASTRPC_ATTR_NONE 0
732 #define FASTRPC_ATTR_NON_COHERENT 2
734 #define FASTRPC_ATTR_COHERENT 4
737 #define FASTRPC_ATTR_KEEP_MAP 8
739 #define FASTRPC_ATTR_NOMAP 16
741 #define FASTRPC_ATTR_FORCE_NOFLUSH 32
743 #define FASTRPC_ATTR_FORCE_NOINVALIDATE 64
745 #define FASTRPC_ATTR_TRY_MAP_STATIC 128
764 #define REMOTE_MODE_PARALLEL 0
765 
772 #define REMOTE_MODE_SERIAL 1
773 
774 
775 #ifdef _WIN32
776 #include "remote_wos_ext.h"
777 #endif
778 
779 
787 
788 
797 
798 
805 
806 
817 __QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE(remote_handle64_control)(__QAIC_IN remote_handle64 h, __QAIC_IN uint32_t req, __QAIC_IN_LEN(datalen) void* data, __QAIC_IN uint32_t datalen) __QAIC_REMOTE_ATTRIBUTE;
818 
819 
833 
834 
847 
848 
867 __QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE(fastrpc_async_get_status)(__QAIC_IN fastrpc_async_jobid jobid,__QAIC_IN int timeout_us,__QAIC_OUT int *result);
868 
869 
881 
882 
894 __QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE(remote_mmap)(__QAIC_IN int fd, __QAIC_IN uint32_t flags, __QAIC_IN uint32_t vaddrin, __QAIC_IN int size, __QAIC_OUT uint32_t* vaddrout) __QAIC_REMOTE_ATTRIBUTE;
895 
896 
906 
907 
921 __QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE(remote_mem_map)(__QAIC_IN int domain, __QAIC_IN int fd, __QAIC_IN int flags, __QAIC_IN uint64_t virtAddr, __QAIC_IN size_t size, __QAIC_OUT uint64_t* remoteVirtAddr) __QAIC_REMOTE_ATTRIBUTE;
922 
923 
934 
935 
948 
949 
959 
960 
981 
982 
999 
1000 
1023 
1024 
1044 
1045 
1065 
1066 
1080 
1081 
1101 
1119 
1120 
1121 #ifdef __cplusplus
1122 }
1123 #endif
1124 
1125 #endif
int domain
Definition: remote.h:417
Definition: remote.h:631
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle64_open(__QAIC_IN_CHAR const char *name, __QAIC_OUT remote_handle64 *ph) __QAIC_REMOTE_ATTRIBUTE
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle_close(__QAIC_IN remote_handle h) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:342
Definition: remote.h:338
struct remote_rpc_effective_domain_id remote_rpc_effective_domain_id_t
Definition: remote.h:392
struct remote_rpc_get_uri remote_rpc_get_uri_t
fastrpc_async_notify_type
Definition: remote.h:227
Definition: remote.h:646
Definition: remote.h:632
Definition: remote.h:367
Definition: remote.h:708
char uri[MAX_DOMAIN_URI_SIZE]
Definition: remote.h:159
Definition: remote.h:272
Definition: remote.h:389
int domain
Definition: remote.h:550
Definition: remote.h:534
int domain
Definition: remote.h:369
remote_buf buf
Definition: remote.h:205
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle64_control(__QAIC_IN remote_handle64 h, __QAIC_IN uint32_t req, __QAIC_IN_LEN(datalen) void *data, __QAIC_IN uint32_t datalen) __QAIC_REMOTE_ATTRIBUTE
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle64_close(__QAIC_IN remote_handle64 h) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:636
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle64_invoke_async(__QAIC_IN remote_handle64 h, __QAIC_IN fastrpc_async_descriptor_t *desc, __QAIC_IN uint32_t dwScalars, __QAIC_IN remote_arg *pra) __QAIC_REMOTE_ATTRIBUTE
#define __QAIC_OUT
Definition: remote.h:70
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_mem_unmap(__QAIC_IN int domain, __QAIC_IN uint64_t remoteVirtAddr, __QAIC_IN size_t size) __QAIC_REMOTE_ATTRIBUTE
int(* fastrpc_notif_fn_t)(void *context, int domain, int session, remote_rpc_status_flags_t status)
Definition: remote.h:526
uint32_t session_id
Definition: remote.h:596
remote_rpc_status_flags
Definition: remote.h:508
uint64_t pv
Definition: remote.h:179
struct remote_rpc_notif_register remote_rpc_notif_register_t
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_munmap64(__QAIC_IN __QAIC_INT64PTR vaddrout, __QAIC_IN int64_t size) __QAIC_REMOTE_ATTRIBUTE
const char * path
Definition: remote.h:380
Definition: remote.h:496
Definition: remote.h:511
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_session_control(__QAIC_IN uint32_t req, __QAIC_IN_LEN(datalen) void *data, __QAIC_IN uint32_t datalen) __QAIC_REMOTE_ATTRIBUTE
fastrpc_async_callback_t cb
Definition: remote.h:252
void * context
Definition: remote.h:536
uint32_t capability
Definition: remote.h:316
char * value
Definition: remote.h:382
int domain
Definition: remote.h:457
#define __QAIC_IN
Definition: remote.h:46
Definition: remote.h:455
remote_dma_handle dma
Definition: remote.h:211
Definition: remote.h:215
Definition: remote.h:390
Definition: remote.h:395
__QAIC_REMOTE_EXPORT __QAIC_RETURN void *__QAIC_REMOTE() remote_register_fd(__QAIC_IN int fd, __QAIC_IN int size) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:644
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_mmap(__QAIC_IN int fd, __QAIC_IN uint32_t flags, __QAIC_IN uint32_t vaddrin, __QAIC_IN int size, __QAIC_OUT uint32_t *vaddrout) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:641
Definition: remote.h:415
__QAIC_REMOTE_EXPORT __QAIC_RETURN void __QAIC_REMOTE() remote_register_buf_attr(__QAIC_IN_LEN(size) void *buf, __QAIC_IN int size, __QAIC_IN int fd, __QAIC_IN int attr) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:193
int prio
Definition: remote.h:406
uint32_t len
Definition: remote.h:199
struct fastrpc_async_callback fastrpc_async_callback_t
Definition: remote.h:332
int domain
Definition: remote.h:448
char * domain_name
Definition: remote.h:608
session_control_req_id
Definition: remote.h:630
Definition: remote.h:635
Definition: remote.h:645
Definition: remote.h:510
Definition: remote.h:446
fastrpc_async_jobid jobid
Definition: remote.h:250
uint32_t enable
Definition: remote.h:357
Definition: remote.h:710
char * domain_name
Definition: remote.h:565
Definition: remote.h:310
Definition: remote.h:714
Definition: remote.h:267
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle_invoke_async(__QAIC_IN remote_handle h, __QAIC_IN fastrpc_async_descriptor_t *desc, __QAIC_IN uint32_t dwScalars, __QAIC_IN remote_arg *pra) __QAIC_REMOTE_ATTRIBUTE
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_munmap(__QAIC_IN uint32_t vaddrout, __QAIC_IN int size) __QAIC_REMOTE_ATTRIBUTE
uint32_t uri_len
Definition: remote.h:624
uint32_t session_name_len
Definition: remote.h:571
char * domain_name
Definition: remote.h:592
void * pv
Definition: remote.h:171
#define __QAIC_REMOTE(ff)
Definition: remote.h:17
Definition: remote.h:185
Definition: remote.h:229
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() fastrpc_munmap(__QAIC_IN int domain, __QAIC_IN int fd, __QAIC_IN void *addr, __QAIC_IN size_t length) __QAIC_REMOTE_ATTRIBUTE
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_mmap64(__QAIC_IN int fd, __QAIC_IN uint32_t flags, __QAIC_IN __QAIC_INT64PTR vaddrin, __QAIC_IN int64_t size, __QAIC_OUT __QAIC_INT64PTR *vaddrout) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:336
int domain
Definition: remote.h:467
int64_t nLen
Definition: remote.h:181
Definition: remote.h:633
Definition: remote.h:334
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle_invoke(__QAIC_IN remote_handle h, __QAIC_IN uint32_t dwScalars, __QAIC_IN remote_arg *pra) __QAIC_REMOTE_ATTRIBUTE
int stack_size
Definition: remote.h:408
int id
Definition: remote.h:157
uint32_t module_uri_len
Definition: remote.h:616
Definition: remote.h:637
handle_control_req_id
Definition: remote.h:388
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_register_dma_handle_attr(__QAIC_IN int fd, __QAIC_IN uint32_t len, __QAIC_IN uint32_t attr) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:335
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() fastrpc_release_async_job(__QAIC_IN fastrpc_async_jobid jobid)
#define __QAIC_IN_LEN(len)
Definition: remote.h:62
Definition: remote.h:563
#define MAX_DOMAIN_URI_SIZE
Definition: remote.h:152
uint32_t offset
Definition: remote.h:197
uint64_t fastrpc_async_jobid
Definition: remote.h:235
uint32_t pd_initmem_size
Definition: remote.h:553
#define __QAIC_INT64PTR
Definition: remote.h:78
Definition: remote.h:643
Definition: remote.h:723
struct domain_t domain
remote_dsp_attributes
Different types of DSP capabilities queried via remote_handle_control using DSPRPC_GET_DSP_INFO reque...
Definition: remote.h:329
Definition: remote.h:203
int32_t value_size
Definition: remote.h:378
Definition: remote.h:512
Definition: remote.h:169
Definition: remote.h:686
Definition: remote.h:638
char * session_name
Definition: remote.h:569
uint64_t remote_handle64
Definition: remote.h:166
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() fastrpc_mmap(__QAIC_IN int domain, __QAIC_IN int fd, __QAIC_IN void *addr, __QAIC_IN int offset, __QAIC_IN size_t length, __QAIC_IN enum fastrpc_map_flags flags) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:340
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_mem_map(__QAIC_IN int domain, __QAIC_IN int fd, __QAIC_IN int flags, __QAIC_IN uint64_t virtAddr, __QAIC_IN size_t size, __QAIC_OUT uint64_t *remoteVirtAddr) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:715
Definition: remote.h:330
int domain
Definition: remote.h:428
__QAIC_REMOTE_EXPORT __QAIC_RETURN void *__QAIC_REMOTE() remote_register_fd2(__QAIC_IN int fd, __QAIC_IN size_t size) __QAIC_REMOTE_ATTRIBUTE
#define __QAIC_REMOTE_EXPORT
__QAIC_REMOTE
Definition: remote.h:30
Definition: remote.h:711
struct remote_dsp_capability fastrpc_capability
int domain
Definition: remote.h:498
int32_t fd
Definition: remote.h:187
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle_control(__QAIC_IN uint32_t req, __QAIC_IN_LEN(datalen) void *data, __QAIC_IN uint32_t datalen) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:246
fastrpc_map_flags
Types of maps with cache maintenance.
Definition: remote.h:676
uint32_t remote_handle
Definition: remote.h:163
Definition: remote.h:717
#define __QAIC_IN_CHAR
Definition: remote.h:54
Definition: remote.h:465
int enable
Definition: remote.h:419
Definition: remote.h:634
uint32_t offset
Definition: remote.h:189
uint32_t domain
Definition: remote.h:312
remote_handle64 h64
Definition: remote.h:221
__QAIC_REMOTE_EXPORT __QAIC_RETURN void __QAIC_REMOTE() remote_register_buf(__QAIC_IN_LEN(size) void *buf, __QAIC_IN int size, __QAIC_IN int fd) __QAIC_REMOTE_ATTRIBUTE
remote_handle h
Definition: remote.h:207
remote_buf64 buf
Definition: remote.h:217
Definition: remote.h:485
Definition: remote.h:486
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_set_mode(__QAIC_IN uint32_t mode) __QAIC_REMOTE_ATTRIBUTE
__QAIC_REMOTE_EXPORT __QAIC_RETURN void __QAIC_REMOTE() remote_register_buf_attr2(__QAIC_IN_LEN(size) void *buf, __QAIC_IN size_t size, __QAIC_IN int fd, __QAIC_IN int attr) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:716
Definition: remote.h:426
Definition: remote.h:177
struct fastrpc_async_descriptor fastrpc_async_descriptor_t
Definition: remote.h:228
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() fastrpc_async_get_status(__QAIC_IN fastrpc_async_jobid jobid, __QAIC_IN int timeout_us, __QAIC_OUT int *result)
struct remote_rpc_get_domain remote_rpc_get_domain_t
int32_t fd
Definition: remote.h:195
Definition: remote.h:639
int enable
Definition: remote.h:469
char * uri
Definition: remote.h:622
void * context
Definition: remote.h:242
size_t nLen
Definition: remote.h:173
Definition: remote.h:713
int relative_thread_priority
Definition: remote.h:434
uint32_t domain_name_len
Definition: remote.h:594
Definition: remote.h:513
remote_dma_handle64 dma
Definition: remote.h:223
uint32_t attribute_ID
Definition: remote.h:314
uint32_t domain_name_len
Definition: remote.h:610
Definition: remote.h:393
Definition: remote.h:230
Definition: remote.h:394
char * module_uri
Definition: remote.h:614
Definition: remote.h:376
remote_rpc_latency_flags
Definition: remote.h:261
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_register_dma_handle(__QAIC_IN int fd, __QAIC_IN uint32_t len) __QAIC_REMOTE_ATTRIBUTE
uint32_t session_id
Definition: remote.h:612
uint32_t domain_name_len
Definition: remote.h:567
Definition: remote.h:509
Definition: remote.h:287
Definition: remote.h:694
remote_handle h
Definition: remote.h:219
Definition: remote.h:391
uint32_t session_id
Definition: remote.h:582
#define __QAIC_RETURN
Definition: remote.h:38
fastrpc_process_type
Definition: remote.h:484
Definition: remote.h:703
Definition: remote.h:355
Definition: remote.h:590
Definition: remote.h:339
uint32_t effective_domain_id
Definition: remote.h:598
Definition: remote.h:238
Definition: remote.h:606
remote_mem_map_flags
Definition: remote.h:653
Definition: remote.h:341
int domain
Definition: remote.h:538
Definition: remote.h:155
uint32_t effective_domain_id
Definition: remote.h:576
enum remote_rpc_status_flags remote_rpc_status_flags_t
Definition: remote.h:683
Definition: remote.h:706
uint32_t latency
Definition: remote.h:303
Definition: remote.h:709
Definition: remote.h:337
Definition: remote.h:548
Definition: remote.h:707
Definition: remote.h:402
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle_open(__QAIC_IN_CHAR const char *name, __QAIC_OUT remote_handle *ph) __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:640
int domain
Definition: remote.h:404
remote_handle64 h64
Definition: remote.h:209
Definition: remote.h:712
Definition: remote.h:667
uint32_t enable
Definition: remote.h:289
__QAIC_REMOTE_EXPORT __QAIC_RETURN int __QAIC_REMOTE() remote_handle64_invoke(__QAIC_IN remote_handle64 h, __QAIC_IN uint32_t dwScalars, __QAIC_IN remote_arg *pra) __QAIC_REMOTE_ATTRIBUTE
struct remote_rpc_reserve_new_session remote_rpc_reserve_new_session_t
Definition: remote.h:280
#define __QAIC_REMOTE_ATTRIBUTE
Definition: remote.h:83
Definition: remote.h:262
int process_type
Definition: remote.h:500
fastrpc_notif_fn_t notifier_fn
Definition: remote.h:540