2002-08-07 Chris Johns
|
2002-08-07 Chris Johns
|
|
|
* src/coretodset.c: Correct calculation of ticks until next section
|
* src/coretodset.c: Correct calculation of ticks until next section
|
boundary. It was incorrectly based upon current time not the
|
boundary. It was incorrectly based upon current time not the
|
time that is being set.
|
time that is being set.
|
|
|
2002-07-31 Ralf Corsepius
|
2002-07-31 Ralf Corsepius
|
|
|
* src/Makefile.am: Build into libscore.a.
|
* src/Makefile.am: Build into libscore.a.
|
|
|
2002-07-22 Joel Sherrill
|
2002-07-22 Joel Sherrill
|
|
|
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
|
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
|
add the missing _ISR_Disable. This fix was already applied to
|
add the missing _ISR_Disable. This fix was already applied to
|
the old location (c/src/exec/score/...).
|
the old location (c/src/exec/score/...).
|
|
|
2002-07-22 Ralf Corsepius
|
2002-07-22 Ralf Corsepius
|
|
|
* src/Makefile.am: Use .$(OBJEXT) instead of .o.
|
* src/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
2002-07-16 Joel Sherrill
|
2002-07-16 Joel Sherrill
|
|
|
* macros/rtems/score/object.inl: Corrected typos in
|
* macros/rtems/score/object.inl: Corrected typos in
|
_Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
|
_Objects_Open, _Objects_Close, and _Objects_Namespace_remove.
|
|
|
2002-07-05 Joel Sherrill
|
2002-07-05 Joel Sherrill
|
|
|
* macros/rtems/score/object.inl: Corrected implementation of
|
* macros/rtems/score/object.inl: Corrected implementation of
|
_Objects_Open, _Objects_Close, and _Objects_Namespace_remove
|
_Objects_Open, _Objects_Close, and _Objects_Namespace_remove
|
to be consistent with the inline implementation.
|
to be consistent with the inline implementation.
|
|
|
2002-07-01 Joel Sherrill
|
2002-07-01 Joel Sherrill
|
|
|
* Mega patch merge to change the format of the object IDs to
|
* Mega patch merge to change the format of the object IDs to
|
loosen the dependency between the SCORE and the various APIs.
|
loosen the dependency between the SCORE and the various APIs.
|
There was considerable work to simplify the object name management
|
There was considerable work to simplify the object name management
|
and it appears that the name_table field is no longer needed.
|
and it appears that the name_table field is no longer needed.
|
This patch also includes the addition of the internal mutex
|
This patch also includes the addition of the internal mutex
|
which is currently only used to protect some types of allocation
|
which is currently only used to protect some types of allocation
|
and deallocation. This significantly can reduce context
|
and deallocation. This significantly can reduce context
|
switch latency under certain circumstances. In particular,
|
switch latency under certain circumstances. In particular,
|
some heap/region operations were O(n) and had dispatching
|
some heap/region operations were O(n) and had dispatching
|
disabled. This should help enormously. With this merge,
|
disabled. This should help enormously. With this merge,
|
the patch is not as clean as it should be. In particular,
|
the patch is not as clean as it should be. In particular,
|
the documentation has not been modified to reflect the new object
|
the documentation has not been modified to reflect the new object
|
ID layout, the IDs in the test screens are not updated, and
|
ID layout, the IDs in the test screens are not updated, and
|
_Objects_Get_information needs to be a real routine not inlined.
|
_Objects_Get_information needs to be a real routine not inlined.
|
As part of this patch a lot of MP code for thread/proxy blocking
|
As part of this patch a lot of MP code for thread/proxy blocking
|
was made conditional and cleaned up.
|
was made conditional and cleaned up.
|
* include/Makefile.am, include/rtems/score/coremsg.h,
|
* include/Makefile.am, include/rtems/score/coremsg.h,
|
include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
|
include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
|
include/rtems/score/object.h, include/rtems/score/threadq.h,
|
include/rtems/score/object.h, include/rtems/score/threadq.h,
|
inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
|
inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
|
macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
|
macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
|
src/coremutex.c, src/coresem.c, src/mpci.c,
|
src/coremutex.c, src/coresem.c, src/mpci.c,
|
src/objectcomparenameraw.c, src/objectextendinformation.c,
|
src/objectcomparenameraw.c, src/objectextendinformation.c,
|
src/objectinitializeinformation.c, src/objectnametoid.c,
|
src/objectinitializeinformation.c, src/objectnametoid.c,
|
src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
|
src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
|
src/threadqextractwithproxy.c: Modified as part of above.
|
src/threadqextractwithproxy.c: Modified as part of above.
|
* include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
|
* include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
|
files.
|
files.
|
|
|
2001-05-17 Joel Sherrill
|
2001-05-17 Joel Sherrill
|
|
|
* macros/rtems/score/thread..inl: Implemented missing routines
|
* macros/rtems/score/thread..inl: Implemented missing routines
|
for new libc reentrancy support.
|
for new libc reentrancy support.
|
|
|
2002-05-15 Chris Johns
|
2002-05-15 Chris Johns
|
|
|
* include/rtems/score/thread.h, inline/rtems/score/thread.inl,
|
* include/rtems/score/thread.h, inline/rtems/score/thread.inl,
|
src/threaddispatch.c, src/threadinitialize.c:
|
src/threaddispatch.c, src/threadinitialize.c:
|
Move the C library re-enterrant support directly into
|
Move the C library re-enterrant support directly into
|
the thread dispatch code. RTEMS needs libc and so requiring
|
the thread dispatch code. RTEMS needs libc and so requiring
|
libc to use a user extension with its overhead is not the best
|
libc to use a user extension with its overhead is not the best
|
solution. This patch lowers the overhead to 2 pointer moves.
|
solution. This patch lowers the overhead to 2 pointer moves.
|
|
|
2002-05-03 Ralf Corsepius
|
2002-05-03 Ralf Corsepius
|
|
|
* include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
|
* include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
|
to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
|
to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
|
|
|
2001-05-14 Till Straumann
|
2001-05-14 Till Straumann
|
|
|
* src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
|
* src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
|
saving/restoring floating point context. The fpsave and fprestore
|
saving/restoring floating point context. The fpsave and fprestore
|
routines are only used in a executing context which _is_ fp and hence
|
routines are only used in a executing context which _is_ fp and hence
|
has the FPU enabled. The current behavior required the FPU always to
|
has the FPU enabled. The current behavior required the FPU always to
|
be on which is very dangerous if lazy context switching is used.
|
be on which is very dangerous if lazy context switching is used.
|
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
|
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
|
restore routines to avoid this.]
|
restore routines to avoid this.]
|
|
|
The patch also makes sure (on powerpc only) that the FPU is disabled
|
The patch also makes sure (on powerpc only) that the FPU is disabled
|
for integer tasks. Note that this is crucial if deferred fp context
|
for integer tasks. Note that this is crucial if deferred fp context
|
switching is used. Otherwise, fp context corruption may go undetected!
|
switching is used. Otherwise, fp context corruption may go undetected!
|
Also note that even tasks which merely push/pop FP registers to/from
|
Also note that even tasks which merely push/pop FP registers to/from
|
the stack without modifying them still MUST be FP tasks - otherwise
|
the stack without modifying them still MUST be FP tasks - otherwise
|
(if lazy FP context switching is used), FP register corruption (of
|
(if lazy FP context switching is used), FP register corruption (of
|
other, FP, tasks may occur)!
|
other, FP, tasks may occur)!
|
|
|
Furthermore, (on PPC) by default, lazy FP context save/restore
|
Furthermore, (on PPC) by default, lazy FP context save/restore
|
is _disabled_.
|
is _disabled_.
|
|
|
2001-04-26 Joel Sherrill
|
2001-04-26 Joel Sherrill
|
|
|
* src/objectcomparenamestring.c: Fix typos.
|
* src/objectcomparenamestring.c: Fix typos.
|
|
|
2001-04-26 Joel Sherrill
|
2001-04-26 Joel Sherrill
|
|
|
* include/rtems/score/object.h, inline/rtems/score/object.inl,
|
* include/rtems/score/object.h, inline/rtems/score/object.inl,
|
src/objectcomparenamestring.c: Address PR81 that
|
src/objectcomparenamestring.c: Address PR81 that
|
reworked POSIX message queues to add a descriptor separate from
|
reworked POSIX message queues to add a descriptor separate from
|
the underlying message queue. This allows non-blocking to follow
|
the underlying message queue. This allows non-blocking to follow
|
the "open" not the underlying queue. As part of debugging this
|
the "open" not the underlying queue. As part of debugging this
|
it became clear that _Objects_Compare_name_string was broken
|
it became clear that _Objects_Compare_name_string was broken
|
and a simple version using strncmp() was substituted.
|
and a simple version using strncmp() was substituted.
|
|
|
2002-04-18 Ralf Corsepius
|
2002-04-18 Ralf Corsepius
|
|
|
* include/rtems/system.h: Remove targopts.h.
|
* include/rtems/system.h: Remove targopts.h.
|
|
|
2002-04-17 Ralf Corsepius
|
2002-04-17 Ralf Corsepius
|
|
|
* include/rtems/system.h: Add the sparc to the target supporting
|
* include/rtems/system.h: Add the sparc to the target supporting
|
multlibs.
|
multlibs.
|
|
|
2002-04-16 Chris Johns
|
2002-04-16 Chris Johns
|
|
|
* src/threadinitialize.c: Per PR181, clear the array of user extension
|
* src/threadinitialize.c: Per PR181, clear the array of user extension
|
pointers. This lets user extensions that have hooked the switch handler
|
pointers. This lets user extensions that have hooked the switch handler
|
know if a task has been processed by the user extension before. If a
|
know if a task has been processed by the user extension before. If a
|
user extension is created after a task is started it may not know it.
|
user extension is created after a task is started it may not know it.
|
|
|
2002-04-12 Ralf Corsepius
|
2002-04-12 Ralf Corsepius
|
|
|
* include/rtems/system.h: Add i386 to multilib-able targets.
|
* include/rtems/system.h: Add i386 to multilib-able targets.
|
|
|
2001-04-11 Joel Sherrill
|
2001-04-11 Joel Sherrill
|
|
|
|
|
* macros/rtems/score/userext.inl: Now works after merging patch for
|
* macros/rtems/score/userext.inl: Now works after merging patch for
|
functionality requested in PR174.
|
functionality requested in PR174.
|
* inline/rtems/score/userext.inl: Added a comment explaining the
|
* inline/rtems/score/userext.inl: Added a comment explaining the
|
order in which routines appear since it is not the obvious order.
|
order in which routines appear since it is not the obvious order.
|
|
|
2002-04-08 Chris Johns
|
2002-04-08 Chris Johns
|
|
|
* Per PR141 and PR174, make task switch extension its own list and
|
* Per PR141 and PR174, make task switch extension its own list and
|
fix all odd problems introduced by providing macro version.
|
fix all odd problems introduced by providing macro version.
|
* inline/rtems/score/userext.inl: Fix.
|
* inline/rtems/score/userext.inl: Fix.
|
|
|
2001-04-08 Joel Sherrill
|
2001-04-08 Joel Sherrill
|
|
|
* macros/rtems/score/object.inl: Corrected arguments.
|
* macros/rtems/score/object.inl: Corrected arguments.
|
|
|
2001-04-08 Joel Sherrill
|
2001-04-08 Joel Sherrill
|
|
|
* macros/rtems/score/userext.inl: Updated to reflect modifications
|
* macros/rtems/score/userext.inl: Updated to reflect modifications
|
to inline version from PR142.
|
to inline version from PR142.
|
* inline/rtems/score/userext.inl: Cleanup as side-effect of above.
|
* inline/rtems/score/userext.inl: Cleanup as side-effect of above.
|
|
|
2002-04-08 Chris Johns
|
2002-04-08 Chris Johns
|
|
|
* Per PR142, make task switch extension its own list.
|
* Per PR142, make task switch extension its own list.
|
* include/rtems/score/userext.h: Reflect above by adding
|
* include/rtems/score/userext.h: Reflect above by adding
|
User_extensions_Switch_control and adding it to User_extenions_Control.
|
User_extensions_Switch_control and adding it to User_extenions_Control.
|
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
|
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
|
to minimize overhead. Address processing dedicated switch chain.
|
to minimize overhead. Address processing dedicated switch chain.
|
|
|
2002-04-08 Chris Johns
|
2002-04-08 Chris Johns
|
|
|
* Per PR142, make task switch extension its own list.
|
* Per PR142, make task switch extension its own list.
|
* include/rtems/score/userext.h: Reflect above by adding
|
* include/rtems/score/userext.h: Reflect above by adding
|
User_extensions_Switch_control and adding it to User_extenions_Control.
|
User_extensions_Switch_control and adding it to User_extenions_Control.
|
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
|
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
|
to minimize overhead. Address processing dedicated switch chain.
|
to minimize overhead. Address processing dedicated switch chain.
|
|
|
2002-03-27 Ralf Corsepius
|
2002-03-27 Ralf Corsepius
|
|
|
* cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* cpu/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
2002-01-29 Joel Sherrill
|
2002-01-29 Joel Sherrill
|
|
|
* include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
|
* include/rtems/score/watchdog.h: Added WATCHDOG_MAXIMUM_INTERVAL.
|
|
|
2002-01-19 Ralf Corsepius
|
2002-01-19 Ralf Corsepius
|
|
|
* include/rtems/system.h: Fix typo in yesterday's change:
|
* include/rtems/system.h: Fix typo in yesterday's change:
|
RTEMS_MULTILIBS.
|
RTEMS_MULTILIBS.
|
|
|
2001-01-18 Joel Sherrill
|
2001-01-18 Joel Sherrill
|
|
|
* include/rtems/system.h: Only include cpuopts.h when building a
|
* include/rtems/system.h: Only include cpuopts.h when building a
|
multilib configuration. Some ports still need targopts.h but this
|
multilib configuration. Some ports still need targopts.h but this
|
small modification lets those ports work non-multilib while
|
small modification lets those ports work non-multilib while
|
fixing being fixed for multilib.
|
fixing being fixed for multilib.
|
|
|
2002-01-04 Ralf Corsepius
|
2002-01-04 Ralf Corsepius
|
|
|
* include/rtems/seterr.h: Add do {..} while (0) in defines.
|
* include/rtems/seterr.h: Add do {..} while (0) in defines.
|
Rename set_errno_and_return_minus_one into
|
Rename set_errno_and_return_minus_one into
|
rtems_set_errno_and_return_minus_one.
|
rtems_set_errno_and_return_minus_one.
|
|
|
2001-12-19 Ralf Corsepius
|
2001-12-19 Ralf Corsepius
|
|
|
* inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
|
* inline/rtems/score/object.inl, macros/rtems/score/object.inl: Add
|
add casts to Objects_Id in _Objects_Build_ids to avoid implicit
|
add casts to Objects_Id in _Objects_Build_ids to avoid implicit
|
typecasts from enum to int16 on bit16 targets (here: h8300).
|
typecasts from enum to int16 on bit16 targets (here: h8300).
|
|
|
2001-12-19 Ralf Corsepius
|
2001-12-19 Ralf Corsepius
|
|
|
* src/Makefile.am: Add multilib support.
|
* src/Makefile.am: Add multilib support.
|
|
|
2001-11-28 Joel Sherrill ,
|
2001-11-28 Joel Sherrill ,
|
|
|
This was tracked as PR91.
|
This was tracked as PR91.
|
* include/rtems/score/isr.h, inline/rtems/score/isr.inl,
|
* include/rtems/score/isr.h, inline/rtems/score/isr.inl,
|
macros/rtems/score/isr.inl: Modified to allow any port to provide
|
macros/rtems/score/isr.inl: Modified to allow any port to provide
|
its own implementation of the macro _ISR_Is_in_progress. If the
|
its own implementation of the macro _ISR_Is_in_progress. If the
|
port overrides this macro, it must provide a non-inlined function
|
port overrides this macro, it must provide a non-inlined function
|
implementation.
|
implementation.
|
|
|
2001-11-20 Joel Sherrill
|
2001-11-20 Joel Sherrill
|
|
|
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
|
* src/threadhandler.c: When __USE__MAIN__ is defined by the toolset,
|
invoke the global constructors via __main. Reported as tested by
|
invoke the global constructors via __main. Reported as tested by
|
Alexandra Kossovsky and Victor V. Vengerov
|
Alexandra Kossovsky and Victor V. Vengerov
|
in conjunction with a new set of tool RPMs
|
in conjunction with a new set of tool RPMs
|
(gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84.
|
(gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84.
|
|
|
2001-11-07 Joel Sherrill
|
2001-11-07 Joel Sherrill
|
|
|
Reported by Todor.Todorov@barco.com and tracked as PR36.
|
Reported by Todor.Todorov@barco.com and tracked as PR36.
|
* include/rtems/score/object.h: Added prototype for
|
* include/rtems/score/object.h: Added prototype for
|
_Objects_Get_by_index().
|
_Objects_Get_by_index().
|
* src/objectget.c, src/objectgetisr.c: Corrected procedure for
|
* src/objectget.c, src/objectgetisr.c: Corrected procedure for
|
getting index from Id so it is correct and optimal for both single
|
getting index from Id so it is correct and optimal for both single
|
and multiprocessor configurations.
|
and multiprocessor configurations.
|
|
|
2001-10-22 Joel Sherrill
|
2001-10-22 Joel Sherrill
|
|
|
* src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
|
* src/threadhandler.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
|
pollutes the application namespace.
|
pollutes the application namespace.
|
|
|
2001-10-16 Joel Sherrill
|
2001-10-16 Joel Sherrill
|
|
|
* .cvsignore: Add stamp-h.in.
|
* .cvsignore: Add stamp-h.in.
|
|
|
2001-10-16 Joel Sherrill
|
2001-10-16 Joel Sherrill
|
|
|
* include/Makefile.am: Fixed path to cpuopts-tmp.h.
|
* include/Makefile.am: Fixed path to cpuopts-tmp.h.
|
|
|
2001-10-16 Ralf Corsepius
|
2001-10-16 Ralf Corsepius
|
|
|
* include/rtems/Makefile.am: Remove.
|
* include/rtems/Makefile.am: Remove.
|
* include/rtems/Makefile.am: Remove.
|
* include/rtems/Makefile.am: Remove.
|
* include/Makefile.am: Handle subdirs, require automake-1.5.
|
* include/Makefile.am: Handle subdirs, require automake-1.5.
|
* macros/rtems/Makefile.am: Remove.
|
* macros/rtems/Makefile.am: Remove.
|
* macros/rtems/score/Makefile.am: Remove.
|
* macros/rtems/score/Makefile.am: Remove.
|
* macros/Makefile.am: Handle subdirs, require automake-1.5.
|
* macros/Makefile.am: Handle subdirs, require automake-1.5.
|
* inline/rtems/Makefile.am: Remove.
|
* inline/rtems/Makefile.am: Remove.
|
* inline/rtems/score/Makefile.am: Remove.
|
* inline/rtems/score/Makefile.am: Remove.
|
* inline/Makefile.am: Handle subdirs, require automake-1.5.
|
* inline/Makefile.am: Handle subdirs, require automake-1.5.
|
* Makefile.am: require automake-1.5
|
* Makefile.am: require automake-1.5
|
|
|
2001-09-28 Ralf Corsepius
|
2001-09-28 Ralf Corsepius
|
|
|
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
2001-09-27 Eric Norum
|
2001-09-27 Eric Norum
|
|
|
* src/threadhandler.c: Now process C++ global constructors
|
* src/threadhandler.c: Now process C++ global constructors
|
(_init) as part of the first task execution not in BSP space.
|
(_init) as part of the first task execution not in BSP space.
|
This depends on the toolset defining USE_INIT_FINI so you
|
This depends on the toolset defining USE_INIT_FINI so you
|
have to have the right toolset version.
|
have to have the right toolset version.
|
|
|
2001-09-23 Ralf Corsepius
|
2001-09-23 Ralf Corsepius
|
|
|
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* inline/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
* macros/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
2001-08-30 Joel Sherrill
|
2001-08-30 Joel Sherrill
|
|
|
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
|
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
|
inline/rtems/score/coremutex.inl: The per thread field resource_count
|
inline/rtems/score/coremutex.inl: The per thread field resource_count
|
should only be manipulated when a mutex is priority ceiling or
|
should only be manipulated when a mutex is priority ceiling or
|
priority inherit. This was reported by Chris Johns
|
priority inherit. This was reported by Chris Johns
|
who also noticed that the use of switches for all disciplines
|
who also noticed that the use of switches for all disciplines
|
generated less efficient code than using explicit tests for the one
|
generated less efficient code than using explicit tests for the one
|
or two cases we were really interested in. Further review of his
|
or two cases we were really interested in. Further review of his
|
modifications made it apparent that the "isa" methods to test mutex
|
modifications made it apparent that the "isa" methods to test mutex
|
discipline were not being used so this modification was swept into
|
discipline were not being used so this modification was swept into
|
the code as well.
|
the code as well.
|
|
|
2001-08-30 Joel Sherrill
|
2001-08-30 Joel Sherrill
|
|
|
* src/coremutexseize.c: Add missing code for proper handling
|
* src/coremutexseize.c: Add missing code for proper handling
|
of nesting acquisitions. This only impacts building with
|
of nesting acquisitions. This only impacts building with
|
inlines disabled on the source with the "fast mutex" optimizations.
|
inlines disabled on the source with the "fast mutex" optimizations.
|
This was post the 4.5 branch and did not impact released versions.
|
This was post the 4.5 branch and did not impact released versions.
|
|
|
2001-08-16 Joel Sherrill
|
2001-08-16 Joel Sherrill
|
|
|
* src/coremutexsurrender.c: Use holder thread not executing
|
* src/coremutexsurrender.c: Use holder thread not executing
|
thread because even though they may and often are the same
|
thread because even though they may and often are the same
|
it is not guaranteed unless the proper attribute is set.
|
it is not guaranteed unless the proper attribute is set.
|
|
|
2001-08-16 Joel Sherrill
|
2001-08-16 Joel Sherrill
|
|
|
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
|
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
|
return status to account for blocking sends. Otherwise, the
|
return status to account for blocking sends. Otherwise, the
|
caller will think that the returned message status will have
|
caller will think that the returned message status will have
|
the ultimate results of the operation. If the send times out,
|
the ultimate results of the operation. If the send times out,
|
the final status will be in the return_code of the thread.
|
the final status will be in the return_code of the thread.
|
|
|
2001-08-09 Joel Sherrill
|
2001-08-09 Joel Sherrill
|
|
|
* include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
|
* include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
|
src/coremsgsubmit.c: Unblocking message queue operations should
|
src/coremsgsubmit.c: Unblocking message queue operations should
|
NOT use _Thread_Executing for return status since it is permissible
|
NOT use _Thread_Executing for return status since it is permissible
|
to invoke message send operations from an ISR. This was reported
|
to invoke message send operations from an ISR. This was reported
|
by Suvrat Gupta .
|
by Suvrat Gupta .
|
|
|
2000-05-25 Sergei Organov
|
2000-05-25 Sergei Organov
|
|
|
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
|
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
|
Cut and paste problem incorrectly enabled interrupts twice with
|
Cut and paste problem incorrectly enabled interrupts twice with
|
the first time being too early.
|
the first time being too early.
|
|
|
2001-05-09 Ralf Corsepius
|
2001-05-09 Ralf Corsepius
|
|
|
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
|
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
|
cpuopts.h.in, cpuopts-tmp.h.
|
cpuopts.h.in, cpuopts-tmp.h.
|
|
|
2001-02-03 Ralf Corsepius
|
2001-02-03 Ralf Corsepius
|
|
|
* include/rtems/Makefile.am, include/rtems/score/Makefile.am,
|
* include/rtems/Makefile.am, include/rtems/score/Makefile.am,
|
inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
|
inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
|
Apply include_*HEADERS instead of H_FILES.
|
Apply include_*HEADERS instead of H_FILES.
|
|
|
2001-01-29 Joel Sherrill
|
2001-01-29 Joel Sherrill
|
|
|
* src/objectextendinformation.c: Added include of string.h to
|
* src/objectextendinformation.c: Added include of string.h to
|
eliminate warning.
|
eliminate warning.
|
|
|
2001-01-08 Joel Sherrill
|
2001-01-08 Joel Sherrill
|
|
|
* src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
|
* src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
|
warning removal patch. :(
|
warning removal patch. :(
|
|
|
2001-01-08 Ralf Corsepius
|
2001-01-08 Ralf Corsepius
|
|
|
* src/threadinitialize.c: Removed warning.
|
* src/threadinitialize.c: Removed warning.
|
|
|
2001-01-03 Joel Sherrill
|
2001-01-03 Joel Sherrill
|
|
|
* src/isr.c: Modify to properly dereference _ISR_Vector_table
|
* src/isr.c: Modify to properly dereference _ISR_Vector_table
|
now that it is dynamically allocated.
|
now that it is dynamically allocated.
|
|
|
2000-12-19 Joel Sherrill
|
2000-12-19 Joel Sherrill
|
|
|
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when
|
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when
|
we are allocating an interrupt stack.
|
we are allocating an interrupt stack.
|
|
|
2000-12-13 Joel Sherrill
|
2000-12-13 Joel Sherrill
|
|
|
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
|
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
|
workspace rather than explicitly declaring it. This allows
|
workspace rather than explicitly declaring it. This allows
|
the size to be a non-constant from the perspective of score/cpu.
|
the size to be a non-constant from the perspective of score/cpu.
|
|
|
2000-12-01 Joel Sherrill
|
2000-12-01 Joel Sherrill
|
|
|
* macros/rtems/score/coresem.inl: Removed comments since convention
|
* macros/rtems/score/coresem.inl: Removed comments since convention
|
calls for comments to be in inline versin.
|
calls for comments to be in inline versin.
|
* macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
|
* macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
|
style to use _ prefix on variable names and use parentheses.
|
style to use _ prefix on variable names and use parentheses.
|
* macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
|
* macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
|
|
|
2000-11-30 Joel Sherrill
|
2000-11-30 Joel Sherrill
|
|
|
* General effort to make things compile with macros not inlines
|
* General effort to make things compile with macros not inlines
|
* inline/rtems/score/coremutex.inl: Added comment indicating
|
* inline/rtems/score/coremutex.inl: Added comment indicating
|
for macros there is another copy of
|
for macros there is another copy of
|
_CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
|
_CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c.
|
* src/coremutexseize.c: Added body of
|
* src/coremutexseize.c: Added body of
|
_CORE_mutex_Seize_interrupt_trylock() for macro case.
|
_CORE_mutex_Seize_interrupt_trylock() for macro case.
|
* macros/rtems/score/coremutex.inl: Added prototype for
|
* macros/rtems/score/coremutex.inl: Added prototype for
|
_CORE_mutex_Seize_interrupt_trylock() since there is a real
|
_CORE_mutex_Seize_interrupt_trylock() since there is a real
|
body when macros are enabled.
|
body when macros are enabled.
|
* macros/rtems/score/coresem.inl: Added macro implementation of
|
* macros/rtems/score/coresem.inl: Added macro implementation of
|
_CORE_semaphore_Seize_isr_disable.
|
_CORE_semaphore_Seize_isr_disable.
|
* macros/score/Makefile.am: Fixed typos.
|
* macros/score/Makefile.am: Fixed typos.
|
* rtems/score/address.inl: Correct macro implementation of
|
* rtems/score/address.inl: Correct macro implementation of
|
_Addresses_Is_aligned() so it would compile.
|
_Addresses_Is_aligned() so it would compile.
|
* macros/rtems/score/coremsg.inl: Added closing parentheses.
|
* macros/rtems/score/coremsg.inl: Added closing parentheses.
|
|
|
2000-11-28 Chris Johns
|
2000-11-28 Chris Johns
|
|
|
* src/heapallocate.c: Do not allow the size to overflow when
|
* src/heapallocate.c: Do not allow the size to overflow when
|
adjusting it. A test allocated a stack of -1 (~0). This
|
adjusting it. A test allocated a stack of -1 (~0). This
|
actually resulted in a stack being allocated but with a
|
actually resulted in a stack being allocated but with a
|
size of 0xb. The allocator did not test the size to see if
|
size of 0xb. The allocator did not test the size to see if
|
it rolled through 0 and so allowed the allocation to happen, the
|
it rolled through 0 and so allowed the allocation to happen, the
|
thread to get created. The task crashed as you would expect.
|
thread to get created. The task crashed as you would expect.
|
|
|
2000-11-02 Joel Sherrill
|
2000-11-02 Joel Sherrill
|
|
|
* include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
|
* include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API)
|
so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
|
so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(),
|
POSIX_BOTTOM_REACHED() are actually included.
|
POSIX_BOTTOM_REACHED() are actually included.
|
|
|
2000-11-02 Joel Sherrill
|
2000-11-02 Joel Sherrill
|
|
|
* include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
|
* include/rtems/system.h: Add prototypes for POSIX_MP_NOT_IMPLEMENTED(),
|
POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
|
POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() removed from newlib.
|
|
|
2000-10-18 Nick Simon
|
2000-10-18 Nick Simon
|
|
|
* src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
|
* src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
|
Added _Heap_Get_information() and information control block.
|
Added _Heap_Get_information() and information control block.
|
* src/heapgetinfo.c: New file.
|
* src/heapgetinfo.c: New file.
|
|
|
2000-09-25 Joel Sherrill
|
2000-09-25 Joel Sherrill
|
|
|
* rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
|
* rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
|
targopts.h to reduce dependency on BSP.
|
targopts.h to reduce dependency on BSP.
|
|
|
2000-09-20 Joel Sherrill
|
2000-09-20 Joel Sherrill
|
|
|
* src/objectgetbyindex.c: Do not enable dispatching on an
|
* src/objectgetbyindex.c: Do not enable dispatching on an
|
error path it was not disabled on.
|
error path it was not disabled on.
|
|
|
2000-09-04 Ralf Corsepius
|
2000-09-04 Ralf Corsepius
|
|
|
* src/Makefile.am: Include compile.am.
|
* src/Makefile.am: Include compile.am.
|
|
|
2000-08-30 Joel Sherrill
|
2000-08-30 Joel Sherrill
|
|
|
* Many files: Moved posix/include/rtems/posix/seterr.h to
|
* Many files: Moved posix/include/rtems/posix/seterr.h to
|
score/include/rtems/seterr.h so it would be available within
|
score/include/rtems/seterr.h so it would be available within
|
all APIs.
|
all APIs.
|
|
|
2000-08-17 Ralf Corsepius
|
2000-08-17 Ralf Corsepius
|
|
|
* include/rtems/system.h: Include cpuopts.h for __i386__.
|
* include/rtems/system.h: Include cpuopts.h for __i386__.
|
|
|
2000-08-10 Joel Sherrill
|
2000-08-10 Joel Sherrill
|
|
|
* ChangeLog: New file.
|
* ChangeLog: New file.
|
|
|