 |
AM62x MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
58 #ifndef SAFETY_CHECKERS_TIFS_H_
59 #define SAFETY_CHECKERS_TIFS_H_
82 #define SAFETY_CHECKERS_TIFS_FWL_OPEN 0x902CU
83 #define SAFETY_CHECKERS_TIFS_FWL_CLOSE 0x902DU
85 #define SAFETY_CHECKERS_TIFS_FWL_BASE 0x45000000U
86 #define SAFETY_CHECKERS_TIFS_CONTROL_REG 0x0U
87 #define SAFETY_CHECKERS_TIFS_PRIV_ID0 0x4U
88 #define SAFETY_CHECKERS_TIFS_PRIV_ID1 0x8U
89 #define SAFETY_CHECKERS_TIFS_PRIV_ID2 0xCU
90 #define SAFETY_CHECKERS_TIFS_START_ADDRL 0x10U
91 #define SAFETY_CHECKERS_TIFS_START_ADDRH 0x14U
92 #define SAFETY_CHECKERS_TIFS_END_ADDRL 0x18U
93 #define SAFETY_CHECKERS_TIFS_END_ADDRH 0x1CU
94 #define SAFETY_CHECKERS_TIFS_MAX_REGIONS 36U
96 #define SAFETY_CHECKERS_TIFS_ISC_BASE 0x45800000U
97 #define SAFETY_CHECKERS_TIFS_CC_ISC_BASE 0x45828000U
98 #define SAFETY_CHECKERS_TIFS_ISC_CONTROL0_REG 0x0U
99 #define SAFETY_CHECKERS_TIFS_ISC_CONTROL1_REG 0x4U
100 #define SAFETY_CHECKERS_TIFS_ISC_PRIVID_REG 0x0U
101 #define SAFETY_CHECKERS_TIFS_ISC_PRIVID_LOCK_REG 0x4U
102 #define SAFETY_CHECKERS_TIFS_ISC_CBASS_MAX_REGIONS 32U
103 #define SAFETY_CHECKERS_TIFS_ISC_CCPRIV_MAX_REGION 255U
104 #define SAFETY_CHECKERS_TIFS_ISC_RA_MAX_ID 1024U
Structure for RA ISC configuration register info for a given ISC id.
Definition: safety_checkers_tifs.h:226
#define SAFETY_CHECKERS_TIFS_ISC_CBASS_MAX_REGIONS
Definition: safety_checkers_tifs.h:102
uint32_t maxNumRegions
Definition: safety_checkers_tifs.h:229
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 regi...
uint32_t maxNumRegions
Definition: safety_checkers_tifs.h:148
uint32_t numRegions
Definition: safety_checkers_tifs.h:147
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 regist...
uint16_t size
Definition: tisci_boardcfg.h:1
int32_t SafetyCheckers_tifsVerifyFwlCfg(const SafetyCheckers_TifsFwlConfig *fwlConfig, uint32_t size)
API compares the fwlConfig (golden reference) with runtime firewall register values and return succes...
uint32_t lock
Definition: safety_checkers_tifs.h:177
uint32_t endAddrLow
Definition: safety_checkers_tifs.h:164
uint32_t privId2
Definition: safety_checkers_tifs.h:131
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 regist...
uint32_t maxNumRegions
Definition: safety_checkers_tifs.h:215
uint32_t numRegions
Definition: safety_checkers_tifs.h:200
int32_t SafetyCheckers_tifsReqFwlOpen(void)
API to request TIFS to open firewall.
uint32_t iscId
Definition: safety_checkers_tifs.h:227
uint32_t privId0
Definition: safety_checkers_tifs.h:129
uint32_t privId
Definition: safety_checkers_tifs.h:176
#define SAFETY_CHECKERS_TIFS_ISC_CCPRIV_MAX_REGION
Definition: safety_checkers_tifs.h:103
#define SAFETY_CHECKERS_TIFS_MAX_REGIONS
Definition: safety_checkers_tifs.h:94
uint32_t startAddrHigh
Definition: safety_checkers_tifs.h:163
int32_t SafetyCheckers_tifsReqFwlClose(void)
API to request TIFS to close firewall.
Structure for CC ISC configuration registers for a given ISC region.
Definition: safety_checkers_tifs.h:186
uint32_t controlReg1
Definition: safety_checkers_tifs.h:161
uint32_t maxNumRegions
Definition: safety_checkers_tifs.h:201
Structure for CBASS ISC configuration registers for a given ISC region.
Definition: safety_checkers_tifs.h:159
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 reg...
Structure for CBASS ISC configuration register info for a given ISC id.
Definition: safety_checkers_tifs.h:198
uint32_t privId1
Definition: safety_checkers_tifs.h:130
uint32_t numRegions
Definition: safety_checkers_tifs.h:228
Structure for firewall configuration register info for a given firewall id.
Definition: safety_checkers_tifs.h:145
Structure for CC ISC configuration registers for a given ISC region.
Definition: safety_checkers_tifs.h:175
uint32_t rcr
Definition: safety_checkers_tifs.h:166
uint32_t startAddrLow
Definition: safety_checkers_tifs.h:132
uint32_t startAddrLow
Definition: safety_checkers_tifs.h:162
#define SAFETY_CHECKERS_TIFS_ISC_RA_MAX_ID
Definition: safety_checkers_tifs.h:104
uint32_t endAddrHigh
Definition: safety_checkers_tifs.h:135
uint32_t endAddrHigh
Definition: safety_checkers_tifs.h:165
uint32_t startAddrHigh
Definition: safety_checkers_tifs.h:133
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 ...
uint32_t numRegions
Definition: safety_checkers_tifs.h:214
uint32_t controlReg2
Definition: safety_checkers_tifs.h:188
uint32_t iscId
Definition: safety_checkers_tifs.h:199
uint32_t endAddrLow
Definition: safety_checkers_tifs.h:134
uint32_t controlReg1
Definition: safety_checkers_tifs.h:187
uint32_t fwlId
Definition: safety_checkers_tifs.h:146
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 succe...
Structure for firewall configuration registers for a given firewall region.
Definition: safety_checkers_tifs.h:127
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 ...
uint32_t controlReg0
Definition: safety_checkers_tifs.h:160
Structure for CC ISC configuration register info for a given ISC id.
Definition: safety_checkers_tifs.h:212
uint32_t controlReg
Definition: safety_checkers_tifs.h:128
uint32_t iscIdOffset
Definition: safety_checkers_tifs.h:213