Commit Graph
1107 Commits
Author SHA1 Message Date
Joel Sherrill 1c55d2e868 Split unistd.c file into sysconf.c and sleep.c. 1999-11-05 19:38:37 +00:00
Joel Sherrill 7edb9281a2 Following comments from Eric Norum <eric@cls.usask.ca>, a fairly
substantial upgrade of newlibc.c occurred.  Now the user extension
data area is used rather than notepads and as many routines as possible
were split into other files further reducing the minimum footprint
of an RTEMS executable.
1999-11-05 19:02:03 +00:00
Joel Sherrill 968f774296 Fixed typo. 1999-11-05 17:45:55 +00:00
Joel Sherrill 458bd343e2 This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP.  On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-05 16:44:02 +00:00
Joel Sherrill f817b0283c The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden.  This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration.  The use of Cpu_table in each
BSP needs to be eliminated.
1999-11-04 18:05:09 +00:00
Joel Sherrill 2b2ab1c070 Renamed POSIX_Thread_cancel_run to _POSIX_Thread_cancel_run since RTEMS
internal symbols are supposed to have leading underscores.
1999-11-03 12:51:09 +00:00
Joel Sherrill 86ed4f09d7 Added CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM as a configuration
parameter.
1999-11-03 12:48:41 +00:00
Joel Sherrill 2b295183f3 Added prototype of _POSIX_Semaphore_Delete to avoid warnings. 1999-11-03 12:47:16 +00:00
Joel Sherrill 0a3946f6e7 Added prototype of POSIX_Thread_cancel_run to avoid warnings. 1999-11-03 12:46:58 +00:00
Joel Sherrill 7cc8d6c3b1 Split core mutex and semaphore handlers into separate files. 1999-11-02 21:48:15 +00:00
Joel Sherrill 82cb78d84c Split core message queue and watchdog handler objects into separate files. 1999-11-02 21:45:15 +00:00
Joel Sherrill 93b4e6ef7e Split Heap and Time of Day Handlers. 1999-11-02 21:05:17 +00:00
Joel Sherrill dfbfa2b029 Split threadq.c into multiple files. 1999-11-02 20:36:11 +00:00
Joel Sherrill b568ccb745 The object memfile.o was being included in the miniIMFS even though it
should not have been.  This required that IMFS_rmnod be split into
three separate (per file type) routines to avoid dependencies.
In the end, a miniIMFS application is 6K smaller than one using the
full IMFS.
1999-11-02 20:20:13 +00:00
Joel Sherrill 317a5b52b5 Split object.c into multiple files. 1999-11-02 19:43:52 +00:00
Joel Sherrill 811fae12e9 Split types.s into individual files. 1999-11-02 19:24:38 +00:00
Joel Sherrill 07e07437c4 Final tuning required to drop out POSIX timers. 1999-11-02 19:11:16 +00:00
Joel Sherrill 6800397962 *** empty log message *** 1999-11-02 19:04:51 +00:00
Joel Sherrill db7f70a327 Split cancel.c into multiple files. 1999-11-02 18:47:06 +00:00
Joel Sherrill 43ed93524d Missed these in the initial split up. 1999-11-02 18:46:30 +00:00
Joel Sherrill 63edcf242a Split key.c into multiple files. 1999-11-02 18:40:30 +00:00
Joel Sherrill cec0371ec5 Wrong routine was initially cut into this file. 1999-11-02 18:39:52 +00:00
Joel Sherrill 9f95a19a57 Split time.c into multiple files. 1999-11-02 18:35:52 +00:00
Joel Sherrill 98dca75bf3 Split condition variables into multiple files. 1999-11-02 18:25:26 +00:00
Joel Sherrill 799c767d31 Split the POSIX semaphore manager into multiple files. 1999-11-02 18:00:15 +00:00
Joel Sherrill ee979cdd95 Split some more stuff out of psignal.c. 1999-11-02 17:36:20 +00:00
Joel Sherrill 96c041c42b Split mutex.c into multiple files. 1999-11-02 17:19:23 +00:00
Joel Sherrill 8a5f2ca04d Split mqueue into multiple files. 1999-11-02 17:18:58 +00:00
Joel Sherrill b95e303fca Removed warnings. 1999-11-02 17:14:40 +00:00
Joel Sherrill 4dc89814e1 Split mqueue.c into a variety of files. 1999-11-02 17:00:35 +00:00
Joel Sherrill 5f2566b5e2 Fixed F_SETFL to properly convert between internal
libio flags and external fcntl.h style flags.
1999-11-02 16:27:53 +00:00
Joel Sherrill 063e4950f4 Added support for configuring base filesystem. First attempt at
a full mount table at initialization.  This is the wrong place
to mount filesystems 2-n since no device drivers are initialized
yet.
1999-11-02 16:27:05 +00:00
Joel Sherrill 19b74f3175 Check for NULL being passed in. 1999-11-02 16:25:05 +00:00
Joel Sherrill 3fb2a8daf7 Fixed typo where memfile_handlers set twice and directory_handlers
was not set.
1999-11-02 16:23:50 +00:00
Joel Sherrill ac8adcf06f Properly initialize location variable. 1999-11-02 16:22:58 +00:00
Joel Sherrill 5d36b344ae Fixed bug which resulted in misaligned object control structures
being allocated.  This bug manifested itself on the SPARC
since it uses ldd/std in its context save/restore routines.
1999-11-02 16:01:52 +00:00
Joel Sherrill 32441ab768 Added a comment to indicate that if a task blocked on a priority
based thread queue were to be reinserted based on its new priority,
this is where the logic would go.
1999-11-02 16:00:37 +00:00
Joel Sherrill 2cd54440b1 Added code to allocate by index. This is the object ID style used
by ITRON.

Corrected spacing.
1999-11-02 15:58:39 +00:00
Joel Sherrill 8f0529f65a Added maximum count detection logic. 1999-11-02 15:58:09 +00:00
Joel Sherrill 9693fdac75 Added support for message priority as required by POSIX. 1999-11-02 15:57:58 +00:00
Joel Sherrill af10d3ef5d Corrected spacing. 1999-11-02 15:57:43 +00:00
Joel Sherrill 3f421dab80 Added message queues and semaphores. 1999-11-02 15:56:10 +00:00
Joel Sherrill be0fc09935 Added CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES and
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES.
1999-11-02 15:55:34 +00:00
Joel Sherrill 861e94d98a Added comment to make sure Classic API priority to Core priority
is added in the future.
1999-11-02 15:35:58 +00:00
Joel Sherrill 3ba754e136 Added comments for _RTEMS_tasks_Create_extension,
_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension, and
_RTEMS_tasks_Switch_extension.
1999-11-02 15:34:40 +00:00
Joel Sherrill b970c48963 Added a case to support the core semaphore error returned when the
maximum semaphore count is exceeded.
1999-11-02 15:33:14 +00:00
Joel Sherrill d80188eb6f Added code to utilize the maximum_count attribute of core semaphores
and initialize it to a value that would keep it from every being
a problem.
1999-11-02 15:30:20 +00:00
Joel Sherrill fd882eed44 Now much closer to working. 1999-11-02 15:29:47 +00:00
Joel Sherrill 26c828fe47 Added assert in case _Objects_Get_information fails since this
should NEVER occur.
1999-11-02 15:29:04 +00:00
Joel Sherrill 2b95c07bda Commented out lines causing warning. 1999-11-02 15:28:02 +00:00