]> begriffs open source - freertos/blob - include/deprecated_definitions.h
Change the xRunningPrivileged check from "!=true" to "==false" (#109)
[freertos] / include / deprecated_definitions.h
1 /*\r
2  * FreeRTOS Kernel V10.3.1\r
3  * Copyright (C) 2020 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
4  *\r
5  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
6  * this software and associated documentation files (the "Software"), to deal in\r
7  * the Software without restriction, including without limitation the rights to\r
8  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
9  * the Software, and to permit persons to whom the Software is furnished to do so,\r
10  * subject to the following conditions:\r
11  *\r
12  * The above copyright notice and this permission notice shall be included in all\r
13  * copies or substantial portions of the Software.\r
14  *\r
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
17  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
18  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
19  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
20  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
21  *\r
22  * http://www.FreeRTOS.org\r
23  * http://aws.amazon.com/freertos\r
24  *\r
25  * 1 tab == 4 spaces!\r
26  */\r
27 \r
28 #ifndef DEPRECATED_DEFINITIONS_H\r
29 #define DEPRECATED_DEFINITIONS_H\r
30 \r
31 \r
32 /* Each FreeRTOS port has a unique portmacro.h header file.  Originally a\r
33  * pre-processor definition was used to ensure the pre-processor found the correct\r
34  * portmacro.h file for the port being used.  That scheme was deprecated in favour\r
35  * of setting the compiler's include path such that it found the correct\r
36  * portmacro.h file - removing the need for the constant and allowing the\r
37  * portmacro.h file to be located anywhere in relation to the port being used.  The\r
38  * definitions below remain in the code for backward compatibility only.  New\r
39  * projects should not use them. */\r
40 \r
41 #ifdef OPEN_WATCOM_INDUSTRIAL_PC_PORT\r
42     #include "..\..\Source\portable\owatcom\16bitdos\pc\portmacro.h"\r
43     typedef void ( __interrupt __far * pxISR )();\r
44 #endif\r
45 \r
46 #ifdef OPEN_WATCOM_FLASH_LITE_186_PORT\r
47     #include "..\..\Source\portable\owatcom\16bitdos\flsh186\portmacro.h"\r
48     typedef void ( __interrupt __far * pxISR )();\r
49 #endif\r
50 \r
51 #ifdef GCC_MEGA_AVR\r
52     #include "../portable/GCC/ATMega323/portmacro.h"\r
53 #endif\r
54 \r
55 #ifdef IAR_MEGA_AVR\r
56     #include "../portable/IAR/ATMega323/portmacro.h"\r
57 #endif\r
58 \r
59 #ifdef MPLAB_PIC24_PORT\r
60     #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"\r
61 #endif\r
62 \r
63 #ifdef MPLAB_DSPIC_PORT\r
64     #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"\r
65 #endif\r
66 \r
67 #ifdef MPLAB_PIC18F_PORT\r
68     #include "../../Source/portable/MPLAB/PIC18F/portmacro.h"\r
69 #endif\r
70 \r
71 #ifdef MPLAB_PIC32MX_PORT\r
72     #include "../../Source/portable/MPLAB/PIC32MX/portmacro.h"\r
73 #endif\r
74 \r
75 #ifdef _FEDPICC\r
76     #include "libFreeRTOS/Include/portmacro.h"\r
77 #endif\r
78 \r
79 #ifdef SDCC_CYGNAL\r
80     #include "../../Source/portable/SDCC/Cygnal/portmacro.h"\r
81 #endif\r
82 \r
83 #ifdef GCC_ARM7\r
84     #include "../../Source/portable/GCC/ARM7_LPC2000/portmacro.h"\r
85 #endif\r
86 \r
87 #ifdef GCC_ARM7_ECLIPSE\r
88     #include "portmacro.h"\r
89 #endif\r
90 \r
91 #ifdef ROWLEY_LPC23xx\r
92     #include "../../Source/portable/GCC/ARM7_LPC23xx/portmacro.h"\r
93 #endif\r
94 \r
95 #ifdef IAR_MSP430\r
96     #include "..\..\Source\portable\IAR\MSP430\portmacro.h"\r
97 #endif\r
98 \r
99 #ifdef GCC_MSP430\r
100     #include "../../Source/portable/GCC/MSP430F449/portmacro.h"\r
101 #endif\r
102 \r
103 #ifdef ROWLEY_MSP430\r
104     #include "../../Source/portable/Rowley/MSP430F449/portmacro.h"\r
105 #endif\r
106 \r
107 #ifdef ARM7_LPC21xx_KEIL_RVDS\r
108     #include "..\..\Source\portable\RVDS\ARM7_LPC21xx\portmacro.h"\r
109 #endif\r
110 \r
111 #ifdef SAM7_GCC\r
112     #include "../../Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h"\r
113 #endif\r
114 \r
115 #ifdef SAM7_IAR\r
116     #include "..\..\Source\portable\IAR\AtmelSAM7S64\portmacro.h"\r
117 #endif\r
118 \r
119 #ifdef SAM9XE_IAR\r
120     #include "..\..\Source\portable\IAR\AtmelSAM9XE\portmacro.h"\r
121 #endif\r
122 \r
123 #ifdef LPC2000_IAR\r
124     #include "..\..\Source\portable\IAR\LPC2000\portmacro.h"\r
125 #endif\r
126 \r
127 #ifdef STR71X_IAR\r
128     #include "..\..\Source\portable\IAR\STR71x\portmacro.h"\r
129 #endif\r
130 \r
131 #ifdef STR75X_IAR\r
132     #include "..\..\Source\portable\IAR\STR75x\portmacro.h"\r
133 #endif\r
134 \r
135 #ifdef STR75X_GCC\r
136     #include "..\..\Source\portable\GCC\STR75x\portmacro.h"\r
137 #endif\r
138 \r
139 #ifdef STR91X_IAR\r
140     #include "..\..\Source\portable\IAR\STR91x\portmacro.h"\r
141 #endif\r
142 \r
143 #ifdef GCC_H8S\r
144     #include "../../Source/portable/GCC/H8S2329/portmacro.h"\r
145 #endif\r
146 \r
147 #ifdef GCC_AT91FR40008\r
148     #include "../../Source/portable/GCC/ARM7_AT91FR40008/portmacro.h"\r
149 #endif\r
150 \r
151 #ifdef RVDS_ARMCM3_LM3S102\r
152     #include "../../Source/portable/RVDS/ARM_CM3/portmacro.h"\r
153 #endif\r
154 \r
155 #ifdef GCC_ARMCM3_LM3S102\r
156     #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"\r
157 #endif\r
158 \r
159 #ifdef GCC_ARMCM3\r
160     #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"\r
161 #endif\r
162 \r
163 #ifdef IAR_ARM_CM3\r
164     #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"\r
165 #endif\r
166 \r
167 #ifdef IAR_ARMCM3_LM\r
168     #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"\r
169 #endif\r
170 \r
171 #ifdef HCS12_CODE_WARRIOR\r
172     #include "../../Source/portable/CodeWarrior/HCS12/portmacro.h"\r
173 #endif\r
174 \r
175 #ifdef MICROBLAZE_GCC\r
176     #include "../../Source/portable/GCC/MicroBlaze/portmacro.h"\r
177 #endif\r
178 \r
179 #ifdef TERN_EE\r
180     #include "..\..\Source\portable\Paradigm\Tern_EE\small\portmacro.h"\r
181 #endif\r
182 \r
183 #ifdef GCC_HCS12\r
184     #include "../../Source/portable/GCC/HCS12/portmacro.h"\r
185 #endif\r
186 \r
187 #ifdef GCC_MCF5235\r
188     #include "../../Source/portable/GCC/MCF5235/portmacro.h"\r
189 #endif\r
190 \r
191 #ifdef COLDFIRE_V2_GCC\r
192     #include "../../../Source/portable/GCC/ColdFire_V2/portmacro.h"\r
193 #endif\r
194 \r
195 #ifdef COLDFIRE_V2_CODEWARRIOR\r
196     #include "../../Source/portable/CodeWarrior/ColdFire_V2/portmacro.h"\r
197 #endif\r
198 \r
199 #ifdef GCC_PPC405\r
200     #include "../../Source/portable/GCC/PPC405_Xilinx/portmacro.h"\r
201 #endif\r
202 \r
203 #ifdef GCC_PPC440\r
204     #include "../../Source/portable/GCC/PPC440_Xilinx/portmacro.h"\r
205 #endif\r
206 \r
207 #ifdef _16FX_SOFTUNE\r
208     #include "..\..\Source\portable\Softune\MB96340\portmacro.h"\r
209 #endif\r
210 \r
211 #ifdef BCC_INDUSTRIAL_PC_PORT\r
212 \r
213 /* A short file name has to be used in place of the normal\r
214  * FreeRTOSConfig.h when using the Borland compiler. */\r
215     #include "frconfig.h"\r
216     #include "..\portable\BCC\16BitDOS\PC\prtmacro.h"\r
217     typedef void ( __interrupt __far * pxISR )();\r
218 #endif\r
219 \r
220 #ifdef BCC_FLASH_LITE_186_PORT\r
221 \r
222 /* A short file name has to be used in place of the normal\r
223  * FreeRTOSConfig.h when using the Borland compiler. */\r
224     #include "frconfig.h"\r
225     #include "..\portable\BCC\16BitDOS\flsh186\prtmacro.h"\r
226     typedef void ( __interrupt __far * pxISR )();\r
227 #endif\r
228 \r
229 #ifdef __GNUC__\r
230     #ifdef __AVR32_AVR32A__\r
231         #include "portmacro.h"\r
232     #endif\r
233 #endif\r
234 \r
235 #ifdef __ICCAVR32__\r
236     #ifdef __CORE__\r
237         #if __CORE__ == __AVR32A__\r
238             #include "portmacro.h"\r
239         #endif\r
240     #endif\r
241 #endif\r
242 \r
243 #ifdef __91467D\r
244     #include "portmacro.h"\r
245 #endif\r
246 \r
247 #ifdef __96340\r
248     #include "portmacro.h"\r
249 #endif\r
250 \r
251 \r
252 #ifdef __IAR_V850ES_Fx3__\r
253     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
254 #endif\r
255 \r
256 #ifdef __IAR_V850ES_Jx3__\r
257     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
258 #endif\r
259 \r
260 #ifdef __IAR_V850ES_Jx3_L__\r
261     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
262 #endif\r
263 \r
264 #ifdef __IAR_V850ES_Jx2__\r
265     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
266 #endif\r
267 \r
268 #ifdef __IAR_V850ES_Hx2__\r
269     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
270 #endif\r
271 \r
272 #ifdef __IAR_78K0R_Kx3__\r
273     #include "../../Source/portable/IAR/78K0R/portmacro.h"\r
274 #endif\r
275 \r
276 #ifdef __IAR_78K0R_Kx3L__\r
277     #include "../../Source/portable/IAR/78K0R/portmacro.h"\r
278 #endif\r
279 \r
280 #endif /* DEPRECATED_DEFINITIONS_H */\r