Sound Open Firmware
Loading...
Searching...
No Matches
native_system_service.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright(c) 2023 - 2024 Intel Corporation. All rights reserved.
4 */
5
6#ifndef NATIVE_SYSTEM_SERVICE_H
7#define NATIVE_SYSTEM_SERVICE_H
8
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
16
20
22 struct log_handle const *log_handle, uint32_t param1,
23 uint32_t param2, uint32_t param3, uint32_t param4);
24
26 const void *RESTRICT src, size_t len);
27
29 const void *src, size_t len);
30
31void *native_system_service_vec_memset(void *dst, int c, size_t len);
32
34 uint8_t *notification_buffer,
35 uint32_t notification_buffer_size,
36 struct notification_handle **handle);
37
39 struct notification_handle *message,
40 uint32_t actual_payload_size);
41
43 struct system_service_iface **iface);
44
57 uint32_t version,
58 struct system_service_iface **iface);
59
61
62#ifdef __cplusplus
63} /* extern "C" */
64#endif
65
66#endif /* NATIVE_SYSTEM_SERVICE_H */
uint32_t AdspErrorCode
Defines error codes that are returned in the ADSP project.
Definition adsp_error_code.h:18
log_priority
Definition logger.h:12
System services provided by the base firmware to loadable modules.
interface_id
Definition system_service.h:82
notification_target
Definition system_service.h:62
#define RESTRICT
Definition system_service.h:26
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_send_notif_msg(enum notification_target notification_target, struct notification_handle *message, uint32_t actual_payload_size)
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_get_interface(enum interface_id id, struct system_service_iface **iface)
void * native_system_service_vec_memset(void *dst, int c, size_t len)
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.
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)
Definition native_system_service.h:17
struct system_service basic
Definition native_system_service.h:18
Definition system_service.h:33
Definition system_service.h:119