1 | 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
2 | |
---|
3 | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Context switch now works well |
---|
4 | enough to run ticker to completion with the simulator clock idle |
---|
5 | task. But if you comment out the printk's in _CPU_Context_Initialize, |
---|
6 | it hangs. This remains to be investigated. |
---|
7 | |
---|
8 | 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
9 | |
---|
10 | * cpu.c, cpu_asm.S: Unsuccessful attempt to fix. |
---|
11 | |
---|
12 | 2009-07-17 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
13 | |
---|
14 | *cpu_asm.S: implemented _CPU_Context_Restore by adding tags to |
---|
15 | restore section of context switch. |
---|
16 | Fixed bug in _CPU_Context_Switch. The wrong registers were being |
---|
17 | used for pointer to running task Context_Control struct. |
---|
18 | |
---|
19 | 2009-07-09 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
20 | |
---|
21 | * cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers |
---|
22 | were being used for pointer to running task Context_Control |
---|
23 | struct. |
---|
24 | |
---|
25 | 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
26 | |
---|
27 | * cpu.c: Implemented _CPU_Context_Initialize as a C function instead |
---|
28 | of a macro. It works with limited functionality. Implemented |
---|
29 | _CPU_Thread_Idle_body to use sleep instruction. |
---|
30 | * Makefile.am: Changed cpu_asm.c -> cpu_asm.S |
---|
31 | * cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm |
---|
32 | * rtems/asm.h: Appended "macros.inc" to the end of "asm.h" |
---|
33 | * rtems/score/cpu.h: |
---|
34 | + Included "avr/io.h". |
---|
35 | + Added use 16 bit object definition. |
---|
36 | + Modified Context_Control struct to relect the registers |
---|
37 | that need to be saved. |
---|
38 | + Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash. |
---|
39 | Added function definitions for _CPU_Context_Initialize and |
---|
40 | _CPU_Push. |
---|
41 | |
---|
42 | 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
43 | |
---|
44 | * rtems/score/cpu.h: Lower number of priorities and do not inline as |
---|
45 | much. |
---|
46 | |
---|
47 | 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
48 | |
---|
49 | * rtems/score/cpu.h: Lower minimum stack size to 512 and CPU alignment |
---|
50 | to 4. |
---|
51 | |
---|
52 | 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
53 | |
---|
54 | * cpu_asm.c: Add stub for setjmp/longjmp. Remove when in newlib. |
---|
55 | |
---|
56 | 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
57 | |
---|
58 | * rtems/score/cpu.h: AVR stack grows down. |
---|
59 | |
---|
60 | 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
61 | |
---|
62 | * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to |
---|
63 | consistently return void * and take a uintptr_t argument. |
---|
64 | |
---|
65 | 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
66 | |
---|
67 | * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and |
---|
68 | passing address of _Thread_Dispatch to _CPU_Initialize. Clean up |
---|
69 | comments. |
---|
70 | |
---|
71 | 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
72 | |
---|
73 | * cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary. |
---|
74 | |
---|
75 | 2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
76 | |
---|
77 | * cpu.c, cpu_asm.c: Add debug printk() calls until the BSP/port can |
---|
78 | initialize and shutdown completely cleanly. When this works, |
---|
79 | implement context switch. Testing on avrtest and simulavr. |
---|
80 | |
---|
81 | 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
82 | |
---|
83 | * rtems/score/types.h: Do not define boolean, single_precision, |
---|
84 | double_precision unless RTEMS_DEPRECATED_TYPES is given. |
---|
85 | |
---|
86 | 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
87 | |
---|
88 | * rtems/score/avr.h: Add avr25, avr31, avr35, avr51 to |
---|
89 | CPU_NAME cascade. |
---|
90 | * rtems/score/cpu.h: Add missing prototypes.h. |
---|
91 | |
---|
92 | 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
93 | |
---|
94 | * rtems/score/types.h: Include stdbool.h. |
---|
95 | Use bool as base-type for boolean. |
---|
96 | |
---|
97 | 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
98 | |
---|
99 | * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads. |
---|
100 | |
---|
101 | 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
102 | |
---|
103 | * rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting |
---|
104 | parameter to indicate that the port uses the Simple Vectored |
---|
105 | Interrupt model or the Programmable Interrupt Controller Model. The |
---|
106 | PIC model is implemented primarily in the BSP and it is responsible |
---|
107 | for all memory allocation. |
---|
108 | |
---|
109 | 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
110 | |
---|
111 | * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. |
---|
112 | |
---|
113 | 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
114 | |
---|
115 | * rtems/score/avr.h: Sweep to make sure grep for COPYRIGHT passes. |
---|
116 | |
---|
117 | 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
118 | |
---|
119 | * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU |
---|
120 | Table to Configuration Table. Eliminate CPU Table from all ports. |
---|
121 | Delete references to CPU Table in all forms. |
---|
122 | |
---|
123 | 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
124 | |
---|
125 | * rtems/score/cpu.h: Moved most of the remaining CPU Table fields to |
---|
126 | the Configuration Table. This included pretasking_hook, |
---|
127 | predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, |
---|
128 | extra_mpci_receive_server_stack, stack_allocate_hook, and |
---|
129 | stack_free_hook. As a side-effect of this effort some multiprocessing |
---|
130 | code was made conditional and some style clean up occurred. |
---|
131 | |
---|
132 | 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
133 | |
---|
134 | * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES. |
---|
135 | |
---|
136 | 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
137 | |
---|
138 | * cpu_asm.c: |
---|
139 | Use Context_Control_fp* instead of void* for fp_contexts. |
---|
140 | * rtems/score/cpu.h: |
---|
141 | Use Context_Control_fp* instead of void* for fp_contexts. |
---|
142 | Eliminate evil casts. |
---|
143 | |
---|
144 | 2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
145 | |
---|
146 | * rtems/score/types.h: Remove unsigned64, signed64. |
---|
147 | |
---|
148 | 2006-01-16 Joel Sherrill <joel@OARcorp.com> |
---|
149 | |
---|
150 | * rtems/score/cpu.h: Part of a large patch to improve Doxygen output. |
---|
151 | As a side-effect, grammar and spelling errors were corrected, spacing |
---|
152 | errors were address, and some variable names were improved. |
---|
153 | |
---|
154 | 2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
155 | |
---|
156 | * rtems/score/types.h: Eliminate unsigned16, unsigned32. |
---|
157 | |
---|
158 | 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
159 | |
---|
160 | * rtems/asm.h: Remove private version of CONCAT macros. |
---|
161 | Include <rtems/concat.h> instead. |
---|
162 | |
---|
163 | 2005-02-19 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
164 | |
---|
165 | * rtems/score/cpu.h: Remove traces from NO_CPU. |
---|
166 | |
---|
167 | 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
168 | |
---|
169 | * Makefile.am: Split out preinstallation rules. |
---|
170 | * preinstall.am: New (Split out from Makefile.am). |
---|
171 | |
---|
172 | 2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
173 | |
---|
174 | PR 754/rtems |
---|
175 | * rtems/asm.h: New (relocated from .). |
---|
176 | * asm.h: Remove (moved to rtems/asm.h). |
---|
177 | * Makefile.am: Reflect changes above. |
---|
178 | |
---|
179 | 2004-01-28 Ralf Corsepius <ralf.corsepiu@rtems.org> |
---|
180 | |
---|
181 | * asm.h, rtems/score/avr.h, rtems/score/cpu.h, |
---|
182 | rtems/score/cpu_asm.h, rtems/score/types.h: New header guards. |
---|
183 | |
---|
184 | 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
185 | |
---|
186 | * rtems/score/types.h: Remove signed8, signed16, signed32, |
---|
187 | unsigned8, unsigned16, unsigned32. |
---|
188 | |
---|
189 | 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
190 | |
---|
191 | * rtems/score/cpu.h: *_swap_u32( uint32_t ). |
---|
192 | |
---|
193 | 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
194 | |
---|
195 | * Makefile.am: Eliminate CFLAGS_OPTIMIZE_V. |
---|
196 | |
---|
197 | 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
198 | |
---|
199 | * Makefile.am: Remove build-variant support. |
---|
200 | |
---|
201 | 2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
202 | |
---|
203 | * asm.h: Add doxygen preamble. |
---|
204 | |
---|
205 | 2004-10-02 Ralf Corsepius <ralf_corsepius@rtems.org> |
---|
206 | |
---|
207 | * rtems/score/avr.h: Add doxygen preamble. |
---|
208 | * rtems/score/cpu.h: Add doxygen preamble. |
---|
209 | * rtems/score/cpu_asm.h: Add doxygen preamble. |
---|
210 | * rtems/score/types.h: Add doxygen preamble. |
---|
211 | |
---|
212 | 2004-11-01 Ralf Corsepius <ralf_corsepius@rtems.org> |
---|
213 | |
---|
214 | * rtems/score/types.h: s/no_cpu/avr/g. |
---|
215 | Use POSIX types from rtems/stdint.h. |
---|
216 | |
---|
217 | 2004-09-29 Joel Sherrill <joel@OARcorp.com> |
---|
218 | |
---|
219 | * rtems/score/cpu.h: i960 obsoleted and all references removed. |
---|
220 | |
---|
221 | 2004-09-23 Ralf Corsepius <ralf_corsepius@rtems.org> |
---|
222 | |
---|
223 | * rtems/score/types.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, |
---|
224 | rtems/score/avr.h, Makefile.am, asm.h, cpu.c, cpu_asm.c, README: |
---|
225 | New. |
---|
226 | |
---|