AM62x MCU+ SDK  09.02.01
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...
 

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
 

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_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_tifsReqFwlClose (void)
 API to request TIFS to close firewall. More...