Bootloader Driver API/interface file.
Go to the source code of this file.
Data Structures | |
struct | Bootloader_Params |
Parameters passed during Bootloader_open() More... | |
struct | Bootloader_Fxns |
Driver implementation callbacks. More... | |
struct | Bootloader_Config |
Bootloader driver configuration, these are filled by SysCfg based on the boot media selected. More... | |
struct | Bootloader_CpuInfo |
Data structure containing information related to a particular CPU, required for RPRC loading. More... | |
struct | Bootloader_BootImageInfo |
Data structure containing information related all CPUs, this will be filled by Bootloader_parseMultiCoreAppImage. More... | |
Macros | |
#define | BOOTLOADER_INVALID_ID (0xDEADBABE) |
Invalid ID magic number to be used for initializations. More... | |
#define | BOOTLOADER_MEDIA_MEM (0xB0070001) |
Boot media IDs. More... | |
#define | BOOTLOADER_MEDIA_FLASH (0xB0070002) |
#define | BOOTLOADER_MEDIA_EMMC (0xB0070003) |
Typedefs | |
typedef void * | Bootloader_Handle |
Handle to the Bootloader driver returned by Bootloader_open() More... | |
Bootloader driver implementation callbacks | |
typedef int32_t(* | Bootloader_imgOpenFxn) (void *args, Bootloader_Params *params) |
Driver implementation to open a specific bootloader driver - Memory, OSPI, UART, MMCSD etc. More... | |
typedef int32_t(* | Bootloader_imgReadFxn) (void *dstAddr, uint32_t length, void *args) |
Driver implementation to read from boot media using a specific bootloader driver - Memory, OSPI, UART, MMCSD etc. More... | |
typedef uint32_t(* | Bootloader_imgOffsetFxn) (void *args) |
Driver implementation to get the current offset in the boot media. More... | |
typedef void(* | Bootloader_imgSeekFxn) (uint32_t location, void *args) |
Driver implementation to read from boot media using a specific bootloader driver - Memory, OSPI, UART, MMCSD etc. More... | |
typedef void(* | Bootloader_imgCloseFxn) (void *handle, void *args) |
Driver implementation to close a specific bootloader driver - Memory, OSPI, UART, MMCSD etc. More... | |