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.

Return

0 if successful, error code otherwise.

Parameters
  • [in] boot_message: Boot status code.

int platform_init(struct sof *sof)

Platform initialization entry, called during FW initialization.

Return

0 if successful, error code otherwise.

Parameters
  • [in] sof: Context.

int platform_context_save(struct sof *sof)

Platform specific context saving routine, called during DSP suspending.

Return

0 if successful, error code otherwise.

Parameters
  • [in] sof: Context.