Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion src/include/sof/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,22 @@
* Author: Marcin Maka <marcin.maka@linux.intel.com>
*/

/**
* \file include/sof/platform.h
* \brief Platform API definition
* \author Marcin Maka <marcin.maka@linux.intel.com>
*/

#ifndef __INCLUDE_SOF_PLATFORM_H__
#define __INCLUDE_SOF_PLATFORM_H__

#include <sof/sof.h>

/** \addtogroup platform_api Platform API
* Platform API specification.
* @{
*/

/*
* APIs declared here are defined for every platform.
*/
Expand All @@ -53,8 +64,10 @@ int platform_init(struct sof *sof);

/**
* \brief Called by the panic handler.
* \param[in] p Panic cause, one of SOF_IPC_PANIC_... codes.
* \param[in] p Panic cause, one of SOF_IPC_PANIC_... codes (see ipc.h).
*/
static inline void platform_panic(uint32_t p);

/** @}*/

#endif