Commit Graph
1134 Commits
Author SHA1 Message Date
Joel Sherrill ea6bfcbe1e + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK.
+  Changed validation of the_thread to validation of location.
1999-11-12 21:12:27 +00:00
Joel Sherrill 6af8143502 Corrected so now actually indexes into the allocation block. 1999-11-12 15:54:48 +00:00
Joel Sherrill 1925ec9be4 Corrected remaining references to struct rtems_task_variable_t since
it is now typedef'ed.
1999-11-12 15:54:07 +00:00
Joel Sherrill a8d72dea01 Removed unnecessary 3rd parameter. 1999-11-12 15:53:29 +00:00
Joel Sherrill 6bd132e549 New file. 1999-11-12 15:37:09 +00:00
Joel Sherrill 95bb279973 Used typedef so all "struct rtems_task_variable_t" uses are now
just "rtems_task_variable_t".
1999-11-12 14:54:13 +00:00
Joel Sherrill 884b460d64 Added per-task variable data stucture (rtems_task_variable_t),
task_variables field to API extension, and two directives
(rtems_task_variable_add and rtems_task_variable_delete).
1999-11-12 14:52:36 +00:00
Joel Sherrill 5aa5560746 Added per task variables based on patch from Eric Norum <eric@cls.usask.ca>.
After being submitted, this support was rewritten to be inside the
executive rather than layered on top of it using an extension.
1999-11-12 14:38:19 +00:00
Joel Sherrill 3c49a508aa Cleaned up style. 1999-11-12 14:15:50 +00:00
Joel Sherrill 3ad17f56e0 Removed redundant line. 1999-11-12 13:46:04 +00:00
Joel Sherrill 59d1127f13 Corrected to account for the way memory is divided up in
_Object_Extend_information.  This change is a side-effect of the
change made to that file to fix an alignment problem.
1999-11-10 22:14:26 +00:00
Joel Sherrill 7d29dc7f61 Added line to make sure HAS_ITRON_API is defined in Makefile. 1999-11-10 22:13:42 +00:00
Joel Sherrill 72719d29fc Added call to _Thread_Enable_dispatch() and did some cleanup. 1999-11-10 20:37:01 +00:00
Joel Sherrill cbccd37599 Patch from Eric Norum <eric@cls.usask.ca> which includes:
Patches against 1105 snapshot to add NTP server support to network
    configuration/BOOTP.
1999-11-10 14:31:11 +00:00
Joel Sherrill eb02f47b12 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-10 13:48:27 +00:00
Joel Sherrill e18ba7f0f6 Commented out single letter type names since they conflict with
numerous other uses of the same variable.
1999-11-09 22:25:55 +00:00
Joel Sherrill 352c9b2035 This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:07:23 +00:00
Joel Sherrill 1007c3c8ba Fixed warning where initialized default POSIX API structure did
have have semaphores and message queue fields.
1999-11-09 19:54:40 +00:00
Joel Sherrill bd0b378838 Removed unused variable warning. 1999-11-09 19:45:23 +00:00
Joel Sherrill b440e57bdb Added imfs_unixstub.c to satisfy linker problems on UNIX port. 1999-11-09 13:40:30 +00:00
Joel Sherrill 3fb8909aae sem_close was accidentally lost in the split. 1999-11-09 13:39:42 +00:00
Joel Sherrill a0af97d2bf Patch from Eric Norum <eric@cls.usask.ca> to add NTP BOOTP support because
EPICS needs a synchronized time-of-day clock.  This patch is the changes
needed to get NTP server information from a BOOTP server.

This patch also adds NTP server information to the network configuration
structure, too.
1999-11-09 03:43:47 +00:00
Jennifer Averett f758f8102a Correctly set and called handlers table for the link. 1999-11-05 22:26:12 +00:00
Jennifer Averett 089ad91deb Fixed comment 1999-11-05 22:25:16 +00:00
Jennifer Averett 7f6a07504e Moved imfs set handlers prototype to the imfs.h file. 1999-11-05 22:24:56 +00:00
Joel Sherrill 378fe02519 New file. 1999-11-05 21:11:09 +00:00
Joel Sherrill 94b357c2b3 Unmount was failing as a side-effect of splitting the rmnod handler
and not handling every case properly.
1999-11-05 21:10:54 +00:00
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