1 | 2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de> |
---|
2 | |
---|
3 | * rtems/asm.h: Fixed header guard. |
---|
4 | * rtems/score/cpu.h: Assembler compatibility fixes. |
---|
5 | |
---|
6 | 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> |
---|
7 | |
---|
8 | * rtems/score/cpu.h: Include <rtems/score/types.h> first. |
---|
9 | * rtems/score/types.h: Use <rtems/score/basedefs.h> header file. |
---|
10 | |
---|
11 | 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
12 | |
---|
13 | PR 1573/cpukit |
---|
14 | * cpu_asm.S, rtems/score/cpu.h: Add a per cpu data structure which |
---|
15 | contains the information required by RTEMS for each CPU core. This |
---|
16 | encapsulates information such as thread executing, heir, idle and |
---|
17 | dispatch needed. |
---|
18 | |
---|
19 | 2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com> |
---|
20 | |
---|
21 | * Makefile.am, cpu_asm.S, avr/boot.h, avr/common.h, avr/crc16.h, |
---|
22 | avr/delay.h, avr/eeprom.h, avr/fuse.h, avr/interrupt.h, avr/io.h, |
---|
23 | avr/io1200.h, avr/io2313.h, avr/io2323.h, avr/io2333.h, avr/io2343.h, |
---|
24 | avr/io43u32x.h, avr/io43u35x.h, avr/io4414.h, avr/io4433.h, |
---|
25 | avr/io4434.h, avr/io76c711.h, avr/io8515.h, avr/io8534.h, |
---|
26 | avr/io8535.h, avr/io86r401.h, avr/io90pwm1.h, avr/io90pwm216.h, |
---|
27 | avr/io90pwm2b.h, avr/io90pwm316.h, avr/io90pwm3b.h, avr/io90pwm81.h, |
---|
28 | avr/io90pwmx.h, avr/io90scr100.h, avr/ioa6289.h, avr/ioat94k.h, |
---|
29 | avr/iocan128.h, avr/iocan32.h, avr/iocan64.h, avr/iocanxx.h, |
---|
30 | avr/iom103.h, avr/iom128.h, avr/iom1280.h, avr/iom1281.h, |
---|
31 | avr/iom1284p.h, avr/iom128rfa1.h, avr/iom16.h, avr/iom161.h, |
---|
32 | avr/iom162.h, avr/iom163.h, avr/iom164.h, avr/iom165.h, |
---|
33 | avr/iom165p.h, avr/iom168.h, avr/iom168p.h, avr/iom169.h, |
---|
34 | avr/iom169p.h, avr/iom16hva.h, avr/iom16m1.h, avr/iom16u4.h, |
---|
35 | avr/iom2560.h, avr/iom2561.h, avr/iom32.h, avr/iom323.h, |
---|
36 | avr/iom324.h, avr/iom325.h, avr/iom3250.h, avr/iom328p.h, |
---|
37 | avr/iom329.h, avr/iom3290.h, avr/iom32c1.h, avr/iom32hvb.h, |
---|
38 | avr/iom32m1.h, avr/iom32u4.h, avr/iom32u6.h, avr/iom406.h, |
---|
39 | avr/iom48.h, avr/iom48p.h, avr/iom64.h, avr/iom640.h, avr/iom644.h, |
---|
40 | avr/iom645.h, avr/iom6450.h, avr/iom649.h, avr/iom6490.h, |
---|
41 | avr/iom64c1.h, avr/iom64m1.h, avr/iom8.h, avr/iom8515.h, |
---|
42 | avr/iom8535.h, avr/iom88.h, avr/iom88p.h, avr/iom8hva.h, avr/iomx8.h, |
---|
43 | avr/iomxx0_1.h, avr/iomxx4.h, avr/iomxxhva.h, avr/iotn11.h, |
---|
44 | avr/iotn12.h, avr/iotn13.h, avr/iotn13a.h, avr/iotn15.h, |
---|
45 | avr/iotn167.h, avr/iotn22.h, avr/iotn2313.h, avr/iotn24.h, |
---|
46 | avr/iotn25.h, avr/iotn26.h, avr/iotn261.h, avr/iotn28.h, |
---|
47 | avr/iotn43u.h, avr/iotn44.h, avr/iotn45.h, avr/iotn461.h, |
---|
48 | avr/iotn48.h, avr/iotn84.h, avr/iotn85.h, avr/iotn861.h, |
---|
49 | avr/iotn87.h, avr/iotn88.h, avr/iotnx4.h, avr/iotnx5.h, |
---|
50 | avr/iotnx61.h, avr/iousb1286.h, avr/iousb1287.h, avr/iousb162.h, |
---|
51 | avr/iousb646.h, avr/iousb647.h, avr/iousb82.h, avr/iousbxx2.h, |
---|
52 | avr/iousbxx6_7.h, avr/iox128a1.h, avr/iox128a3.h, avr/iox16a4.h, |
---|
53 | avr/iox16d4.h, avr/iox256a3.h, avr/iox256a3b.h, avr/iox32a4.h, |
---|
54 | avr/iox32d4.h, avr/iox64a1.h, avr/iox64a3.h, avr/lock.h, |
---|
55 | avr/parity.h, avr/pgmspace.h, avr/portpins.h, avr/power.h, |
---|
56 | avr/sfr_defs.h, avr/signal.h, avr/sleep.h, avr/version.h, avr/wdt.h, |
---|
57 | rtems/asm.h, rtems/score/cpu.h: Update to avr .h files from avr-libc |
---|
58 | 1.6.8. Tinker with code and includes to eliminate warnings. Now |
---|
59 | builds multilib. |
---|
60 | * avr/iom169pa.h, avr/iom16a.h, avr/iom16hva2.h, avr/iom16hvb.h, |
---|
61 | avr/iom16u2.h, avr/iom324pa.h, avr/iom32u2.h, avr/iom644p.h, |
---|
62 | avr/iom644pa.h, avr/iom649p.h, avr/iom64hve.h, avr/iom88pa.h, |
---|
63 | avr/iom8u2.h, avr/iotn2313a.h, avr/iotn24a.h, avr/iotn261a.h, |
---|
64 | avr/iotn4313.h, avr/iotn44a.h, avr/iotn461a.h, avr/iotn861a.h, |
---|
65 | avr/iox128d3.h, avr/iox192a3.h, avr/iox192d3.h, avr/iox256d3.h, |
---|
66 | avr/iox64d3.h, avr/signature.h: New files. |
---|
67 | |
---|
68 | 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
69 | |
---|
70 | * cpu.c, cpu_asm.S: Add include of config.h |
---|
71 | |
---|
72 | 2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
73 | |
---|
74 | * rtems/score/avr.h: Add avr6. |
---|
75 | |
---|
76 | 2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
77 | |
---|
78 | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in |
---|
79 | _CPU_Context_Initialize. |
---|
80 | |
---|
81 | 2009-08-05 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
82 | |
---|
83 | * Makefile.am: added AVR specific Header files to score/cpu/avr/avr. |
---|
84 | These are from avr-libc 1.6 and assumed to exist by AVR applications. |
---|
85 | * preinstall.am: Regenerated. |
---|
86 | |
---|
87 | 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
88 | |
---|
89 | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Context switch now works well |
---|
90 | enough to run ticker to completion with the simulator clock idle |
---|
91 | task. But if you comment out the printk's in _CPU_Context_Initialize, |
---|
92 | it hangs. This remains to be investigated. |
---|
93 | |
---|
94 | 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
95 | |
---|
96 | * cpu.c, cpu_asm.S: Unsuccessful attempt to fix. |
---|
97 | |
---|
98 | 2009-07-17 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
99 | |
---|
100 | *cpu_asm.S: implemented _CPU_Context_Restore by adding tags to |
---|
101 | restore section of context switch. |
---|
102 | Fixed bug in _CPU_Context_Switch. The wrong registers were being |
---|
103 | used for pointer to running task Context_Control struct. |
---|
104 | |
---|
105 | 2009-07-09 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
106 | |
---|
107 | * cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers |
---|
108 | were being used for pointer to running task Context_Control |
---|
109 | struct. |
---|
110 | |
---|
111 | 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca> |
---|
112 | |
---|
113 | * cpu.c: Implemented _CPU_Context_Initialize as a C function instead |
---|
114 | of a macro. It works with limited functionality. Implemented |
---|
115 | _CPU_Thread_Idle_body to use sleep instruction. |
---|
116 | * Makefile.am: Changed cpu_asm.c -> cpu_asm.S |
---|
117 | * cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm |
---|
118 | * rtems/asm.h: Appended "macros.inc" to the end of "asm.h" |
---|
119 | * rtems/score/cpu.h: |
---|
120 | + Included "avr/io.h". |
---|
121 | + Added use 16 bit object definition. |
---|
122 | + Modified Context_Control struct to relect the registers |
---|
123 | that need to be saved. |
---|
124 | + Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash. |
---|
125 | Added function definitions for _CPU_Context_Initialize and |
---|
126 | _CPU_Push. |
---|
127 | |
---|
128 | 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
129 | |
---|
130 | * rtems/score/cpu.h: Lower number of priorities and do not inline as |
---|
131 | much. |
---|
132 | |
---|
133 | 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
134 | |
---|
135 | * rtems/score/cpu.h: Lower minimum stack size to 512 and CPU alignment |
---|
136 | to 4. |
---|
137 | |
---|
138 | 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
139 | |
---|
140 | * cpu_asm.c: Add stub for setjmp/longjmp. Remove when in newlib. |
---|
141 | |
---|
142 | 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
143 | |
---|
144 | * rtems/score/cpu.h: AVR stack grows down. |
---|
145 | |
---|
146 | 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
147 | |
---|
148 | * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to |
---|
149 | consistently return void * and take a uintptr_t argument. |
---|
150 | |
---|
151 | 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
152 | |
---|
153 | * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and |
---|
154 | passing address of _Thread_Dispatch to _CPU_Initialize. Clean up |
---|
155 | comments. |
---|
156 | |
---|
157 | 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
158 | |
---|
159 | * cpu.c, cpu_asm.c: Remove warnings -- even if code is just temporary. |
---|
160 | |
---|
161 | 2008-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
162 | |
---|
163 | * cpu.c, cpu_asm.c: Add debug printk() calls until the BSP/port can |
---|
164 | initialize and shutdown completely cleanly. When this works, |
---|
165 | implement context switch. Testing on avrtest and simulavr. |
---|
166 | |
---|
167 | 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
168 | |
---|
169 | * rtems/score/types.h: Do not define boolean, single_precision, |
---|
170 | double_precision unless RTEMS_DEPRECATED_TYPES is given. |
---|
171 | |
---|
172 | 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
173 | |
---|
174 | * rtems/score/avr.h: Add avr25, avr31, avr35, avr51 to |
---|
175 | CPU_NAME cascade. |
---|
176 | * rtems/score/cpu.h: Add missing prototypes.h. |
---|
177 | |
---|
178 | 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
179 | |
---|
180 | * rtems/score/types.h: Include stdbool.h. |
---|
181 | Use bool as base-type for boolean. |
---|
182 | |
---|
183 | 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
184 | |
---|
185 | * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads. |
---|
186 | |
---|
187 | 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
188 | |
---|
189 | * rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting |
---|
190 | parameter to indicate that the port uses the Simple Vectored |
---|
191 | Interrupt model or the Programmable Interrupt Controller Model. The |
---|
192 | PIC model is implemented primarily in the BSP and it is responsible |
---|
193 | for all memory allocation. |
---|
194 | |
---|
195 | 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com> |
---|
196 | |
---|
197 | * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. |
---|
198 | |
---|
199 | 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
200 | |
---|
201 | * rtems/score/avr.h: Sweep to make sure grep for COPYRIGHT passes. |
---|
202 | |
---|
203 | 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
204 | |
---|
205 | * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU |
---|
206 | Table to Configuration Table. Eliminate CPU Table from all ports. |
---|
207 | Delete references to CPU Table in all forms. |
---|
208 | |
---|
209 | 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> |
---|
210 | |
---|
211 | * rtems/score/cpu.h: Moved most of the remaining CPU Table fields to |
---|
212 | the Configuration Table. This included pretasking_hook, |
---|
213 | predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, |
---|
214 | extra_mpci_receive_server_stack, stack_allocate_hook, and |
---|
215 | stack_free_hook. As a side-effect of this effort some multiprocessing |
---|
216 | code was made conditional and some style clean up occurred. |
---|
217 | |
---|
218 | 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
219 | |
---|
220 | * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES. |
---|
221 | |
---|
222 | 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
223 | |
---|
224 | * cpu_asm.c: |
---|
225 | Use Context_Control_fp* instead of void* for fp_contexts. |
---|
226 | * rtems/score/cpu.h: |
---|
227 | Use Context_Control_fp* instead of void* for fp_contexts. |
---|
228 | Eliminate evil casts. |
---|
229 | |
---|
230 | 2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org> |
---|
231 | |
---|
232 | * rtems/score/types.h: Remove unsigned64, signed64. |
---|
233 | |
---|
234 | 2006-01-16 Joel Sherrill <joel@OARcorp.com> |
---|
235 | |
---|
236 | * rtems/score/cpu.h: Part of a large patch to improve Doxygen output. |
---|
237 | As a side-effect, grammar and spelling errors were corrected, spacing |
---|
238 | errors were address, and some variable names were improved. |
---|
239 | |
---|
240 | 2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
241 | |
---|
242 | * rtems/score/types.h: Eliminate unsigned16, unsigned32. |
---|
243 | |
---|
244 | 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
245 | |
---|
246 | * rtems/asm.h: Remove private version of CONCAT macros. |
---|
247 | Include <rtems/concat.h> instead. |
---|
248 | |
---|
249 | 2005-02-19 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
250 | |
---|
251 | * rtems/score/cpu.h: Remove traces from NO_CPU. |
---|
252 | |
---|
253 | 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
254 | |
---|
255 | * Makefile.am: Split out preinstallation rules. |
---|
256 | * preinstall.am: New (Split out from Makefile.am). |
---|
257 | |
---|
258 | 2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
259 | |
---|
260 | PR 754/rtems |
---|
261 | * rtems/asm.h: New (relocated from .). |
---|
262 | * asm.h: Remove (moved to rtems/asm.h). |
---|
263 | * Makefile.am: Reflect changes above. |
---|
264 | |
---|
265 | 2004-01-28 Ralf Corsepius <ralf.corsepiu@rtems.org> |
---|
266 | |
---|
267 | * asm.h, rtems/score/avr.h, rtems/score/cpu.h, |
---|
268 | rtems/score/cpu_asm.h, rtems/score/types.h: New header guards. |
---|
269 | |
---|
270 | 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
271 | |
---|
272 | * rtems/score/types.h: Remove signed8, signed16, signed32, |
---|
273 | unsigned8, unsigned16, unsigned32. |
---|
274 | |
---|
275 | 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
276 | |
---|
277 | * rtems/score/cpu.h: *_swap_u32( uint32_t ). |
---|
278 | |
---|
279 | 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
280 | |
---|
281 | * Makefile.am: Eliminate CFLAGS_OPTIMIZE_V. |
---|
282 | |
---|
283 | 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
284 | |
---|
285 | * Makefile.am: Remove build-variant support. |
---|
286 | |
---|
287 | 2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org> |
---|
288 | |
---|
289 | * asm.h: Add doxygen preamble. |
---|
290 | |
---|
291 | 2004-10-02 Ralf Corsepius <ralf_corsepius@rtems.org> |
---|
292 | |
---|
293 | * rtems/score/avr.h: Add doxygen preamble. |
---|
294 | * rtems/score/cpu.h: Add doxygen preamble. |
---|
295 | * rtems/score/cpu_asm.h: Add doxygen preamble. |
---|
296 | * rtems/score/types.h: Add doxygen preamble. |
---|
297 | |
---|
298 | 2004-11-01 Ralf Corsepius <ralf_corsepius@rtems.org> |
---|
299 | |
---|
300 | * rtems/score/types.h: s/no_cpu/avr/g. |
---|
301 | Use POSIX types from rtems/stdint.h. |
---|
302 | |
---|
303 | 2004-09-29 Joel Sherrill <joel@OARcorp.com> |
---|
304 | |
---|
305 | * rtems/score/cpu.h: i960 obsoleted and all references removed. |
---|
306 | |
---|
307 | 2004-09-23 Ralf Corsepius <ralf_corsepius@rtems.org> |
---|
308 | |
---|
309 | * rtems/score/types.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, |
---|
310 | rtems/score/avr.h, Makefile.am, asm.h, cpu.c, cpu_asm.c, README: |
---|
311 | New. |
---|
312 | |
---|