Data Structures | |
struct | Hsmclient_ipcExportHeader |
IPC Load HSM Runtime. More... | |
struct | Hsmclient_ipcLoadHSM |
IPC Load HSM Runtime. More... | |
struct | Hsmclient_ipcLoadHSMResult |
IPC Load HSM Result. More... | |
Macros | |
#define | HSMCLIENT_IPC_EXPORT_VERSION (0x1U) |
This is the version number for the IPC Export Interface. The version number should be the same between the HSM Boot ROM and the R5 SBL. In the case of a mismatch the HSM Boot ROM will generate an error. More... | |
Enumerations | |
enum | Hsmclient_ipcExportMsgType { Hsmclient_ipcExportMsgType_LOAD_HSM = 0x9980A1D4U, Hsmclient_ipcExportMsgType_LOAD_HSM_RESULT = 0xA70915DEU } |
hsmclient IPC Message Type for HSMRt load function. More... | |
enum | Hsmclient_ipcLoadHSMStatus { Hsmclient_ipcLoadHSMStatus_SUCCESS = 0x4A43AB6CU, Hsmclient_ipcLoadHSMStatus_FAILURE = 0x7021AE4BU } |
IPC Load HSM Status. More... | |
Functions | |
static uint16_t | Hsmclient_computeIPCChecksum (uint8_t *ptrBuffer, uint32_t sizeMsg) |
This is a utility function which is used to compute the checksum on the provided buffer. More... | |
static void | Hsmclient_mboxRxISR (void *args) |
mailbox Rx ISR More... | |
static void | Hsmclient_mboxRxISRNonBlocking (void *args) |
Non blocking mailbox Rx ISR. More... | |
int32_t | Hsmclient_loadHSMRtFirmware (HsmClient_t *NotifyClient, const uint8_t *pHSMRt_firmware) |
Loads the HSMRt firmware. This is typically called by SBL. More... | |
int32_t | Hsmclient_loadHSMRtFirmwareNonBlocking (const uint8_t *pHSMRt_firmware) |
Loads the HSMRt firmware but does wait for ROM response and boot notification. This is typically called by SBL. More... | |
void | Hsmclient_updateBootNotificationRegister (void) |
Variables | |
volatile int32_t | gHsmrtLoadStatus |
volatile uint32_t | gHsmRtDownloadComplete = 0 |
CSL_mss_ctrlRegs * | ptrMSSCtrlRegs = (CSL_mss_ctrlRegs *)CSL_MSS_CTRL_U_BASE |
Hsmclient_ipcLoadHSM | gLoadHSMImage |
Hsmclient_ipcLoadHSMResult | gLoadHSMResult = {{0}} |
HwiP_Params | gHwiParams |
HwiP_Object | gHwiObjReadReq |
#define HSMCLIENT_IPC_EXPORT_VERSION (0x1U) |
This is the version number for the IPC Export Interface. The version number should be the same between the HSM Boot ROM and the R5 SBL. In the case of a mismatch the HSM Boot ROM will generate an error.
hsmclient IPC Message Type for HSMRt load function.
The enumeration describes the messages which are supported by the IPC Module executing in the HSM Runtime state.
|
static |
This is a utility function which is used to compute the checksum on the provided buffer.
ptrBuffer | Buffer pointer. |
sizeMsg | message size in bytes. |
|
static |
mailbox Rx ISR
args | loadHSMResult passing as arument |
|
static |
Non blocking mailbox Rx ISR.
args | loadHSMResult passing as argument |
void Hsmclient_updateBootNotificationRegister | ( | void | ) |
|
extern |
volatile uint32_t gHsmRtDownloadComplete = 0 |
CSL_mss_ctrlRegs* ptrMSSCtrlRegs = (CSL_mss_ctrlRegs *)CSL_MSS_CTRL_U_BASE |
Hsmclient_ipcLoadHSM gLoadHSMImage |
Hsmclient_ipcLoadHSMResult gLoadHSMResult = {{0}} |
HwiP_Params gHwiParams |
HwiP_Object gHwiObjReadReq |