mirror of https://github.com/thesofproject/sof.git
module: Move adsp_error_code header to module
Moved header files to the module directory to separate an shared interface used by sof and native loadable modules. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
This commit is contained in:
parent
e4ae7ecae9
commit
68798e52a6
|
@ -14,7 +14,7 @@
|
|||
#include <stdint.h>
|
||||
#include <rtos/string.h>
|
||||
#include <utilities/array.h>
|
||||
#include <adsp_error_code.h>
|
||||
#include <module/iadk/adsp_error_code.h>
|
||||
#include <logger.h>
|
||||
#include <native_system_service.h>
|
||||
#include <system_agent_interface.h>
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
/* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
* Copyright(c) 2022 Intel Corporation. All rights reserved.
|
||||
* Copyright(c) 2022 - 2023 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* Author: Adrian Warecki <adrian.warecki@intel.com>
|
||||
*/
|
||||
|
||||
#ifndef _ADSP_ERROR_CODE_H_
|
||||
#define _ADSP_ERROR_CODE_H_
|
||||
#ifndef __MODULE_IADK_ADSP_ERROR_CODE_H__
|
||||
#define __MODULE_IADK_ADSP_ERROR_CODE_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -34,4 +36,4 @@ typedef uint32_t AdspErrorCode;
|
|||
/* Service is not supported on target platform. */
|
||||
#define ADSP_SERVICE_UNAVAILABLE 143
|
||||
|
||||
#endif /* _ADSP_ERROR_CODE_H_ */
|
||||
#endif /* __MODULE_IADK_ADSP_ERROR_CODE_H__ */
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef _ADSP_SYSTEM_ERROR_H_
|
||||
#define _ADSP_SYSTEM_ERROR_H_
|
||||
|
||||
#include "adsp_error_code.h"
|
||||
#include <module/iadk/adsp_error_code.h>
|
||||
|
||||
namespace intel_adsp
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "logger.h"
|
||||
#include "adsp_stddef.h"
|
||||
#include "adsp_error_code.h"
|
||||
#include <module/iadk/adsp_error_code.h>
|
||||
#include "native_system_service.h"
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -5,10 +5,12 @@
|
|||
/*! \file native_system_service.h */
|
||||
#ifndef NATIVE_SYSTEM_SERVICE_H
|
||||
#define NATIVE_SYSTEM_SERVICE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "logger.h"
|
||||
#include "adsp_stddef.h"
|
||||
#include "adsp_error_code.h"
|
||||
#include <stdint.h>
|
||||
#include <module/iadk/adsp_error_code.h>
|
||||
|
||||
/*! \brief This struct defines the obfuscating type for notifications. */
|
||||
typedef struct _adsp_notification_handle {} *adsp_notification_handle;
|
||||
|
|
Loading…
Reference in New Issue