2 FreeRTOS V7.5.3 - Copyright (C) 2013 Real Time Engineers Ltd.
\r
5 VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
\r
7 ***************************************************************************
\r
9 * FreeRTOS provides completely free yet professionally developed, *
\r
10 * robust, strictly quality controlled, supported, and cross *
\r
11 * platform software that has become a de facto standard. *
\r
13 * Help yourself get started quickly and support the FreeRTOS *
\r
14 * project by purchasing a FreeRTOS tutorial book, reference *
\r
15 * manual, or both from: http://www.FreeRTOS.org/Documentation *
\r
19 ***************************************************************************
\r
21 This file is part of the FreeRTOS distribution.
\r
23 FreeRTOS is free software; you can redistribute it and/or modify it under
\r
24 the terms of the GNU General Public License (version 2) as published by the
\r
25 Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
\r
27 >>! NOTE: The modification to the GPL is included to allow you to distribute
\r
28 >>! a combined work that includes FreeRTOS without being obliged to provide
\r
29 >>! the source code for proprietary components outside of the FreeRTOS
\r
32 FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
\r
33 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
\r
34 FOR A PARTICULAR PURPOSE. Full license text is available from the following
\r
35 link: http://www.freertos.org/a00114.html
\r
39 ***************************************************************************
\r
41 * Having a problem? Start by reading the FAQ "My application does *
\r
42 * not run, what could be wrong?" *
\r
44 * http://www.FreeRTOS.org/FAQHelp.html *
\r
46 ***************************************************************************
\r
48 http://www.FreeRTOS.org - Documentation, books, training, latest versions,
\r
49 license and Real Time Engineers Ltd. contact details.
\r
51 http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
\r
52 including FreeRTOS+Trace - an indispensable productivity tool, a DOS
\r
53 compatible FAT file system, and our tiny thread aware UDP/IP stack.
\r
55 http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
\r
56 Integrity Systems to sell under the OpenRTOS brand. Low cost OpenRTOS
\r
57 licenses offer ticketed support, indemnification and middleware.
\r
59 http://www.SafeRTOS.com - High Integrity Systems also provide a safety
\r
60 engineered and independently SIL3 certified version for use in safety and
\r
61 mission critical applications that require provable dependability.
\r
67 #include <p32xxxx.h>
\r
68 #include <sys/asm.h>
\r
82 /* Address of $4 ulStatus1 is held in A0, so don't mess with the value of $4 */
\r
93 addiu $10, $0, 0x110
\r
94 addiu $11, $0, 0x111
\r
95 addiu $12, $0, 0x112
\r
96 addiu $13, $0, 0x113
\r
97 addiu $14, $0, 0x114
\r
98 addiu $15, $0, 0x115
\r
99 addiu $16, $0, 0x116
\r
100 addiu $17, $0, 0x117
\r
101 addiu $18, $0, 0x118
\r
102 addiu $19, $0, 0x119
\r
103 addiu $20, $0, 0x120
\r
104 addiu $21, $0, 0x121
\r
105 addiu $22, $0, 0x122
\r
106 addiu $23, $0, 0x123
\r
107 addiu $24, $0, 0x124
\r
108 addiu $25, $0, 0x125
\r
109 addiu $30, $0, 0x130
\r
111 addiu $1, $1, -0x11
\r
115 addiu $2, $2, -0x12
\r
119 addiu $3, $3, -0x13
\r
123 addiu $5, $5, -0x15
\r
127 addiu $6, $6, -0x16
\r
131 addiu $7, $7, -0x17
\r
135 addiu $8, $8, -0x18
\r
139 addiu $9, $9, -0x19
\r
143 addiu $10, $10, -0x110
\r
147 addiu $11, $11, -0x111
\r
151 addiu $12, $12, -0x112
\r
155 addiu $13, $13, -0x113
\r
159 addiu $14, $14, -0x114
\r
163 addiu $15, $15, -0x115
\r
167 addiu $16, $16, -0x116
\r
171 addiu $17, $17, -0x117
\r
175 addiu $18, $18, -0x118
\r
179 addiu $19, $19, -0x119
\r
183 addiu $20, $20, -0x120
\r
187 addiu $21, $21, -0x121
\r
191 addiu $22, $22, -0x122
\r
195 addiu $23, $23, -0x123
\r
199 addiu $24, $24, -0x124
\r
203 addiu $25, $25, -0x125
\r
207 addiu $30, $30, -0x130
\r
231 addiu $10, $0, 0x100
\r
232 addiu $11, $0, 0x110
\r
233 addiu $12, $0, 0x120
\r
234 addiu $13, $0, 0x130
\r
235 addiu $14, $0, 0x140
\r
236 addiu $15, $0, 0x150
\r
237 addiu $16, $0, 0x160
\r
238 addiu $17, $0, 0x170
\r
239 addiu $18, $0, 0x180
\r
240 addiu $19, $0, 0x190
\r
241 addiu $20, $0, 0x200
\r
242 addiu $21, $0, 0x210
\r
243 addiu $22, $0, 0x220
\r
244 addiu $23, $0, 0x230
\r
245 addiu $24, $0, 0x240
\r
246 addiu $25, $0, 0x250
\r
247 addiu $30, $0, 0x300
\r
249 addiu $1, $1, -0x10
\r
253 addiu $2, $2, -0x20
\r
257 addiu $3, $3, -0x30
\r
261 addiu $5, $5, -0x50
\r
265 addiu $6, $6, -0x60
\r
269 addiu $7, $7, -0x70
\r
273 addiu $8, $8, -0x80
\r
277 addiu $9, $9, -0x90
\r
281 addiu $10, $10, -0x100
\r
285 addiu $11, $11, -0x110
\r
289 addiu $12, $12, -0x120
\r
293 addiu $13, $13, -0x130
\r
297 addiu $14, $14, -0x140
\r
301 addiu $15, $15, -0x150
\r
305 addiu $16, $16, -0x160
\r
309 addiu $17, $17, -0x170
\r
313 addiu $18, $18, -0x180
\r
317 addiu $19, $19, -0x190
\r
321 addiu $20, $20, -0x200
\r
325 addiu $21, $21, -0x210
\r
329 addiu $22, $22, -0x220
\r
333 addiu $23, $23, -0x230
\r
337 addiu $24, $24, -0x240
\r
341 addiu $25, $25, -0x250
\r
345 addiu $30, $30, -0x300
\r