AM64x MCU+ SDK  08.02.00
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 
124  struct tisci_header hdr;
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 
142  struct tisci_header hdr;
143 } __attribute__((__packed__));
144 
163  struct tisci_header hdr;
164  uint16_t fwl_id;
165  uint16_t region;
167 } __attribute__((__packed__));
168 
199  struct tisci_header hdr;
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 
tisci_msg_fwl_get_firewall_region_req::n_permission_regs
uint32_t n_permission_regs
Definition: tisci_firewall.h:166
tisci_msg_fwl_get_firewall_region_resp::end_address
uint64_t end_address
Definition: tisci_firewall.h:206
tisci_msg_fwl_set_firewall_region_req::n_permission_regs
uint32_t n_permission_regs
Definition: tisci_firewall.h:127
tisci_msg_fwl_get_firewall_region_resp::fwl_id
uint16_t fwl_id
Definition: tisci_firewall.h:200
tisci_msg_fwl_get_firewall_region_req::hdr
struct tisci_header hdr
Definition: tisci_firewall.h:163
tisci_msg_fwl_get_firewall_region_resp::hdr
struct tisci_header hdr
Definition: tisci_firewall.h:199
tisci_msg_fwl_set_firewall_region_req::hdr
struct tisci_header hdr
Definition: tisci_firewall.h:124
tisci_msg_fwl_set_firewall_region_req::start_address
uint64_t start_address
Definition: tisci_firewall.h:130
tisci_msg_fwl_change_owner_info_req
This file contains:
Definition: tisci_firewall.h:67
tisci_msg_fwl_get_firewall_region_resp::start_address
uint64_t start_address
Definition: tisci_firewall.h:205
__attribute__
struct tisci_msg_fwl_change_owner_info_req __attribute__((__packed__))
tisci_msg_fwl_change_owner_info_resp::owner_index
uint8_t owner_index
Definition: tisci_firewall.h:93
tisci_msg_fwl_change_owner_info_resp
Response for a change owner operation.
Definition: tisci_firewall.h:89
tisci_header
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:89
tisci_msg_fwl_get_firewall_region_req::fwl_id
uint16_t fwl_id
Definition: tisci_firewall.h:164
tisci_msg_fwl_set_firewall_region_req::permissions
uint32_t permissions[FWL_MAX_PRIVID_SLOTS]
Definition: tisci_firewall.h:129
tisci_msg_fwl_get_firewall_region_req
Request for retrieving the firewall permissions.
Definition: tisci_firewall.h:162
tisci_msg_fwl_set_firewall_region_req::fwl_id
uint16_t fwl_id
Definition: tisci_firewall.h:125
tisci_msg_fwl_change_owner_info_req::region
uint16_t region
Definition: tisci_firewall.h:70
tisci_msg_fwl_get_firewall_region_resp::n_permission_regs
uint32_t n_permission_regs
Definition: tisci_firewall.h:202
tisci_msg_fwl_change_owner_info_resp::fwl_id
uint16_t fwl_id
Definition: tisci_firewall.h:91
tisci_msg_fwl_get_firewall_region_req::region
uint16_t region
Definition: tisci_firewall.h:165
tisci_msg_fwl_set_firewall_region_req
Request for configuring the firewall permissions.
Definition: tisci_firewall.h:123
tisci_msg_fwl_change_owner_info_req::hdr
struct tisci_header hdr
Definition: tisci_firewall.h:68
tisci_msg_fwl_get_firewall_region_resp::control
uint32_t control
Definition: tisci_firewall.h:203
tisci_msg_fwl_get_firewall_region_resp::region
uint16_t region
Definition: tisci_firewall.h:201
tisci_msg_fwl_change_owner_info_req::fwl_id
uint16_t fwl_id
Definition: tisci_firewall.h:69
tisci_msg_fwl_get_firewall_region_resp::permissions
uint32_t permissions[FWL_MAX_PRIVID_SLOTS]
Definition: tisci_firewall.h:204
FWL_MAX_PRIVID_SLOTS
#define FWL_MAX_PRIVID_SLOTS
This file contains:
Definition: tisci_sec_macros.h:59
tisci_msg_fwl_change_owner_info_resp::region
uint16_t region
Definition: tisci_firewall.h:92
tisci_msg_fwl_change_owner_info_resp::owner_privid
uint8_t owner_privid
Definition: tisci_firewall.h:94
tisci_msg_fwl_set_firewall_region_resp
Response for configuring the firewall permissions.
Definition: tisci_firewall.h:141
tisci_msg_fwl_set_firewall_region_req::control
uint32_t control
Definition: tisci_firewall.h:128
tisci_msg_fwl_get_firewall_region_resp
Response for retrieving the firewall permissions.
Definition: tisci_firewall.h:198
tisci_msg_fwl_set_firewall_region_req::region
uint16_t region
Definition: tisci_firewall.h:126
tisci_msg_fwl_change_owner_info_resp::owner_permission_bits
uint16_t owner_permission_bits
Definition: tisci_firewall.h:95
tisci_msg_fwl_change_owner_info_resp::hdr
struct tisci_header hdr
Definition: tisci_firewall.h:90
tisci_msg_fwl_change_owner_info_req::owner_index
uint8_t owner_index
Definition: tisci_firewall.h:71
tisci_msg_fwl_set_firewall_region_req::end_address
uint64_t end_address
Definition: tisci_firewall.h:131
tisci_msg_fwl_set_firewall_region_resp::hdr
struct tisci_header hdr
Definition: tisci_firewall.h:142