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
15#include <module/module/system_service.h>
16
18 struct system_service basic;
19};
20
21void native_system_service_log_message(enum log_priority log_priority, uint32_t log_entry,
22 struct log_handle const *log_handle, uint32_t param1,
23 uint32_t param2, uint32_t param3, uint32_t param4);
24
25AdspErrorCode native_system_service_safe_memcpy(void *RESTRICT dst, size_t maxlen,
26 const void *RESTRICT src, size_t len);
27
28AdspErrorCode native_system_service_safe_memmove(void *dst, size_t maxlen,
29 const void *src, size_t len);
30
31void *native_system_service_vec_memset(void *dst, int c, size_t len);
32
33AdspErrorCode native_system_service_create_notification(struct notification_params *params,
34 uint8_t *notification_buffer,
35 uint32_t notification_buffer_size,
36 struct notification_handle **handle);
37
38AdspErrorCode native_system_service_send_notif_msg(enum notification_target notification_target,
39 struct notification_handle *message,
40 uint32_t actual_payload_size);
41
42AdspErrorCode native_system_service_get_interface(enum interface_id id,
43 struct system_service_iface **iface);
44
46
47#ifdef __cplusplus
48} /* extern "C" */
49#endif
50
51#endif /* NATIVE_SYSTEM_SERVICE_H */
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_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