|
130 | 130 | */ |
131 | 131 | #define CFE_PLATFORM_SB_BUF_MEMORY_BYTES 524288 |
132 | 132 |
|
133 | | - |
134 | | -/** |
135 | | -** \cfesbcfg Maximum depth allowed when creating an SB pipe |
136 | | -** |
137 | | -** \par Description: |
138 | | -** The value of this constant dictates the maximum pipe depth that an |
139 | | -** application may request. The pipe depth is given as a paramter in the |
140 | | -** #CFE_SB_CreatePipe API. |
141 | | -** |
142 | | -** \par Limits |
143 | | -** This parameter has a lower limit of 1. There are no restrictions on the |
144 | | -** upper limit however, the maximum pipe depth is system dependent and should |
145 | | -** be verified. Pipe Depth values that are checked against this configuration |
146 | | -** are defined by a 16 bit data word. |
147 | | -*/ |
148 | | -#define CFE_PLATFORM_SB_MAX_PIPE_DEPTH 256 |
149 | | - |
150 | | - |
151 | 133 | /** |
152 | 134 | ** \cfesbcfg Highest Valid Message Id |
153 | 135 | ** |
154 | 136 | ** \par Description: |
155 | | -** The value of this constant dictates the size of the SB message map. The SB |
156 | | -** message map is a lookup table that provides the routing table index for |
157 | | -** fast access into the routing table. The default setting of 0x1FFF was chosen |
158 | | -** to save memory. This reduces the message map from 128Kbytes to 16Kbytes. |
159 | | -** See CFE_FSW_DCR 504 for more details. |
160 | | -** |
161 | | -** If this value is different in a distributed architecture some platforms may not |
162 | | -** be able to subscribe to messages generated on other platforms since the message id |
163 | | -** would exceed the mapping table's highest index. Care would have to be taken to ensure the |
164 | | -** constrained platform did not subscribe to message Ids that exceed |
165 | | -** CFE_PLATFORM_SB_HIGHEST_VALID_MSGID |
| 137 | +** The value of this constant dictates the range of valid message ID's, from 0 |
| 138 | +** to CFE_PLATFORM_SB_HIGHEST_VALID_MSGID (inclusive). |
166 | 139 | ** |
167 | | -** The recommended case to to have this value the same across all mission platforms |
| 140 | +** Altough this can be defined differently across platforms, each platform can |
| 141 | +** only publish/subscribe to message ids within their allowable range. Typically |
| 142 | +** this value is set the same across all mission platforms to avoid this complexity. |
168 | 143 | ** |
169 | 144 | ** \par Limits |
170 | | -** This parameter has a lower limit of 1 and an upper limit of 0xFFFF. Note |
171 | | -** for current implementations, V2/Extended headers assign 0xFFFFFFFF as the invalid |
172 | | -** message ID value, and default headers assigns 0xFFFF as the invalid value. This |
173 | | -** means for default headers, 0xFFFF is invalid even if you set the value |
174 | | -** below to it's maximum of 0xFFFF. |
175 | | -** The allocated message table is this size + 1 (could change based on implementaiton). |
| 145 | +** CFE_SB_INVALID_MSG is set to the maxumum representable number of type CFE_SB_MsgId_t. |
| 146 | +** CFE_PLATFORM_SB_HIGHEST_VALID_MSGID lower limit is 1, up to CFE_SB_INVALID_MSG_ID - 1. |
| 147 | +** |
| 148 | +** When using the direct message map implementation for software bus routing, this |
| 149 | +** value is used to size the map where a value of 0x1FFF results in a 16 KBytes map |
| 150 | +** and 0xFFFF is 128 KBytes. |
| 151 | +** |
| 152 | +** When using the hash implementation for software bus routing, a multiple of the |
| 153 | +** CFE_PLATFORM_SB_MAX_MSG_IDS is used to size the message map. In that case |
| 154 | +** the range selected here does not impact message map memory use, so it's |
| 155 | +** resonable to use up to the full range supported by the message ID implementation. |
176 | 156 | */ |
177 | 157 | #define CFE_PLATFORM_SB_HIGHEST_VALID_MSGID 0x1FFF |
178 | 158 |
|
|
1455 | 1435 | #define CFE_PLATFORM_EVS_MAX_EVENT_FILTERS 8 |
1456 | 1436 |
|
1457 | 1437 |
|
1458 | | -/** |
1459 | | -** \cfeevscfg Enable or Disable EVS Local Event Log |
1460 | | -** |
1461 | | -** \par Description: |
1462 | | -** The CFE_PLATFORM_EVS_LOG_ON configuration parameter must be defined to enable EVS |
1463 | | -** event logging. In order to disable the local event log this definition needs |
1464 | | -** to be commented out. |
1465 | | -** |
1466 | | -** \par Limits |
1467 | | -** Not Applicable |
1468 | | -*/ |
1469 | | -#define CFE_PLATFORM_EVS_LOG_ON |
1470 | | - |
1471 | | - |
1472 | 1438 | /** |
1473 | 1439 | ** \cfeevscfg Default Event Log Filename |
1474 | 1440 | ** |
|
0 commit comments