Commit Graph
5440 Commits
Author SHA1 Message Date
Joel Sherrill 7fec3b7a36 Added call to _Watchdog_Remove to remove the sporadic timer. It was
being reinserted onto the ticks chain.
1999-11-16 16:01:32 +00:00
Joel Sherrill d280ce18b8 Comment fixed when adding prototype for
_ITRON_Message_buffer_Translate_core_message_buffer_return_code.
1999-11-16 15:58:21 +00:00
Joel Sherrill bd462d1146 New file. 1999-11-16 15:52:49 +00:00
Joel Sherrill 817031fa5c New file. 1999-11-16 15:28:03 +00:00
Joel Sherrill c7016198fa Added. 1999-11-16 15:27:52 +00:00
Joel Sherrill b88691c30f Source and destination arguments to strncpy were swapped. This mistake
was made in the conversion of bcopy() to strncpy().
1999-11-16 15:26:29 +00:00
Joel Sherrill 80fd69998a Removed nanosleep() since it is now in its own file. 1999-11-15 22:19:51 +00:00
Jennifer Averett 40aac293b7 Returned third parameter for a NULL name to the objects open call. 1999-11-15 21:37:56 +00:00
Jennifer Averett 2578970553 + Fixed files to consistantly use a case of the location after calls
to ITRON_Task_Get.
+ Modified to consistantly call _ITRON_return_errorno with E_OK.
+ Optimized the code to not disable dispatch prior to checking input values.
1999-11-15 21:35:14 +00:00
Jennifer Averett 1ae60eb4e6 + Modified to use new Thread_Reset routine instead of the restart method. 1999-11-15 21:31:28 +00:00
Joel Sherrill 9da09940e4 Split ITRON Message Buffer Manager into multiple files. 1999-11-15 17:15:58 +00:00
Joel Sherrill fb27af7637 Split ITRON semaphore manager into multiple files. 1999-11-15 16:39:01 +00:00
Joel Sherrill d8f3f65be0 + Changed validation of the_thread to validation of location.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:23:34 +00:00
Joel Sherrill 2979c288bb + Changed validation of the_thread to validation of location.
+  Removed error path that should never happen.
1999-11-12 21:21:09 +00:00
Joel Sherrill 3971537bd2 + Changed validation of the_thread to validation of location. 1999-11-12 21:20:04 +00:00
Joel Sherrill 037a7b16a1 + Moved error checks to before the disable dispatch where possible. 1999-11-12 21:18:36 +00:00
Joel Sherrill 0c5ab52207 Added comment about the E_CTX error condition (Implementation dependent). 1999-11-12 21:16:45 +00:00
Joel Sherrill c257429f61 + Moved error checks to before the dispatch disable where possible.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:15:12 +00:00
Joel Sherrill 2183b65b81 + 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.
+  Set correct error code when dormant state.
+  Fixed comment.
1999-11-12 21:13:52 +00:00
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 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