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
23struct sof;
24
29
30/*
31 * APIs declared here are defined for every platform.
32 */
33
39int platform_boot_complete(uint32_t boot_message);
40
46int platform_init(struct sof *sof);
47
54
56
57#endif
58
59#endif /* __SOF_PLATFORM_H__ */
int platform_init(struct sof *sof)
Platform initialization entry, called during FW initialization.
int platform_context_save(struct sof *sof)
Platform specific context saving routine, called during DSP suspending.
int platform_boot_complete(uint32_t boot_message)
Platform specific implementation of the On Boot Complete handler.
General firmware context.
Definition sof.h:44