Sound Open Firmware
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
*
3
* Copyright(c) 2018 Intel Corporation. All rights reserved.
4
*
5
* Author: Marcin Maka <marcin.maka@linux.intel.com>
6
*/
7
13
14
#ifndef __SOF_PLATFORM_H__
15
#define __SOF_PLATFORM_H__
16
17
#include <platform/platform.h>
18
19
#if !defined(__ASSEMBLER__) && !defined(LINKER)
20
21
#include <stdint.h>
22
23
struct
sof
;
24
29
30
/*
31
* APIs declared here are defined for every platform.
32
*/
33
39
int
platform_boot_complete
(uint32_t boot_message);
40
46
int
platform_init
(
struct
sof
*
sof
);
47
53
int
platform_context_save
(
struct
sof
*
sof
);
54
56
57
#endif
58
59
#endif
/* __SOF_PLATFORM_H__ */
platform_init
int platform_init(struct sof *sof)
Platform initialization entry, called during FW initialization.
platform_context_save
int platform_context_save(struct sof *sof)
Platform specific context saving routine, called during DSP suspending.
platform_boot_complete
int platform_boot_complete(uint32_t boot_message)
Platform specific implementation of the On Boot Complete handler.
sof
General firmware context.
Definition
sof.h:44
src
include
sof
platform.h
Generated by
1.15.0