AM62x MCU+ SDK  10.01.00
safety_checkers_tifs.h File Reference

Introduction

This file contains TIFS safety checker library interfaces and related data structures.

Go to the source code of this file.

Data Structures

struct  SafetyCheckers_TifsFwlRegList
 Structure for firewall configuration registers for a given firewall region. More...
 
struct  SafetyCheckers_TifsFwlConfig
 Structure for firewall configuration register info for a given firewall id. More...
 
struct  SafetyCheckers_TifsIscCbassRegList
 Structure for CBASS ISC configuration registers for a given ISC region. More...
 
struct  SafetyCheckers_TifsIscCcRegList
 Structure for CC ISC configuration registers for a given ISC region. More...
 
struct  SafetyCheckers_TifsIscRaRegList
 Structure for CC ISC configuration registers for a given ISC region. More...
 
struct  SafetyCheckers_TifsIscCbassConfig
 Structure for CBASS ISC configuration register info for a given ISC id. More...
 
struct  SafetyCheckers_TifsIscCcConfig
 Structure for CC ISC configuration register info for a given ISC id. More...
 
struct  SafetyCheckers_TifsIscRaConfig
 Structure for RA ISC configuration register info for a given ISC id. More...
 

Macros

#define SAFETY_CHECKERS_TIFS_FWL_OPEN   0x902CU
 
#define SAFETY_CHECKERS_TIFS_FWL_CLOSE   0x902DU
 
#define SAFETY_CHECKERS_TIFS_FWL_BASE   0x45000000U
 
#define SAFETY_CHECKERS_TIFS_CONTROL_REG   0x0U
 
#define SAFETY_CHECKERS_TIFS_PRIV_ID0   0x4U
 
#define SAFETY_CHECKERS_TIFS_PRIV_ID1   0x8U
 
#define SAFETY_CHECKERS_TIFS_PRIV_ID2   0xCU
 
#define SAFETY_CHECKERS_TIFS_START_ADDRL   0x10U
 
#define SAFETY_CHECKERS_TIFS_START_ADDRH   0x14U
 
#define SAFETY_CHECKERS_TIFS_END_ADDRL   0x18U
 
#define SAFETY_CHECKERS_TIFS_END_ADDRH   0x1CU
 
#define SAFETY_CHECKERS_TIFS_MAX_REGIONS   36U
 
#define SAFETY_CHECKERS_TIFS_ISC_BASE   0x45800000U
 
#define SAFETY_CHECKERS_TIFS_CC_ISC_BASE   0x45828000U
 
#define SAFETY_CHECKERS_TIFS_ISC_CONTROL0_REG   0x0U
 
#define SAFETY_CHECKERS_TIFS_ISC_CONTROL1_REG   0x4U
 
#define SAFETY_CHECKERS_TIFS_ISC_PRIVID_REG   0x0U
 
#define SAFETY_CHECKERS_TIFS_ISC_PRIVID_LOCK_REG   0x4U
 
#define SAFETY_CHECKERS_TIFS_ISC_CBASS_MAX_REGIONS   32U
 
#define SAFETY_CHECKERS_TIFS_ISC_CCPRIV_MAX_REGION   255U
 
#define SAFETY_CHECKERS_TIFS_ISC_RA_MAX_ID   1024U
 

Functions

int32_t SafetyCheckers_tifsReqFwlOpen (void)
 API to request TIFS to open firewall. More...
 
int32_t SafetyCheckers_tifsGetFwlCfg (SafetyCheckers_TifsFwlConfig *fwlConfig, uint32_t size)
 API uses the pointer to firewall configuration fwlConfig as input and updates fwlConfig with the register dump of the firewall registers specified. More...
 
int32_t SafetyCheckers_tifsGetIscCbassCfg (SafetyCheckers_TifsIscCbassConfig *iscConfig, uint32_t size)
 API uses the pointer to cbass isc configuration iscConfig as input and updates iscConfig with the register dump of the isc registers specified. More...
 
int32_t SafetyCheckers_tifsGetIscCcCfg (SafetyCheckers_TifsIscCcConfig *iscConfig, uint32_t size)
 API uses the pointer to cc isc configuration iscConfig as input and updates iscConfig with the register dump of the isc registers specified. More...
 
int32_t SafetyCheckers_tifsGetIscRaCfg (SafetyCheckers_TifsIscRaConfig *iscConfig, uint32_t size)
 API uses the pointer to ra isc configuration iscConfig as input and updates iscConfig with the register dump of the isc registers specified. More...
 
int32_t SafetyCheckers_tifsVerifyFwlCfg (const SafetyCheckers_TifsFwlConfig *fwlConfig, uint32_t size)
 API compares the fwlConfig (golden reference) with runtime firewall register values and return success or failure. More...
 
int32_t SafetyCheckers_tifsVerifyIscCbassCfg (const SafetyCheckers_TifsIscCbassConfig *iscConfig, uint32_t size)
 API compares the cbass iscConfig (golden reference) with runtime isc register values and return success or failure. More...
 
int32_t SafetyCheckers_tifsVerifyIscCcCfg (const SafetyCheckers_TifsIscCcConfig *iscConfig, uint32_t size)
 API compares the cc iscConfig (golden reference) with runtime isc register values and return success or failure. More...
 
int32_t SafetyCheckers_tifsVerifyIscRaCfg (const SafetyCheckers_TifsIscRaConfig *iscConfig, uint32_t size)
 API compares the ra iscConfig (golden reference) with runtime isc register values and return success or failure. More...
 
int32_t SafetyCheckers_tifsReqFwlClose (void)
 API to request TIFS to close firewall. More...