You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.7 KiB
50 lines
1.7 KiB
7 months ago
|
#ifndef _CHRE_SLPI_H
|
||
|
#define _CHRE_SLPI_H
|
||
|
/**
|
||
|
* Defines the FastRPC interface between CHRE running on the SLPI and the host
|
||
|
* daemon running on the AP.
|
||
|
*
|
||
|
* Note that the interface name gets prefixed to the function names in the
|
||
|
* generated sources, with an underscore separating them.
|
||
|
*
|
||
|
* Refer to the implementations of these functions in the CHRE code that runs on
|
||
|
* the SLPI for documentation covering the parameters, return values, etc.
|
||
|
*/
|
||
|
#include <AEEStdDef.h>
|
||
|
#ifndef __QAIC_HEADER
|
||
|
#define __QAIC_HEADER(ff) ff
|
||
|
#endif //__QAIC_HEADER
|
||
|
|
||
|
#ifndef __QAIC_HEADER_EXPORT
|
||
|
#define __QAIC_HEADER_EXPORT
|
||
|
#endif // __QAIC_HEADER_EXPORT
|
||
|
|
||
|
#ifndef __QAIC_HEADER_ATTRIBUTE
|
||
|
#define __QAIC_HEADER_ATTRIBUTE
|
||
|
#endif // __QAIC_HEADER_ATTRIBUTE
|
||
|
|
||
|
#ifndef __QAIC_IMPL
|
||
|
#define __QAIC_IMPL(ff) ff
|
||
|
#endif //__QAIC_IMPL
|
||
|
|
||
|
#ifndef __QAIC_IMPL_EXPORT
|
||
|
#define __QAIC_IMPL_EXPORT
|
||
|
#endif // __QAIC_IMPL_EXPORT
|
||
|
|
||
|
#ifndef __QAIC_IMPL_ATTRIBUTE
|
||
|
#define __QAIC_IMPL_ATTRIBUTE
|
||
|
#endif // __QAIC_IMPL_ATTRIBUTE
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
__QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_start_thread)(void) __QAIC_HEADER_ATTRIBUTE;
|
||
|
__QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_wait_on_thread_exit)(void) __QAIC_HEADER_ATTRIBUTE;
|
||
|
__QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_initialize_reverse_monitor)(void) __QAIC_HEADER_ATTRIBUTE;
|
||
|
__QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_stop_thread)(void) __QAIC_HEADER_ATTRIBUTE;
|
||
|
__QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_get_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* messageLen) __QAIC_HEADER_ATTRIBUTE;
|
||
|
__QAIC_HEADER_EXPORT int __QAIC_HEADER(chre_slpi_deliver_message_from_host)(const unsigned char* message, int messageLen) __QAIC_HEADER_ATTRIBUTE;
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif //_CHRE_SLPI_H
|