1 |
572 |
jeremybenn |
; FreeRTOS V6.1.1 - Copyright (C) 2011 Real Time Engineers Ltd.
|
2 |
|
|
;
|
3 |
|
|
; ***************************************************************************
|
4 |
|
|
; * *
|
5 |
|
|
; * If you are: *
|
6 |
|
|
; * *
|
7 |
|
|
; * + New to FreeRTOS, *
|
8 |
|
|
; * + Wanting to learn FreeRTOS or multitasking in general quickly *
|
9 |
|
|
; * + Looking for basic training, *
|
10 |
|
|
; * + Wanting to improve your FreeRTOS skills and productivity *
|
11 |
|
|
; * *
|
12 |
|
|
; * then take a look at the FreeRTOS books - available as PDF or paperback *
|
13 |
|
|
; * *
|
14 |
|
|
; * "Using the FreeRTOS Real Time Kernel - a Practical Guide" *
|
15 |
|
|
; * http://www.FreeRTOS.org/Documentation *
|
16 |
|
|
; * *
|
17 |
|
|
; * A pdf reference manual is also available. Both are usually delivered *
|
18 |
|
|
; * to your inbox within 20 minutes to two hours when purchased between 8am *
|
19 |
|
|
; * and 8pm GMT (although please allow up to 24 hours in case of *
|
20 |
|
|
; * exceptional circumstances). Thank you for your support! *
|
21 |
|
|
; * *
|
22 |
|
|
; ***************************************************************************
|
23 |
|
|
;
|
24 |
|
|
; This file is part of the FreeRTOS distribution.
|
25 |
|
|
;
|
26 |
|
|
; FreeRTOS is free software; you can redistribute it and/or modify it under
|
27 |
|
|
; the terms of the GNU General Public License (version 2) as published by the
|
28 |
|
|
; Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
29 |
|
|
; ***NOTE*** The exception to the GPL is included to allow you to distribute
|
30 |
|
|
; a combined work that includes FreeRTOS without being obliged to provide the
|
31 |
|
|
; source code for proprietary components outside of the FreeRTOS kernel.
|
32 |
|
|
; FreeRTOS is distributed in the hope that it will be useful, but WITHOUT
|
33 |
|
|
; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
34 |
|
|
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
35 |
|
|
; more details. You should have received a copy of the GNU General Public
|
36 |
|
|
; License and the FreeRTOS license exception along with FreeRTOS; if not it
|
37 |
|
|
; can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
38 |
|
|
; by writing to Richard Barry, contact details for whom are available on the
|
39 |
|
|
; FreeRTOS WEB site.
|
40 |
|
|
;
|
41 |
|
|
; 1 tab == 4 spaces!
|
42 |
|
|
;
|
43 |
|
|
; http://www.FreeRTOS.org - Documentation, latest information, license and
|
44 |
|
|
; contact details.
|
45 |
|
|
;
|
46 |
|
|
; http://www.SafeRTOS.com - A version that is certified for use in safety
|
47 |
|
|
; critical systems.
|
48 |
|
|
;
|
49 |
|
|
; http://www.OpenRTOS.com - Commercial support, development, porting,
|
50 |
|
|
; licensing and training services.
|
51 |
|
|
|
52 |
|
|
.if $DEFINED( __LARGE_DATA_MODEL__ )
|
53 |
|
|
.define "pushm.a", pushm_x
|
54 |
|
|
.define "popm.a", popm_x
|
55 |
|
|
.define "push.a", push_x
|
56 |
|
|
.define "pop.a", pop_x
|
57 |
|
|
.define "mov.a", mov_x
|
58 |
|
|
.else
|
59 |
|
|
.define "pushm.w", pushm_x
|
60 |
|
|
.define "popm.w", popm_x
|
61 |
|
|
.define "push.w", push_x
|
62 |
|
|
.define "pop.w", pop_x
|
63 |
|
|
.define "mov.w", mov_x
|
64 |
|
|
.endif
|
65 |
|
|
|
66 |
|
|
.if $DEFINED( __LARGE_CODE_MODEL__ )
|
67 |
|
|
.define "calla", call_x
|
68 |
|
|
.define "reta", ret_x
|
69 |
|
|
.else
|
70 |
|
|
.define "call", call_x
|
71 |
|
|
.define "ret", ret_x
|
72 |
|
|
.endif
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|