Commit Graph

52 Commits

Author SHA1 Message Date
Sebastian Huber
2b32146400 Remove superfluous <rtems/score/wkspace.h> includes 2021-04-20 19:18:23 +02:00
Sebastian Huber
9278f3d04f score: Canonicalize Doxygen @file comments
Use common phrases for the file brief descriptions.

Update #3706.
2020-12-02 07:45:53 +01:00
Sebastian Huber
cfe8f7a9b7 doxygen: Switch @brief and @ingroup
This order change fixes the Latex documentation build via Doxygen.
2020-04-28 09:04:00 +02:00
Sebastian Huber
80cf60efec Canonicalize config.h include
Use the following variant which was already used by most source files:

  #ifdef HAVE_CONFIG_H
  #include "config.h"
  #endif
2020-04-16 07:30:00 +02:00
Sebastian Huber
a320aeddd9 score: Fix objects node initialization
The objects node is statically initialized to one.  Clear the node field
before it is set.

Update #3621.
2020-01-02 09:20:37 +01:00
Sebastian Huber
4c20da4be4 doxygen: Rename Score* groups in RTEMSScore*
Update #3706
2019-04-04 09:18:55 +02:00
Sebastian Huber
956d76ccaf score: Remove superfluous include from chainimpl.h 2019-01-07 09:36:47 +01:00
Sebastian Huber
21275b58a5 score: Static Objects_Information initialization
Statically allocate the objects information together with the initial
set of objects either via <rtems/confdefs.h>.  Provide default object
informations with zero objects via librtemscpu.a.  This greatly
simplifies the workspace size estimate.  RTEMS applications which do not
use the unlimited objects option are easier to debug since all objects
reside now in statically allocated objects of the right types.

Close #3621.
2018-12-14 07:03:29 +01:00
Sebastian Huber
8b0e752fee score: Remove Objects_Information::auto_extend
Use Objects_Information::objects_per_block to provide this information.
Add and use _Objects_Is_auto_extend().

Update #3621.
2018-12-14 06:57:55 +01:00
Sebastian Huber
f70079ca20 score: Remove Objects_Information::the_api
Remove Objects_Information::the_class.  This information is already
contained in Objects_Information::maximum_id.

Update #3621.
2018-12-07 14:22:02 +01:00
Sebastian Huber
1c2d178397 score: Remove Objects_Information::maximum
This information is already present in Objects_Information::maximum_id.
Add and use _Objects_Get_maximum_index().

Update #3621.
2018-12-07 14:22:02 +01:00
Sebastian Huber
3899bc1a4b score: Optimize object lookup
Use the maximum ID for the ID to object translation.  Using the maximum
ID gets rid of an additional load from the object information in
_Objects_Get().  In addition, object lookups fail for every ID in case
the object information is cleared to zero.  This makes it a bit more
robust during system startup (see new tests in spconfig02).

The local table no longer needs a NULL pointer entry at array index
zero.  Adjust all the object iteration loops accordingly.

Remove Objects_Information::minimum_id since it contains only redundant
information.  Add _Objects_Get_minimum_id() to get the minimum ID.

Update #3621.
2018-12-07 14:22:01 +01:00
Sebastian Huber
359a3a36ca score: Rename Objects_Information::allocation_size
Rename Objects_Information::allocation_size in
Objects_Information::objects_per_block.  Adjust integer types in
_Objects_Shrink_information() and _Objects_Free().

Update #3621.
2018-12-07 14:22:01 +01:00
Sebastian Huber
0da9d805cd score: Rename Objects_Information::size
Rename Objects_Information::size to Objects_Information::object_size.
Change its type from size_t to uint16_t and move it to reduce the size
of Objects_Information.

Update #3621.
2018-12-07 14:22:01 +01:00
Sebastian Huber
9c9c6a93b1 score: Remove Objects_Information::is_string
Use Objects_Information::name_length to store this information.

Update #3621.
2018-12-07 14:22:01 +01:00
Sebastian Huber
7038271845 Remove RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES
Enable support for string objects names unconditionally.  Add const
qualifier throughout.  Split _Objects_Namespace_remove() into
_Objects_Namespace_remove_u32() and _Objects_Namespace_remove_string()
to avoid an unnecessary dependency on _Workspace_Free().

