Skip to content

Commit b15e721

Browse files
committed
fastrpc: chrecd: interfaces: convert to interp3
Add the remote method definitions for the CHRE interface according to the 3rd format version.
1 parent eee667b commit b15e721

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

chrecd/interfaces/chre_slpi.def

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,18 @@
2727
HEXAGONRPC_DEFINE_REMOTE_METHOD(0, chre_slpi_start_thread, 0, 0, 0, 0)
2828
HEXAGONRPC_DEFINE_REMOTE_METHOD(1, chre_slpi_wait_on_thread_exit, 0, 0, 0, 0)
2929

30+
HEXAGONRPC_DEFINE_REMOTE_METHOD3_EMPTY(0, chre_slpi3_start_thread)
31+
32+
static inline int chre_slpi3_start_thread(const struct fastrpc_context *ctx)
33+
{
34+
return hexagonrpc(&chre_slpi3_start_thread_def, ctx);
35+
}
36+
37+
HEXAGONRPC_DEFINE_REMOTE_METHOD3_EMPTY(1, chre_slpi3_wait_on_thread_exit)
38+
39+
static inline int chre_slpi3_wait_on_thread_exit(const struct fastrpc_context *ctx)
40+
{
41+
return hexagonrpc(&chre_slpi3_wait_on_thread_exit_def, ctx);
42+
}
43+
3044
#endif /* INTERFACE_CHRE_SLPI_DEF */

0 commit comments

Comments
 (0)