Sound Open Firmware
Loading...
Searching...
No Matches
native_system_service.h File Reference
Include dependency graph for native_system_service.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  native_system_service
 

Functions

void native_system_service_log_message (enum log_priority log_priority, uint32_t log_entry, struct log_handle const *log_handle, uint32_t param1, uint32_t param2, uint32_t param3, uint32_t param4)
 
AdspErrorCode native_system_service_safe_memcpy (void *RESTRICT dst, size_t maxlen, const void *RESTRICT src, size_t len)
 
AdspErrorCode native_system_service_safe_memmove (void *dst, size_t maxlen, const void *src, size_t len)
 
void * native_system_service_vec_memset (void *dst, int c, size_t len)
 
AdspErrorCode native_system_service_create_notification (struct notification_params *params, uint8_t *notification_buffer, uint32_t notification_buffer_size, struct notification_handle **handle)
 
AdspErrorCode native_system_service_send_notif_msg (enum notification_target notification_target, struct notification_handle *message, uint32_t actual_payload_size)
 
AdspErrorCode native_system_service_get_interface (enum interface_id id, struct system_service_iface **iface)
 
AdspErrorCode native_system_service_get_interface_versioned (enum interface_id id, uint32_t version, struct system_service_iface **iface)
 Retrieve a versioned system service interface.
 

Variables

const struct native_system_service native_system_service
 

Function Documentation

◆ native_system_service_create_notification()

AdspErrorCode native_system_service_create_notification ( struct notification_params *  params,
uint8_t *  notification_buffer,
uint32_t  notification_buffer_size,
struct notification_handle **  handle 
)

◆ native_system_service_get_interface()

AdspErrorCode native_system_service_get_interface ( enum interface_id  id,
struct system_service_iface **  iface 
)

◆ native_system_service_get_interface_versioned()

AdspErrorCode native_system_service_get_interface_versioned ( enum interface_id  id,
uint32_t  version,
struct system_service_iface **  iface 
)

Retrieve a versioned system service interface.

Parameters
idService interface identifier.
versionRequested interface version.
ifaceLocation for the returned interface pointer.
Returns
ADSP_INVALID_PARAMETERS for invalid arguments. If the requested service has no provider, return ADSP_SERVICE_UNAVAILABLE without checking its version. A provider returns ADSP_SERVICE_VERSION_UNAVAILABLE when it exists but does not support the requested version.

◆ native_system_service_log_message()

void native_system_service_log_message ( enum log_priority  log_priority,
uint32_t  log_entry,
struct log_handle const *  log_handle,
uint32_t  param1,
uint32_t  param2,
uint32_t  param3,
uint32_t  param4 
)

◆ native_system_service_safe_memcpy()

AdspErrorCode native_system_service_safe_memcpy ( void *RESTRICT  dst,
size_t  maxlen,
const void *RESTRICT  src,
size_t  len 
)

◆ native_system_service_safe_memmove()

AdspErrorCode native_system_service_safe_memmove ( void *  dst,
size_t  maxlen,
const void *  src,
size_t  len 
)

◆ native_system_service_send_notif_msg()

AdspErrorCode native_system_service_send_notif_msg ( enum notification_target  notification_target,
struct notification_handle *  message,
uint32_t  actual_payload_size 
)

◆ native_system_service_vec_memset()

void * native_system_service_vec_memset ( void *  dst,
int  c,
size_t  len 
)

Variable Documentation

◆ native_system_service