PDK API Guide for J721E
tisci_firewall.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017-2022 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  */
54 #ifndef TISCI_FIREWALL_H_
55 #define TISCI_FIREWALL_H_
56 
57 
68  struct tisci_header hdr;
69  uint16_t fwl_id;
70  uint16_t region;
71  uint8_t owner_index;
72 } __attribute__((__packed__));
73 
90  struct tisci_header hdr;
91  uint16_t fwl_id;
92  uint16_t region;
93  uint8_t owner_index;
94  uint8_t owner_privid;
96 } __attribute__((__packed__));
97 
125  uint16_t fwl_id;
126  uint16_t region;
128  uint32_t control;
130  uint64_t start_address;
131  uint64_t end_address;
132 } __attribute__((__packed__));
133 
143 } __attribute__((__packed__));
144 
164  uint16_t fwl_id;
165  uint16_t region;
167 } __attribute__((__packed__));
168 
200  uint16_t fwl_id;
201  uint16_t region;
203  uint32_t control;
205  uint64_t start_address;
206  uint64_t end_address;
207 } __attribute__((__packed__));
208 
209 #endif
210 
211 /* @} */
uint32_t control
Definition: tisci_firewall.h:203
uint32_t n_permission_regs
Definition: tisci_firewall.h:202
uint16_t region
Definition: tisci_firewall.h:201
struct tisci_header hdr
Definition: tisci_firewall.h:124
struct tisci_header hdr
Definition: tisci_firewall.h:90
struct tisci_header hdr
Definition: tisci_firewall.h:68
uint8_t owner_index
Definition: tisci_firewall.h:71
uint16_t fwl_id
Definition: tisci_firewall.h:69
Request for configuring the firewall permissions.
Definition: tisci_firewall.h:123
This file contains:
Definition: tisci_firewall.h:67
struct tisci_msg_fwl_change_owner_info_req __attribute__((__packed__))
uint32_t permissions[FWL_MAX_PRIVID_SLOTS]
Definition: tisci_firewall.h:129
uint16_t fwl_id
Definition: tisci_firewall.h:164
Response for a change owner operation.
Definition: tisci_firewall.h:89
uint64_t start_address
Definition: tisci_firewall.h:205
uint16_t region
Definition: tisci_firewall.h:92
#define FWL_MAX_PRIVID_SLOTS
This file contains:
Definition: tisci_sec_macros.h:59
Response for retrieving the firewall permissions.
Definition: tisci_firewall.h:198
uint16_t region
Definition: tisci_firewall.h:165
uint8_t owner_privid
Definition: tisci_firewall.h:94
uint16_t owner_permission_bits
Definition: tisci_firewall.h:95
Response for configuring the firewall permissions.
Definition: tisci_firewall.h:141
uint16_t fwl_id
Definition: tisci_firewall.h:91
struct tisci_header hdr
Definition: tisci_firewall.h:199
uint16_t region
Definition: tisci_firewall.h:126
uint16_t fwl_id
Definition: tisci_firewall.h:200
uint16_t fwl_id
Definition: tisci_firewall.h:125
uint8_t owner_index
Definition: tisci_firewall.h:93
uint32_t control
Definition: tisci_firewall.h:128
uint64_t end_address
Definition: tisci_firewall.h:131
uint64_t end_address
Definition: tisci_firewall.h:206
uint64_t start_address
Definition: tisci_firewall.h:130
struct tisci_header hdr
Definition: tisci_firewall.h:142
uint32_t n_permission_regs
Definition: tisci_firewall.h:166
struct tisci_header hdr
Definition: tisci_firewall.h:163
uint32_t permissions[FWL_MAX_PRIVID_SLOTS]
Definition: tisci_firewall.h:204
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:89
uint32_t n_permission_regs
Definition: tisci_firewall.h:127
Request for retrieving the firewall permissions.
Definition: tisci_firewall.h:162
uint16_t region
Definition: tisci_firewall.h:70