Ralf Corsepius
f7e5fb5fc2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/include/rtems/score/basedefs.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:27:03 +00:00
Ralf Corsepius
d00ca42931
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h, rtems/score/sparc64.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:25:21 +00:00
Ralf Corsepius
3631c234d8
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/powerpc/registers.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:24:09 +00:00
Ralf Corsepius
69aa2c61b1
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* irq.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:23:20 +00:00
Ralf Corsepius
0e9008738c
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, rtems/score/cpu.h, rtems/score/m68k.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:22:30 +00:00
Ralf Corsepius
06225d5593
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* context_init.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:21:33 +00:00
Ralf Corsepius
901ffaca0b
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* context_init.c, cpu.c, varvects.h, rtems/score/cpu.h,
rtems/score/m32c.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:20:50 +00:00
Ralf Corsepius
c05f6238b9
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, sse_test.c, rtems/score/cpu.h, rtems/score/i386.h,
rtems/score/interrupts.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:14:20 +00:00
Ralf Corsepius
01850cde14
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, rtems/asm.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:13:08 +00:00
Ralf Corsepius
566fa34827
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:11:57 +00:00
Ralf Corsepius
0b6cb0cd0b
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* avr/power.h: Revert previous patch.
2011-02-11 09:11:00 +00:00
Ralf Corsepius
60cde416df
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, avr/interrupt.h, avr/power.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:09:21 +00:00
Ralf Corsepius
9f9371f562
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:08:14 +00:00
Ralf Corsepius
9ddff29e12
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, irq.c, rtems/score/lm32.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:57:36 +00:00
Ralf Corsepius
05d72d5e09
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* context.c, cpu.c, rtems/score/cpu.h, rtems/score/sh.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:56:10 +00:00
Ralf Corsepius
f8958d9c7d
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, rtems/score/mips.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:54:08 +00:00
Ralf Corsepius
e4a2a21f8d
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h, rtems/score/sparc.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 08:52:39 +00:00
Joel Sherrill
c52c319ebf
2011-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1733/cpukit
* score/src/isr.c: If target architecture does nto require stack
initialization, then do not perform adjustment.
2011-02-01 20:22:08 +00:00
Joel Sherrill
0566429284
2011-01-31 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* context_switch.S: Reverse registers.
2011-02-01 01:14:54 +00:00
Sebastian Huber
7171baf72b
2011-01-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/powerpc/registers.h: Changed Freescale EIS prefix. More
Freescale EIS defines. Added MSR_IS, MSR_DS, and MSR_PMM defines.
2011-01-31 15:46:13 +00:00
Joel Sherrill
dcf368747f
2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/irq.h,
score/cpu/i386/rtems/score/idtr.h,
score/cpu/powerpc/rtems/powerpc/registers.h,
score/src/objectidtoname.c, score/src/schedulerpriorityblock.c,
score/src/schedulerpriorityschedule.c,
score/src/schedulerpriorityunblock.c,
score/src/schedulerpriorityyield.c, score/src/thread.c,
score/src/threadchangepriority.c, score/src/threadclearstate.c,
score/src/threadclose.c, score/src/threadcreateidle.c,
score/src/threaddelayended.c, score/src/threaddispatch.c,
score/src/threadget.c, score/src/threadhandler.c,
score/src/threadinitialize.c, score/src/threadloadenv.c,
score/src/threadready.c, score/src/threadreset.c,
score/src/threadrestart.c, score/src/threadresume.c,
score/src/threadsetpriority.c, score/src/threadsetstate.c,
score/src/threadsettransient.c, score/src/threadstackallocate.c,
score/src/threadstackfree.c, score/src/threadstart.c,
score/src/threadstartmultitasking.c, score/src/threadsuspend.c,
score/src/threadtickletimeslice.c, score/src/threadyieldprocessor.c:
Fix typo where license said found in found in.
2011-01-28 20:24:54 +00:00
Sebastian Huber
20109f3089
2011-01-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/powerpc/registers.h: Added BOOKE_PIR define.
2011-01-26 15:20:46 +00:00
Sebastian Huber
9deaa215ac
2011-01-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libblock/src/show_bdbuf.c, score/src/objectmp.c,
score/src/threadmp.c: Avoid chain API violations.
2011-01-20 09:18:00 +00:00
Sebastian Huber
61380a5451
2011-01-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API
violations.
2011-01-20 08:16:15 +00:00
Joel Sherrill
031785a6cd
2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cpu_asm.S: _Thread_Executing was not used.
2011-01-04 15:33:31 +00:00
Sebastian Huber
18657d189d
2010-12-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/src/watchdognanoseconds.c: New file.
* score/Makefile.am: Reflect change above.
* score/include/rtems/score/watchdog.h, score/src/coretodget.c,
score/src/coretodgetuptime.c: Do not allow NULL as nanoseconds since
last tick handler pointer.
2010-12-16 14:50:12 +00:00
Sebastian Huber
10ace498cb
2010-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
previous commit due to too many broken linker command files. The
HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but
only few linker command files respect this.
2010-11-30 08:15:35 +00:00
Sebastian Huber
d6a72fff81
2010-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added
support for .preinit_array, .init_array and .fini_array sections.
2010-11-29 14:14:27 +00:00
Sebastian Huber
5c4e0c5947
2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* sapi/include/confdefs.h, score/include/rtems/score/scheduler.h,
score/inline/rtems/score/scheduler.inl,
score/inline/rtems/score/schedulerpriority.inl,
score/src/schedulerpriority.c,
score/src/schedulerprioritythreadschedulerallocate.c,
score/src/schedulerprioritythreadschedulerfree.c,
score/src/schedulerprioritythreadschedulerupdate.c,
score/src/schedulerpriorityyield.c: Added attribute unused. Renamed
types and fields to follow the Score naming conventions.
2010-11-25 13:24:26 +00:00
Sebastian Huber
215f4014e6
2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/include/rtems/score/scheduler.h,
score/include/rtems/score/schedulerpriority.h: Whitespace removal.
Moved C++ extern directive.
2010-11-25 12:42:50 +00:00
Sebastian Huber
76da5fa89d
2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
PR 1711/cpukit
* score/inline/rtems/score/chain.inl, score/src/chain.c: New functions
_Chain_Immutable_head(), _Chain_Immutable_tail(),
_Chain_Immutable_first(), and _Chain_Immutable_last(). The
Chain_Control is now a union to avoid casts. The function
_Chain_Is_empty() takes now a const pointer parameter.
2010-11-25 11:48:11 +00:00
Sebastian Huber
ce002b161d
2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libfs/src/dosfs/fat_file.c, libfs/src/imfs/imfs_debug.c,
libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_getchild.c,
posix/src/killinfo.c, score/inline/rtems/score/schedulerpriority.inl,
score/inline/rtems/score/watchdog.inl, score/src/apiext.c,
score/src/chain.c, score/src/coremsgflushsupp.c,
score/src/coremsginsert.c, score/src/objectshrinkinformation.c,
score/src/schedulerpriorityyield.c,
score/src/threadqdequeuepriority.c,
score/src/threadqenqueuepriority.c,
score/src/threadqextractpriority.c, score/src/threadqfirstfifo.c,
score/src/threadqfirstpriority.c, score/src/threadyieldprocessor.c,
score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
score/src/userextthreadstart.c, score/src/userextthreadswitch.c,
score/src/watchdogreportchain.c: Avoid chain API violations.
2010-11-25 09:27:06 +00:00
Joel Sherrill
0faa9dad07
2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
...
PR 1647/cpukit
* posix/src/nanosleep.c, posix/src/sched_yield.c,
rtems/src/taskwakeafter.c, sapi/include/confdefs.h,
sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am,
score/preinstall.am, score/include/rtems/score/prioritybitmap.h,
score/include/rtems/score/thread.h,
score/inline/rtems/score/thread.inl, score/src/thread.c,
score/src/threadchangepriority.c, score/src/threadclearstate.c,
score/src/threadclose.c, score/src/threadinitialize.c,
score/src/threadready.c, score/src/threadresume.c,
score/src/threadsetpriority.c, score/src/threadsetstate.c,
score/src/threadsettransient.c, score/src/threadsuspend.c,
score/src/threadtickletimeslice.c: Refactor scheduler out of thread
handler to facilitate alternate scheduler implementations.
* score/src/threadyieldprocessor.c: Removed.
* score/src/schedulerprioritythreadschedulerupdate.c,
score/src/schedulerprioritythreadschedulerfree.c,
score/src/schedulerpriorityblock.c, score/src/scheduler.c,
score/src/schedulerprioritythreadschedulerallocate.c,
score/src/schedulerpriorityunblock.c,
score/src/schedulerpriority.c, score/src/schedulerpriorityyield.c,
score/include/rtems/score/schedulerpriority.h,
score/include/rtems/score/scheduler.h,
score/inline/rtems/score/scheduler.inl,
score/inline/rtems/score/schedulerpriority.inl: New files.
2010-11-24 15:51:28 +00:00
Sebastian Huber
db26513608
2010-11-23 Gedare Bloom <giddyup44@yahoo.com>
...
PR 1719/cpukit
* arm_exc_abort.S: Avoid "bx" instruction to support ARMv4 and below.
2010-11-23 15:59:18 +00:00
Sebastian Huber
8720a3a509
2010-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Avoid dead code if POSIX API is enabled.
2010-11-23 15:26:52 +00:00
Sebastian Huber
4e3d9b8a84
2010-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Fixed NULL pointer access in case POSIX API is disabled.
2010-11-23 14:59:05 +00:00
Sebastian Huber
71c8457dc0
2010-11-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/score/cpu.h: Set alignment requirements according to AAPCS.
2010-11-22 13:06:46 +00:00
Joel Sherrill
02591de7de
2010-11-16 Gedare Bloom <giddyup44@yahoo.com>
...
* rtems/score/sparc64.h: Fix typo.
2010-11-16 23:22:47 +00:00
Joel Sherrill
16d7b65331
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* score/src/objectnametoid.c, score/src/objectnametoidstring.c:
Remove useless variable pointed out by clang.
* score/src/threadstackallocate.c: Remove useless variable
initialization pointed out by clang.
2010-11-16 17:50:26 +00:00
Joel Sherrill
fc8a8aab53
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cpu.c: Remove unused variable reported by clang.
2010-11-16 17:41:56 +00:00
Sebastian Huber
fc75117609
2010-11-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/include/rtems/score/userext.h: Documentation.
2010-11-11 13:37:03 +00:00
Sebastian Huber
42d6ed845a
2010-11-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/src/watchdoginsert.c: Removed superfluous cast and use
appropriate API function. This special case handling is obsolete
since 2006 with the introduction of compiler memory barriers in the
interrupt routines. Removed obsolete comments.
2010-11-09 09:14:10 +00:00
Joel Sherrill
2e5a8933c1
2010-11-06 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1715/cpukit
* rtems/score/cpu.h: Fix typo on _CPU_Context_Restart_self.
2010-11-06 22:32:06 +00:00
Joel Sherrill
1123658086
2010-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/stackchk/check.c: Make compile again.
* sapi/src/io.c, score/src/heap.c: Address dead assignment
issues found by clang.
2010-11-04 23:00:04 +00:00
Sebastian Huber
4b25ab8b9c
2010-10-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/powerpc/registers.h: Added HID2 define. Fixed comments.
2010-10-29 07:32:30 +00:00
Joel Sherrill
479cbaf81d
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-10-21 22:18:05 +00:00
Joel Sherrill
a3bb1addc1
2010-09-26 Yann Sionneau <yann@minet.net>
...
PR 1697/cpukit
* rtems/score/cpu.h: lm32 really needs aligned stack. Recent changes
highlighted that this macro was incorrect.
2010-09-26 23:43:47 +00:00
Joel Sherrill
49460dc6d4
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* score/src/coremsginsert.c: Fix typo.
2010-08-25 20:48:43 +00:00
Joel Sherrill
f8b7c83d37
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
Coverity Id 148/STRAY_SEMICOLON
* score/src/coremsginsert.c: Slightly modify macro.
2010-08-25 20:47:33 +00:00
Joel Sherrill
4b556660f1
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
Coverity Id 164/UNINIT
Coverity Id 165/UNINIT
* posix/src/prwlockinit.c, posix/src/pspininit.c,
score/include/rtems/score/corespinlock.h,
score/inline/rtems/score/corerwlock.inl,
score/inline/rtems/score/corespinlock.inl: Add initialization helpers
for score rwlock and spinlock. Use them from POSIX.
2010-08-25 20:01:47 +00:00