Update #2514.
2018-10-29 10:33:33 +01:00
Sebastian Huber
3a659b0481 score: Introduce _Internal_error() 2016-12-12 08:03:29 +01:00
Sebastian Huber
b6606e8d99 score: Remove fatal is internal indicator
The fatal is internal indicator is redundant since the fatal source and
error code uniquely identify a fatal error.  Keep the fatal user
extension is internal parameter for backward compatibility and set it to
false always.

Update #2825.
2016-12-09 08:47:51 +01:00
Sebastian Huber
f05eeb2091 score: Simplify _Objects_Initialize_information()
Remove unused supports_global parameter.  Convert
_Objects_Initialize_information() to a macro to avoid use of
RTEMS_MULTIPROCESSING define for each caller.
2016-04-21 07:29:39 +02:00
Sebastian Huber
84f5c0a91b score: Use red-black tree for active global objects
Use a red-black tree to lookup active global objects by identifier or
name.

Update #2555.
2016-04-06 09:08:22 +02:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
83bf105486 score: Rename _Internal_error_Occurred()
Rename _Internal_error_Occurred() into _Terminate().
2014-02-21 09:38:24 +01:00
Sebastian Huber
a2e3f33f39 score: Create object implementation header
Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h.  The object.h contains now only the
application visible API.
2013-07-26 11:55:47 +02:00
Sebastian Huber
6e93dc4a95 score: Create chain implementation header
Move implementation specific parts of chain.h and chain.inl into new
header file chainimpl.h.  The chain.h contains now only the application
visible API.
2013-07-22 16:57:25 +02:00
Alex Ivanov
f7f1d776de score misc: Clean up Doxygen (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.
https://google-melange.appspot.com/gci/task/view/google/gci2012/7978208
2012-11-28 08:17:26 -06:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Sebastian Huber
5eb434e67e score: New macros and functions
New macros
  o _Objects_Maximum_per_allocation(),
  o rtems_resource_is_unlimited(), and
  o rtems_resource_maximum_per_allocation().

New function
  o _Objects_Is_unlimited().
2012-04-11 15:24:39 +02:00
Ralf Corsepius
6611a434e2 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/objectinitializeinformation.c
	(_Objects_Initialize_information): Remove unused var "name_length".
2011-11-30 05:24:19 +00:00
Joel Sherrill
b0bd1b697c 2011-11-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1967/cpukit
	* score/include/rtems/score/object.h,
	score/src/objectinitializeinformation.c: Remove
	OBJECTS_NAME_ALIGNMENT and uses.
2011-11-29 21:55:18 +00:00
Joel Sherrill
64adc13c86 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* ftpd/ftpd.c, libcsupport/src/geteuid.c, libcsupport/src/getgroups.c,
	libcsupport/src/getpgrp.c, libcsupport/src/getpid.c,
	libcsupport/src/getppid.c, libcsupport/src/setpgid.c,
	libcsupport/src/setsid.c, libcsupport/src/utsname.c,
	libmisc/stackchk/check.c, posix/include/rtems/posix/mqueue.h,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/timer.inl, posix/src/alarm.c,
	posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
	posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
	posix/src/cleanuppop.c, posix/src/cleanuppush.c,
	posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
	posix/src/clockgetres.c, posix/src/clockgettime.c,
	posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
	posix/src/cond.c, posix/src/condattrdestroy.c,
	posix/src/condattrgetpshared.c, posix/src/condattrinit.c,
	posix/src/condattrsetpshared.c, posix/src/condbroadcast.c,
	posix/src/conddefaultattributes.c, posix/src/conddestroy.c,
	posix/src/condinit.c, posix/src/condsignal.c,
	posix/src/condsignalsupp.c, posix/src/condtimedwait.c,
	posix/src/condwait.c, posix/src/condwaitsupp.c,
	posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
	posix/src/keysetspecific.c, posix/src/mprotect.c, posix/src/mqueue.c,
	posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c,
	posix/src/mqueuegetattr.c, posix/src/mqueuenotify.c,
	posix/src/mqueuereceive.c, posix/src/mqueuesend.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
	posix/src/mqueuetranslatereturncode.c, posix/src/mqueueunlink.c,
	posix/src/mutex.c, posix/src/mutexattrdestroy.c,
	posix/src/mutexattrgetprioceiling.c,
	posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
	posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
	posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
	posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
	posix/src/mutexinit.c, posix/src/mutexlock.c,
	posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
	posix/src/mutextimedlock.c, posix/src/mutextrylock.c,
	posix/src/mutexunlock.c, posix/src/nanosleep.c, posix/src/psignal.c,
	posix/src/psignalchecksignal.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalclearsignals.c,
	posix/src/psignalsetprocesssignals.c,
	posix/src/psignalunblockthread.c, posix/src/pthreadinitthreads.c,
	posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
	posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
	posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
	posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
	posix/src/sempost.c, posix/src/semtimedwait.c,
	posix/src/semtrywait.c, posix/src/semunlink.c, posix/src/semwait.c,
	posix/src/sysconf.c, posix/src/testcancel.c, posix/src/ualarm.c,
	rtems/src/clockgetuptime.c, rtems/src/clockset.c,
	rtems/src/clocksetnsecshandler.c, rtems/src/clocktick.c,
	rtems/src/clocktodtoseconds.c, rtems/src/clocktodvalidate.c,
	rtems/src/dpmem.c, rtems/src/dpmemcreate.c, rtems/src/dpmemdelete.c,
	rtems/src/dpmemexternal2internal.c, rtems/src/dpmemident.c,
	rtems/src/dpmeminternal2external.c, rtems/src/event.c,
	rtems/src/eventmp.c, rtems/src/eventreceive.c,
	rtems/src/eventseize.c, rtems/src/eventsend.c,
	rtems/src/eventsurrender.c, rtems/src/eventtimeout.c, rtems/src/mp.c,
	rtems/src/msg.c, rtems/src/msgmp.c, rtems/src/msgqallocate.c,
	rtems/src/msgqbroadcast.c, rtems/src/msgqcreate.c,
	rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
	rtems/src/msgqgetnumberpending.c, rtems/src/msgqident.c,
	rtems/src/msgqreceive.c, rtems/src/msgqtranslatereturncode.c,
	rtems/src/msgqurgent.c, rtems/src/part.c, rtems/src/partcreate.c,
	rtems/src/partdelete.c, rtems/src/partgetbuffer.c,
	rtems/src/partident.c, rtems/src/partmp.c,
	rtems/src/partreturnbuffer.c, rtems/src/ratemon.c,
	rtems/src/ratemoncancel.c, rtems/src/ratemoncreate.c,
	rtems/src/ratemondelete.c, rtems/src/ratemongetstatistics.c,
	rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
	rtems/src/ratemontimeout.c, rtems/src/region.c,
	rtems/src/regioncreate.c, rtems/src/regiondelete.c,
	rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionident.c,
	rtems/src/regionmp.c, rtems/src/regionprocessqueue.c,
	rtems/src/regionresizesegment.c, rtems/src/regionreturnsegment.c,
	rtems/src/rtemsobjectgetclassicname.c, rtems/src/rtemstimer.c,
	rtems/src/sem.c, rtems/src/semcreate.c, rtems/src/semdelete.c,
	rtems/src/semflush.c, rtems/src/semident.c, rtems/src/semmp.c,
	rtems/src/semobtain.c, rtems/src/semrelease.c,
	rtems/src/semtranslatereturncode.c, rtems/src/signal.c,
	rtems/src/signalcatch.c, rtems/src/signalmp.c,
	rtems/src/signalsend.c, rtems/src/taskcreate.c,
	rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
	rtems/src/taskident.c, rtems/src/taskinitusers.c,
	rtems/src/taskissuspended.c, rtems/src/taskmp.c,
	rtems/src/taskrestart.c, rtems/src/taskresume.c, rtems/src/tasks.c,
	rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
	rtems/src/taskstart.c, rtems/src/tasksuspend.c,
	rtems/src/taskwakeafter.c, rtems/src/taskwakewhen.c,
	rtems/src/timercancel.c, rtems/src/timercreate.c,
	rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
	rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
	rtems/src/timerident.c, rtems/src/timerreset.c,
	rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c,
	sapi/src/debug.c, sapi/src/extension.c, sapi/src/posixapi.c,
	sapi/src/rtemsapi.c, score/src/apiext.c, score/src/chain.c,
	score/src/corebarrier.c, score/src/corebarrierrelease.c,
	score/src/corebarrierwait.c, score/src/coremsgbroadcast.c,
	score/src/coremsgclose.c, score/src/coremsgflush.c,
	score/src/coremsgflushsupp.c, score/src/coremsgflushwait.c,
	score/src/coremsginsert.c, score/src/coremsgseize.c,
	score/src/coremsgsubmit.c, score/src/coremutex.c,
	score/src/coremutexflush.c, score/src/coremutexseize.c,
	score/src/corerwlock.c, score/src/corerwlockobtainread.c,
	score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c,
	score/src/coresem.c, score/src/coresemflush.c,
	score/src/coresemsurrender.c, score/src/corespinlock.c,
	score/src/corespinlockrelease.c, score/src/corespinlockwait.c,
	score/src/coretod.c, score/src/coretodset.c,
	score/src/coretodtickle.c, score/src/heap.c, score/src/interr.c,
	score/src/mpci.c, score/src/objectallocate.c,
	score/src/objectextendinformation.c, score/src/objectfree.c,
	score/src/objectget.c, score/src/objectgetisr.c,
	score/src/objectgetnext.c, score/src/objectgetnoprotection.c,
	score/src/objectinitializeinformation.c, score/src/objectmp.c,
	score/src/objectnametoid.c, score/src/objectnametoidstring.c,
	score/src/objectshrinkinformation.c, score/src/rbtree.c,
	score/src/threaddelayended.c, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadloadenv.c,
	score/src/threadmp.c, score/src/threadq.c,
	score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
	score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
	score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
	score/src/threadqextract.c, score/src/threadqextractfifo.c,
	score/src/threadqextractpriority.c,
	score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
	score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
	score/src/threadqflush.c, score/src/threadqrequeue.c,
	score/src/threadstackallocate.c, score/src/threadstartmultitasking.c,
	score/src/watchdog.c, score/src/watchdogadjust.c,
	score/src/watchdoginsert.c, score/src/watchdogremove.c,
	score/src/watchdogtickle.c: Remove /*PAGE markers which were
	interpreted by a long dead print script.
2011-07-24 23:55:15 +00:00
Ralf Corsepius
dacdda304b Remove white-spaces. 2011-05-24 02:44:58 +00:00
Joel Sherrill
8b53dee67b 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/src/objectinitializeinformation.c: Reverse sense of conditional
	and improve comment. Comment was right but brief, conditional was
	backwards.
2011-03-08 23:55:24 +00:00
Joel Sherrill
2af90ff1a1 2011-02-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/src/coremutexsurrender.c,
	score/src/objectinitializeinformation.c: Disable code not reachable
	when POSIX is not enabled.
2011-02-11 20:38:16 +00:00
Joel Sherrill
8f0b33466b 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
PR 1660/filesystem
	* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Changed
	int pipe_release to void pipe_release.
	* libfs/src/imfs/imfs_fifo.c: Corresponding change to
	IMFS_fifo_close since pipe_release does not return any error.
	* libfs/src/imfs/imfs_initsupp.c: Changes to improve
	IMFS_determine_bytes_per_block
2010-08-10 17:41:32 +00:00
Joel Sherrill
eabaf58988 2010-03-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/interr.h,
	score/src/objectinitializeinformation.c: Add new fatal error for
	configuring unlimited and maximum of 0.
2010-03-10 18:15:33 +00:00
Joel Sherrill
2d2dcab250 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 5
	* score/src/objectinitializeinformation.c: Do not modify maximum
	parameter. Clean up and simplify code. This should help the Coverity
	path analysis to avoid reporting issues.
2010-01-19 19:33:08 +00:00
Joel Sherrill
47988fb37b 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/object.h,
	score/inline/rtems/score/object.inl,
	score/src/objectgetnameasstring.c, score/src/objectidtoname.c,
	score/src/objectinitializeinformation.c,
	score/src/objectnamespaceremove.c, score/src/objectnametoidstring.c,
	score/src/objectsetname.c, score/src/thread.c,
	score/src/threadcreateidle.c: Disable object string name support when
	POSIX is not enabled.
2009-09-11 14:54:29 +00:00
Ralf Corsepius
aae7f1a12b Eliminate TRUE/FALSE. 2008-12-22 05:52:32 +00:00
Ralf Corsepius
484a76996e Convert to "bool". 2008-09-04 17:46:39 +00:00
Joel Sherrill
2345d61bdc 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/object.h,
	score/src/objectextendinformation.c,
	score/src/objectinitializeinformation.c,
	score/src/objectshrinkinformation.c: Eliminate name_table since it is
	not used.
2008-01-24 15:12:09 +00:00
Joel Sherrill
8e30a269a2 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_p.h,
	libcsupport/src/malloc_report_statistics_plugin.c,
	libmisc/shell/shell.c, libmisc/shell/shell.h,
	score/src/objectinitializeinformation.c: Add posix_memalign. Split
	out management of deferred frees to subroutines.
	* libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
2007-12-19 16:03:54 +00:00
Joel Sherrill
50269c464a 2005-02-10 Joel Sherrill <joel@OARcorp.com>
PR 753/rtems
	* score/include/rtems/score/object.h,
	score/src/objectinitializeinformation.c: Configured number of objects
	needs to be of a type with more bits than Objects_Maximum to support
	configuring unlimited objects. The type for configuring the maximum
	number of objects should probably always be the same fundamental type
	as Object Id. For 16-bit Id configurations, the constant
	OBJECTS_UNLIMITED_OBJECTS was changed to 0x8000 to move in this
	direction.
2005-02-10 21:46:23 +00:00
Ralf Corsepius
a8eed2387c Include config.h. 2005-01-27 05:57:05 +00:00
Joel Sherrill
9b3f187a02 2004-11-29 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/mallocfreespace.c, rtems/Makefile.am,
	rtems/include/rtems/rtems/region.h, score/Makefile.am,
	score/include/rtems/score/heap.h, score/src/heapgetinfo.c: Add
	capability to return information about just the free blocks in a
	region or heap.  Also changed the semantics of free space available
	to be the largest block of memory that can be allocated.
	* rtems/src/regiongetfreeinfo.c, score/src/heapgetfreeinfo.c: New files.
	: score/include/rtems/score/object.h,
	score/src/objectinitializeinformation.c: Remove warning.
2004-11-29 22:45:43 +00:00
Joel Sherrill
c7b7f38098 2004-11-01 Joel Sherrill <joel@OARcorp.com>
* score/include/rtems/score/object.h, score/src/object.c,
	score/src/objectallocatebyindex.c, score/src/objectcomparenameraw.c,
	score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
	score/src/objectinitializeinformation.c: Fix bugs in previous commit.
	Now compiles.
2004-11-01 15:28:22 +00:00
Ralf Corsepius
a0ed4edee0 Remove stray white spaces. 2004-04-18 06:13:55 +00:00
Ralf Corsepius
05279b84b4 Remove stray white spaces. 2004-04-17 13:32:13 +00:00
Ralf Corsepius
3127180e74 2004-04-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* score/src/Unlimited.txt, score/src/chain.c, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsgclose.c,
	score/src/coremsgflush.c, score/src/coremsgflushsupp.c,
	score/src/coremsgseize.c, score/src/coremsgsubmit.c,
	score/src/coremutex.c, score/src/coremutexflush.c,
	score/src/coresem.c, score/src/coresemflush.c, score/src/coretod.c,
	score/src/coretodtickle.c, score/src/coretodtoseconds.c,
	score/src/coretodvalidate.c, score/src/heap.c,
	score/src/heapallocate.c, score/src/heapextend.c,
	score/src/heapfree.c, score/src/heapsizeofuserarea.c,
	score/src/interr.c, score/src/iterateoverthreads.c,
	score/src/mpci.c, score/src/object.c, score/src/objectallocate.c,
	score/src/objectallocatebyindex.c, score/src/objectclearname.c,
	score/src/objectcomparenameraw.c,
	score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
	score/src/objectcopynamestring.c,
	score/src/objectextendinformation.c, score/src/objectfree.c,
	score/src/objectget.c, score/src/objectgetbyindex.c,
	score/src/objectgetisr.c, score/src/objectgetnoprotection.c,
	score/src/objectidtoname.c, score/src/objectinitializeinformation.c,
	score/src/objectmp.c, score/src/objectnametoid.c,
	score/src/objectshrinkinformation.c, score/src/thread.c,
	score/src/threadcreateidle.c, score/src/threadget.c,
	score/src/threadidlebody.c, score/src/threadinitialize.c,
	score/src/threadmp.c, score/src/threadq.c,
	score/src/threadqdequeuepriority.c,
	score/src/threadqenqueuepriority.c,
	score/src/threadqfirstpriority.c, score/src/threadqflush.c,
	score/src/threadreset.c, score/src/threadrestart.c,
	score/src/threadsettransient.c, score/src/threadstackallocate.c,
	score/src/threadstart.c, score/src/userext.c,
	score/src/watchdoginsert.c, score/src/wkspace.c: Convert to using
	c99 fixed size types.
2004-03-29 12:51:43 +00:00
Joel Sherrill
dd687d977e 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/rtems/debug.h, include/rtems/seterr.h,
	include/rtems/system.h, include/rtems/score/address.h,
	include/rtems/score/apiext.h, include/rtems/score/apimutex.h,
	include/rtems/score/bitfield.h, include/rtems/score/chain.h,
	include/rtems/score/context.h, include/rtems/score/copyrt.h,
	include/rtems/score/coremsg.h, include/rtems/score/coremutex.h,
	include/rtems/score/coresem.h, include/rtems/score/heap.h,
	include/rtems/score/interr.h, include/rtems/score/isr.h,
	include/rtems/score/mpci.h, include/rtems/score/mppkt.h,
	include/rtems/score/object.h, include/rtems/score/objectmp.h,
	include/rtems/score/priority.h, include/rtems/score/stack.h,
	include/rtems/score/states.h, include/rtems/score/sysstate.h,
	include/rtems/score/thread.h, include/rtems/score/threadmp.h,
	include/rtems/score/threadq.h, include/rtems/score/tod.h,
	include/rtems/score/tqdata.h, include/rtems/score/userext.h,
	include/rtems/score/watchdog.h, include/rtems/score/wkspace.h,
	inline/rtems/score/address.inl, inline/rtems/score/chain.inl,
	inline/rtems/score/coremsg.inl, inline/rtems/score/coremutex.inl,
	inline/rtems/score/coresem.inl, inline/rtems/score/heap.inl,
	inline/rtems/score/isr.inl, inline/rtems/score/mppkt.inl,
	inline/rtems/score/object.inl, inline/rtems/score/objectmp.inl,
	inline/rtems/score/priority.inl, inline/rtems/score/stack.inl,
	inline/rtems/score/states.inl, inline/rtems/score/sysstate.inl,
	inline/rtems/score/thread.inl, inline/rtems/score/threadmp.inl,
	inline/rtems/score/tod.inl, inline/rtems/score/tqdata.inl,
	inline/rtems/score/userext.inl, inline/rtems/score/watchdog.inl,
	inline/rtems/score/wkspace.inl, macros/rtems/score/address.inl,
	macros/rtems/score/chain.inl, macros/rtems/score/coremsg.inl,
	macros/rtems/score/coremutex.inl, macros/rtems/score/coresem.inl,
	macros/rtems/score/heap.inl, macros/rtems/score/isr.inl,
	macros/rtems/score/mppkt.inl, macros/rtems/score/object.inl,
	macros/rtems/score/objectmp.inl, macros/rtems/score/priority.inl,
	macros/rtems/score/stack.inl, macros/rtems/score/states.inl,
	macros/rtems/score/sysstate.inl, macros/rtems/score/thread.inl,
	macros/rtems/score/threadmp.inl, macros/rtems/score/tod.inl,
	macros/rtems/score/tqdata.inl, macros/rtems/score/userext.inl,
	macros/rtems/score/watchdog.inl, macros/rtems/score/wkspace.inl,
	src/apiext.c, src/chain.c, src/coremsg.c, src/coremsgbroadcast.c,
	src/coremsgclose.c, src/coremsgflush.c, src/coremsgflushsupp.c,
	src/coremsgflushwait.c, src/coremsginsert.c, src/coremsgseize.c,
	src/coremsgsubmit.c, src/coremutex.c, src/coremutexflush.c,
	src/coremutexseize.c, src/coremutexsurrender.c, src/coresem.c,
	src/coresemflush.c, src/coresemseize.c, src/coresemsurrender.c,
	src/coretod.c, src/coretodset.c, src/coretodtickle.c,
	src/coretodtoseconds.c, src/coretodvalidate.c, src/heap.c,
	src/heapallocate.c, src/heapextend.c, src/heapfree.c,
	src/heapgetinfo.c, src/heapsizeofuserarea.c, src/heapwalk.c,
	src/interr.c, src/isr.c, src/iterateoverthreads.c, src/mpci.c,
	src/object.c, src/objectallocate.c, src/objectallocatebyindex.c,
	src/objectclearname.c, src/objectcomparenameraw.c,
	src/objectcomparenamestring.c, src/objectcopynameraw.c,
	src/objectcopynamestring.c, src/objectextendinformation.c,
	src/objectfree.c, src/objectget.c, src/objectgetbyindex.c,
	src/objectgetisr.c, src/objectgetnext.c, src/objectgetnoprotection.c,
	src/objectidtoname.c, src/objectinitializeinformation.c,
	src/objectmp.c, src/objectnametoid.c, src/objectshrinkinformation.c,
	src/thread.c, src/threadchangepriority.c, src/threadclearstate.c,
	src/threadclose.c, src/threadcreateidle.c, src/threaddelayended.c,
	src/threaddispatch.c, src/threadevaluatemode.c, src/threadget.c,
	src/threadhandler.c, src/threadidlebody.c, src/threadinitialize.c,
	src/threadloadenv.c, src/threadmp.c, src/threadq.c,
	src/threadqdequeue.c, src/threadqdequeuefifo.c,
	src/threadqdequeuepriority.c, src/threadqenqueue.c,
	src/threadqenqueuefifo.c, src/threadqenqueuepriority.c,
	src/threadqextract.c, src/threadqextractfifo.c,
	src/threadqextractpriority.c, src/threadqextractwithproxy.c,
	src/threadqfirst.c, src/threadqfirstfifo.c,
	src/threadqfirstpriority.c, src/threadqflush.c, src/threadqtimeout.c,
	src/threadready.c, src/threadreset.c, src/threadresettimeslice.c,
	src/threadrestart.c, src/threadresume.c, src/threadrotatequeue.c,
	src/threadsetpriority.c, src/threadsetstate.c,
	src/threadsettransient.c, src/threadstackallocate.c,
	src/threadstackfree.c, src/threadstart.c,
	src/threadstartmultitasking.c, src/threadsuspend.c,
	src/threadtickletimeslice.c, src/threadyieldprocessor.c,
	src/userext.c, src/watchdog.c, src/watchdogadjust.c,
	src/watchdoginsert.c, src/watchdogremove.c, src/watchdogtickle.c,
	src/wkspace.c: URL for license changed.
2003-09-04 18:56:05 +00:00
Joel Sherrill
ef9505a92f 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_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
	was made conditional and cleaned up.
	* include/Makefile.am, include/rtems/score/coremsg.h,
	include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
	include/rtems/score/object.h, include/rtems/score/threadq.h,
	inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
	macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
	src/coremutex.c, src/coresem.c, src/mpci.c,
	src/objectcomparenameraw.c, src/objectextendinformation.c,
	src/objectinitializeinformation.c, src/objectnametoid.c,
	src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
	src/threadqextractwithproxy.c: Modified as part of above.
	* include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
	files.
2002-07-01 22:30:12 +00:00