PDK API Guide for J721E
Sciclient Firewall API Interface

Introduction

The DMSC firmware Firewall Management system manages SoC Firewall resources. Each firewall in the system is assigned an owner. Ownership is assigned using Host ID. Only a owner of a firewall can:

Files

file  sciclient_firewall.h
 This file contains the definition of all the message IDs, message formats to be able to interact with the System Controller firmware for firewall management.
 

Functions

int32_t Sciclient_firewallChangeOwnerInfo (const struct tisci_msg_fwl_change_owner_info_req *req, struct tisci_msg_fwl_change_owner_info_resp *resp, uint32_t timeout)
 Request for configuring the firewall permissions. More...
 
int32_t Sciclient_firewallSetRegion (const struct tisci_msg_fwl_set_firewall_region_req *req, struct tisci_msg_fwl_set_firewall_region_resp *resp, uint32_t timeout)
 Request for configuring the firewall permissions. More...
 
int32_t Sciclient_firewallGetRegion (const struct tisci_msg_fwl_get_firewall_region_req *req, struct tisci_msg_fwl_get_firewall_region_resp *resp, uint32_t timeout)
 Request for getting the firewall permissions. More...
 

Function Documentation

int32_t Sciclient_firewallChangeOwnerInfo ( const struct tisci_msg_fwl_change_owner_info_req req,
struct tisci_msg_fwl_change_owner_info_resp resp,
uint32_t  timeout 
)

Request for configuring the firewall permissions.


Message: TISCI_MSG_CHANGE_FWL_OWNER
Request: tisci_msg_fwl_change_owner_info_req
Response: tisci_msg_fwl_change_owner_info_resp

Parameters
reqPointer to firewall change owner payload
respPointer to firewall change owner response payload
timeoutGives a sense of how long to wait for the operation. Refer Sciclient_ServiceOperationTimeout.
Returns
CSL_PASS on success, else failure
int32_t Sciclient_firewallSetRegion ( const struct tisci_msg_fwl_set_firewall_region_req req,
struct tisci_msg_fwl_set_firewall_region_resp resp,
uint32_t  timeout 
)

Request for configuring the firewall permissions.


Message: TISCI_MSG_SET_FWL_REGION
Request: tisci_msg_fwl_set_firewall_region_req
Response: tisci_msg_fwl_set_firewall_region_resp

Parameters
reqPointer to firewall region set payload
respPointer to firewall region set response payload
timeoutGives a sense of how long to wait for the operation. Refer Sciclient_ServiceOperationTimeout.
Returns
CSL_PASS on success, else failure
int32_t Sciclient_firewallGetRegion ( const struct tisci_msg_fwl_get_firewall_region_req req,
struct tisci_msg_fwl_get_firewall_region_resp resp,
uint32_t  timeout 
)

Request for getting the firewall permissions.


Message: TISCI_MSG_GET_FWL_REGION
Request: tisci_msg_fwl_get_firewall_region_req
Response: tisci_msg_fwl_get_firewall_region_resp

Parameters
reqPointer to firewall region get payload
respPointer to firewall region get response payload
timeoutGives a sense of how long to wait for the operation. Refer Sciclient_ServiceOperationTimeout.
Returns
CSL_PASS on success, else failure