Sound Open Firmware
Loading...
Searching...
No Matches
Platform API

Platform API specification. More...

Functions

int platform_boot_complete (uint32_t boot_message)
 Platform specific implementation of the On Boot Complete handler.
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.

Detailed Description

Platform API specification.

Function Documentation

◆ platform_boot_complete()

int platform_boot_complete ( uint32_t boot_message)

Platform specific implementation of the On Boot Complete handler.

Parameters
[in]boot_messageBoot status code.
Returns
0 if successful, error code otherwise.

◆ platform_context_save()

int platform_context_save ( struct sof * sof)

Platform specific context saving routine, called during DSP suspending.

Parameters
[in]sofContext.
Returns
0 if successful, error code otherwise.

◆ platform_init()

int platform_init ( struct sof * sof)

Platform initialization entry, called during FW initialization.

Parameters
[in]sofContext.
Returns
0 if successful, error code otherwise.