source: rtems/cpukit/score/cpu/sparc/ChangeLog @ 8f582bc

4.115
Last change on this file since 8f582bc was 8f582bc, checked in by Joel Sherrill <joel.sherrill@…>, on 10/07/11 at 14:31:44

2011-10-07 Daniel Hellstrom <daniel@…>

PR 1932/cpukit

  • cpu_asm.S: At some point the interrupt trap handler causes a window-overflow and the window overflow trap handler crashes when writing to 0. I found that this is because the WIM was bad, to the window overflow handler uses a uninitialized stack pointer in a window never used.
    • g3=CWP, not WIM
    • CWP is incremented by done_flushing no need doing that here also
    • I see no reason to create an additional stack frame (save)
    • Must turn off traps when updating WIM (maybe already done by caller?)
  • Property mode set to 100644
File size: 16.1 KB
Line 
12011-10-07      Daniel Hellstrom <daniel@gaisler.com>
2
3        PR 1932/cpukit
4        * cpu_asm.S: At some point the interrupt trap handler causes a
5        window-overflow and the window overflow trap handler crashes when
6        writing to 0. I found that this is because the WIM was bad, to the
7        window overflow handler uses a uninitialized stack pointer in a
8        window never used.
9         * g3=CWP, not WIM
10         * CWP is incremented by done_flushing no need doing that here also
11         * I see no reason to create an additional stack frame (save)
12         * Must turn off traps when updating WIM (maybe already done by caller?)       
132011-09-27      Sebastian Huber <sebastian.huber@embedded-brains.de>
14
15        PR 1914/cpukit
16        * rtems/score/cpu.h: Select timestamp implementation.
17
182011-07-24      Joel Sherrill <joel.sherrill@oarcorp.com>
19
20        * cpu.c: Remove /*PAGE markers which were interpreted by a long dead
21        print script.
22
232011-06-21      Joel Sherrill <joel.sherrill@oarcorp.com>
24
25        * rtems/score/cpu.h, rtems/score/sparc.h, rtems/score/types.h: Convert
26        comments to Doxygen style and improve.
27
282011-05-17      Ralf Corsépius <ralf.corsepius@rtems.org>
29
30        * Makefile.am: Reformat.
31
322011-04-18      Joel Sherrill <joel.sherrilL@OARcorp.com>
33
34        * rtems/score/sparc.h: Remove warnings.
35
362011-02-11      Ralf Corsépius <ralf.corsepius@rtems.org>
37
38        * rtems/score/cpu.h, rtems/score/sparc.h:
39        Use "__asm__" instead of "asm" for improved c99-compliance.
40
412010-11-16      Joel Sherrill <joel.sherrill@oarcorp.com>
42
43        * cpu.c: Remove unused variable reported by clang.
44
452010-10-21      Joel Sherrill <joel.sherrill@oarcorp.com>
46
47        * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
48        _CPU_Context_restore() because it does not return. Telling GCC this
49        avoids generation of dead code.
50
512010-07-29      Gedare Bloom <giddyup44@yahoo.com>
52
53        PR 1635/cpukit
54        * rtems/score/types.h: Refactoring of priority handling, to isolate the
55        bitmap implementation of priorities in the supercore so that priority
56        management is a little more modular. This change is in anticipation
57        of scheduler implementations that can select how they manage tracking
58        priority levels / finding the highest priority ready task. Note that
59        most of the changes here are simple renaming, to clarify the use of
60        the bitmap-based priority management.
61
622010-07-16      Sebastian Huber <sebastian.huber@embedded-brains.de>
63
64        * rtems/score/cpu.h: Include <rtems/score/types.h> first.
65        * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
66
672010-06-28      Joel Sherrill <joel.sherrill@oarcorp.com>
68
69        PR 1573/cpukit
70        * cpu_asm.S, rtems/score/cpu.h: Add a per cpu data structure which
71        contains the information required by RTEMS for each CPU core. This
72        encapsulates information such as thread executing, heir, idle and
73        dispatch needed.
74
752010-03-27      Joel Sherrill <joel.sherrill@oarcorp.com>
76
77        * cpu.c, cpu_asm.S: Add include of config.h
78
792009-03-12      Joel Sherrill <joel.sherrill@OARcorp.com>
80
81        PR 1385/cpukit
82        * cpu_asm.S: When the type rtems_boolean was switched to the C99 bool,
83        the size changed from 4 bytes to 1 byte. The interrupt dispatching
84        code accesses two boolean variables for scheduling purposes and the
85        assembly implementations of this code did not get updated.
86
872009-02-12      Joel Sherrill <joel.sherrill@oarcorp.com>
88
89        * rtems/score/cpu.h: Change prototype of IDLE thread to consistently
90        return void * and take a uintptr_t argument.
91
922009-02-11      Joel Sherrill <joel.sherrill@oarcorp.com>
93
94        * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
95        passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
96        comments.
97
982008-09-11      Ralf Corsépius <ralf.corsepius@rtems.org>
99
100        * rtems/score/types.h: Do not define boolean, single_precision,
101        double_precision unless RTEMS_DEPRECATED_TYPES is given.
102
1032008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
104
105        * cpu.c: Remove extraneous spaces.
106
1072008-09-05      Ralf Corsépius <ralf.corsepius@rtems.org>
108
109        * cpu.c, rtems/score/cpu.h: Convert to "bool".
110
1112008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
112
113        * rtems/score/types.h: Include stdbool.h.
114        Use bool as base-type for boolean.
115
1162008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
117
118        PR 1294/bsps
119        * rtems/score/cpu.h, rtems/score/sparc.h: Correct prototype and usage
120        of sparc_disable_interrupts.
121
1222008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
123
124        * rtems/score/cpu.h: Spacing.
125
1262008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
127
128        * rtems/score/cpu.h: Correct prototype of Idle threads.
129
1302008-06-05      Joel Sherrill <joel.sherrill@OARcorp.com>
131
132        * rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting
133        parameter to indicate that the port uses the Simple Vectored
134        Interrupt model or the Programmable Interrupt Controller Model. The
135        PIC model is implemented primarily in the BSP and it is responsible
136        for all memory allocation.
137
1382008-02-20      Alexandru Bugnar <a-bugnar@criticalsoftware.com>
139
140        PR 1278/cpukit
141        * cpu.c: Fix incorrect bit manipulation on returning old address of raw
142        trap handler.
143
1442007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
145
146        * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
147
1482007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
149
150        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
151        Table to Configuration Table. Eliminate CPU Table from all ports.
152        Delete references to CPU Table in all forms.
153
1542007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
155
156        * rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
157        the Configuration Table. This included pretasking_hook,
158        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
159        extra_mpci_receive_server_stack, stack_allocate_hook, and
160        stack_free_hook. As a side-effect of this effort some multiprocessing
161        code was made conditional and some style clean up occurred.
162
1632007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
164
165        PR 1237/rtems
166        * cpu.c, cpu_asm.S, rtems/score/cpu.h: Add logic to prevent stack creep
167        when interrupts occur at a sufficient rate that the interrupted
168        thread never gets to clean its stack. This patch ensures that an
169        interrupted thread will not nest ISR dispatches on its stack.
170
1712007-05-09      Ralf Corsépius <ralf.corsepius@rtems.org>
172
173        * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
174
1752007-04-17      Ralf Corsépius <ralf.corsepius@rtems.org>
176
177        * cpu.c:
178          Use Context_Control_fp* instead of void* for fp_contexts.
179        * rtems/score/cpu.h:
180          Use Context_Control_fp* instead of void* for fp_contexts.
181          Eliminate evil casts.
182
1832006-11-17      Ralf Corsépius <ralf.corsepius@rtems.org>
184
185        * rtems/score/types.h: Remove unsigned64, signed64.
186
1872006-11-14      Jiri Gaisler <jiri@gaisler.com>
188
189        * cpu_asm.S: Properly support synchronous traps.
190
1912006-01-16      Joel Sherrill <joel@OARcorp.com>
192
193        * rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
194        As a side-effect, grammar and spelling errors were corrected, spacing
195        errors were address, and some variable names were improved.
196
1972005-11-08      Ralf Corsepius <ralf.corsepius@rtems.org>
198
199        * rtems/score/types.h: Eliminate unsigned16, unsigned32.
200
2012005-10-27      Ralf Corsepius <ralf.corsepius@rtems.org>
202
203        * rtems/asm.h: Remove private version of CONCAT macros.
204        Include <rtems/concat.h> instead.
205
2062005-02-08      Ralf Corsepius <ralf.corsepius@rtems.org>
207
208        * Makefile.am: Split out preinstallation rules.
209        * preinstall.am: New (Split out from Makefile.am).
210
2112005-02-04      Ralf Corsepius <ralf.corsepius@rtems.org>
212
213        PR 754/rtems
214        * rtems/asm.h: New (relocated from .).
215        * asm.h: Remove (moved to rtems/asm.h).
216        * Makefile.am: Reflect changes above.
217
2182004-01-28      Ralf Corsepius <ralf.corsepiu@rtems.org>
219
220        * asm.h, rtems/score/cpu.h, rtems/score/sparc.h,
221        rtems/score/types.h: New header guards.
222
2232005-01-24      Ralf Corsepius <ralf.corsepius@rtems.org>
224
225        * rtems/score/types.h: Remove signed8, signed16, signed32,
226        unsigned8, unsigned16, unsigned32.
227
2282005-01-24      Ralf Corsepius <ralf.corsepius@rtems.org>
229
230        * rtems/score/cpu.h: *_swap_u32( uint32_t ).
231
2322005-01-24      Ralf Corsepius <ralf.corsepius@rtems.org>
233
234        * rtems/score/types.h: #include <rtems/stdint.h>.
235
2362005-01-22      Ralf Corsepius <ralf.corsepius@rtems.org>
237
238        * rtems/score/cpu.h: Fix broken #endif.
239
2402005-01-07      Ralf Corsepius <ralf.corsepius@rtems.org>
241
242        * Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
243
2442005-01-01      Ralf Corsepius <ralf.corsepius@rtems.org>
245
246        * Makefile.am: Remove build-variant support.
247
2482004-11-21      Ralf Corsepius <ralf.corsepius@rtems.org>
249
250        * rtems/score/types.h: Use __rtems_score_types_h as preprocessor
251        guard.
252
2532004-11-21      Ralf Corsepius <ralf.corsepius@rtems.org>
254
255        * asm.h: Add doxygen preamble.
256
2572004-10-02      Ralf Corsepius <ralf_corsepius@rtems.org>
258
259        * rtems/score/cpu.h: Add doxygen preamble.
260        * rtems/score/sparc.h: Add doxygen preamble.
261        * rtems/score/types.h: Add doxygen preamble.
262
2632004-04-06      Ralf Corsepius <ralf_corsepius@rtems.org>
264
265        * configure.ac: Remove (Merged into$(top_srcdir)/configure.ac).
266        * Makefile.am: Don't include multilib.am.
267        Reflect merging configure.ac into $(top_srcdir)/configure.ac.
268
2692004-04-01      Ralf Corsepius <ralf_corsepius@rtems.org>
270
271        * Makefile.am: Install asm.h to $(includedir)/rtems.
272
2732004-04-01      Ralf Corsepius <ralf_corsepius@rtems.org>
274
275        * cpu_asm.S: Include <rtems/asm.h> instead of <asm.h>.
276
2772004-03-30      Ralf Corsepius <ralf_corsepius@rtems.org>
278
279        * cpu.c, rtems/score/cpu.h, rtems/score/sparc.h: Convert to using
280        c99 fixed size types.
281
2822004-03-29      Ralf Corsepius <ralf_corsepius@rtems.org>
283
284        * configure.ac: RTEMS_TOP([../../../..]).
285
2862004-02-26      Andreas Karlsson <andreas.karlsson@space.se>
287
288        604/bsps
289        * cpu_asm.S: Close window while restoring interrupted task state which
290        resulted in CWP corruption.
291
2922004-01-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
293
294        * configure.ac: Move RTEMS_TOP one subdir down.
295
2962004-01-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
297
298        * Makefile.am: Add PREINSTALL_DIRS.
299
3002004-01-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
301
302        * Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
303        Add PREINSTALL_FILES to CLEANFILES.
304
3052004-01-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
306
307        * configure.ac: Requires automake >= 1.8.1.
308
3092004-01-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
310
311        * Makefile.am: Include compile.am, again.
312
3132004-01-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
314
315        * Makefile.am: Convert to using automake compilation rules.
316
3172003-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
318
319        * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES.
320
3212003-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
322
323        * configure.ac: Require automake >= 1.8, autoconf >= 2.59.
324
3252003-12-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
326
327        * Makefile.am: Remove TMPINSTALL_FILES.
328
3292003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
330
331        * Makefile.am: Add $(dirstamp) to preinstallation rules.
332
3332003-11-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
334
335        * Makefile.am: Don't use gmake rules for preinstallation.
336
3372003-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
338
339        * configure.ac: Remove RTEMS_CANONICAL_HOST.
340
3412003-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
342
343        * configure.ac: Remove RTEMS_CHECK_CPU.
344
3452003-09-04      Joel Sherrill <joel@OARcorp.com>
346
347        * cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/sparc.h,
348        rtems/score/types.h: URL for license changed.
349
3502003-08-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
351
352        * configure.ac: Use rtems-bugs@rtems.com as bug report email address.
353
3542003-03-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
355
356        * configure.ac: Remove AC_CONFIG_AUX_DIR.
357
3582002-12-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
359
360        * configure.ac: Require autoconf-2.57 + automake-1.7.2.
361        * Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
362
3632002-11-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
364
365        * configure.ac: Fix package name.
366
3672002-10-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
368
369        * configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
370
3712002-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
372
373        * .cvsignore: Reformat.
374        Add autom4te*cache.
375        Remove autom4te.cache.
376
3772002-08-08      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
378
379        * cpu.c: Move pointer into #ifdef to avoid compiler warning.
380
3812002-07-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
382
383        * Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
384
3852002-07-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
386
387        * Makefile.am: Use .$(OBJEXT) instead of .o.
388
3892002-07-05      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
390
391        * configure.ac: RTEMS_TOP(../../../..).
392
3932002-07-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
394
395        * rtems.S: Remove.
396        * Makefile.am: Reflect changes above.
397
3982002-07-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
399
400        * configure.ac: Remove RTEMS_PROJECT_ROOT.
401
4022002-06-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
403
404        * configure.ac: Add RTEMS_PROG_CCAS
405
4062002-06-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
407
408        * configure.ac: Use AC_CONFIG_AUX_DIR(../../../..).
409        Add AC_PROG_RANLIB.
410
4112002-06-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
412
413        * Makefile.am: Include $(top_srcdir)/../../../automake/*.am.
414        Use ../../../aclocal.
415
4162002-04-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
417
418        * cpu.c: Remove call to sparc_init_tbr/NO_TABLE_MOVE.
419        * rtems/score/cpu.h: Remove NO_TABLE_MOVE conditional code.
420
421
4222001-04-03      Joel Sherrill <joel@OARcorp.com>
423
424        * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
425        * rtems/score/sparctypes.h: Removed.
426        * rtems/score/types.h: New file via CVS magic.
427        * Makefile.am, rtems/score/cpu.h: Account for name change.
428
4292002-03-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
430
431        * cpu.c: Replace NO_TABLE_MOVE-support by external function
432        (code moved to libcpu/sparc/tbr/tbr.c).
433        * cpu.h: Replace NO_TABLE_MOVE-support by external function
434        (code moved to libcpu/sparc/tbr/tbr.h).
435        * sparc.h: Add sparc_init_tbr (implemented in libcpu/sparc/tbr/tbr.c).
436
4372002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
438
439        * configure.ac:
440        AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
441        AM_INIT_AUTOMAKE([no-define foreign 1.6]).
442        * Makefile.am: Remove AUTOMAKE_OPTIONS.
443
4442002-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
445
446        * Makefile.am: Reflect 2002-01-23 changes.
447
4482001-01-30      Joel Sherrill <joel@OARcorp.com>
449
450        * Makefile.am: Corrected so .h files from rtems/score/ are installed.
451
4522002-01-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
453
454        * rtems/Makefile.am: Removed.
455        * rtems/score/Makefile.am: Removed.
456        * configure.ac: Reflect changes above.
457
4582001-12-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
459
460        * Makefile.am: Add multilib support.
461
4622001-11-28      Joel Sherrill <joel@OARcorp.com>,
463
464        This was tracked as PR91.
465        * rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
466        is used to specify if the port uses the standard macro for this (FALSE).
467        A TRUE setting indicates the port provides its own implementation.
468
4692001-10-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
470
471        * .cvsignore: Add autom4te.cache for autoconf > 2.52.
472        * configure.in: Remove.
473        * configure.ac: New file, generated from configure.in by autoupdate.
474
4752001-09-27      Jiri Gaisler <jiri@gaisler.com>
476
477        * cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
478        bug has been there all the time, but only hits the leon bsp since the
479        leon cpu has a 5-stage pipeline (erc32 has 4 stages).
480
4812001-09-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
482
483        * rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
484        * Makefile.am: Use 'PREINSTALL_FILES ='.
485
486
4872001-02-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
488
489        * Makefile.am, rtems/score/Makefile.am:
490        Apply include_*HEADERS instead of H_FILES.
491
4922001-01-03      Joel Sherrill <joel@OARcorp.com>
493
494        * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
495        * cpu_asm.S: Modify to properly dereference _ISR_Vector_table
496        now that it is dynamically allocated.
497
4982000-12-06      Joel Sherrill <joel@OARcorp.com>
499
500        * cpu.c: Added include of <rtems/rtems/cache.h> to eliminate warning.
501
5022000-11-21      Jiri Gaisler <jgais@ws.estec.esa.nl>
503
504        * cpu_asm.S: Fix for CPUs with FPU revision B or C.
505
5062000-11-14      Jiri Gaisler <jgais@ws.estec.esa.nl>
507
508        * cpu.c, rtems/cpu/sparc.h: Make floating point optional based
509        on gcc arguments.  Do not initialize FP context if there is
510        no FPU.  Flush instruction cache after installing RTEMS trap handler.
511
5122000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
513
514        * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
515
5162000-11-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
517
518        * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
519
5202000-10-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
521
522        * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
523        Switch to GNU canonicalization.
524
5252000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
526
527        * Makefile.am: Include compile.am.
528
5292000-08-10      Joel Sherrill <joel@OARcorp.com>
530
531        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.