Platform API

Location: include/sof/platform.h

group platform_api

Platform API specification.

Functions

int platform_boot_complete(uint32_t boot_message)

Platform specific implementation of the On Boot Complete handler.

Parameters:

boot_message[in] Boot status code.

Returns:

0 if successful, error code otherwise.

int platform_init(struct sof *sof)

Platform initialization entry, called during FW initialization.

Parameters:

sof[in] Context.

Returns:

0 if successful, error code otherwise.

int platform_context_save(struct sof *sof)

Platform specific context saving routine, called during DSP suspending.

Parameters:

sof[in] Context.

Returns:

0 if successful, error code otherwise.