Commit Graph

3565 Commits

Author SHA1 Message Date
Joel Sherrill
d3fdf45917 Now use _Thread_Reset(). 1999-11-16 16:09:50 +00:00
Joel Sherrill
88cb6b22ab Added threadreset.c. 1999-11-16 16:08:10 +00:00
Joel Sherrill
f6d082148b Added prototype for _Thread_Reset() and numerous comments. 1999-11-16 16:07:52 +00:00
Joel Sherrill
c09454282b Only check for System V IPC if multiprocessing is enabled. The unix
port only uses System V IPC for shared memory and semaphores to
communicate between nodes in a multiprocessor configuration.  If you
disable multiprocessing, then this code should be unused.  Thus systems
like Cygwin which are POSIX but do not support System V IPC should
not work.
1999-11-16 16:07:17 +00:00
Joel Sherrill
f4b76ab569 Fixed so can be included multiple times in the executive source. 1999-11-16 16:04:51 +00:00
Joel Sherrill
31473b7107 Works now.
Removed times() since the version in the C Library support code is
fine.
1999-11-16 16:03:21 +00:00
Joel Sherrill
165fe39ff2 Return a reasonable error other than ENOSYS. 1999-11-16 16:01:54 +00:00
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
2c0e896e9c Moved utsname from "build for now" (unimplemented files) to the main
list of C_PIECES since it is now implemented.
1999-11-16 16:00:11 +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
d6c8352925 Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which does the following:

    This is the configuration cleanup patch:

    Main changes:
      * TARGET_ARCH removed
      * target.cfg.in moved to c/make/target.cfg.in (Only configured once for
        all BSPs of a target)
      * BARE_XXX variables appended to bsp.cfg.in
      * autogen renamed to bootstrap
      * removed stray variables from make/custom/*.cfg

    To apply:
        cd <source-tree>
        rm c/src/make/target.cfg.in
        cp autogen bootstrap
        mkdir c/make
        cp make/target.cfg.in c/make/target.cfg.in
        rm make/target.cfg.in
        rm autogen
        patch -p1 < rtems-rc-19991105-1.diff
1999-11-16 15:48:11 +00:00
Jennifer Averett
fa3346f509 Modified file to match seen output. 1999-11-16 15:41:58 +00:00
Jennifer Averett
f9879915b9 Modified output file to match seen output. Added comment to all ino
values that they may change slightly on a processor basis.
1999-11-16 15:41:29 +00:00
Jennifer Averett
e9b00d7628 Removed compiler warning. 1999-11-16 15:40:40 +00:00
Jennifer Averett
d37aa4442a Changed asserts to tmmacros. 1999-11-16 15:39:08 +00:00
Jennifer Averett
2d82857db3 Updated scn file to match new output. Left out unemplemented
parts as a reminder to fix when these routines became implemented.
1999-11-16 15:38:44 +00:00
Jennifer Averett
4761995134 + Changed ID to 1. ( Compilation error introduced by modifications. ) 1999-11-16 15:33:10 +00:00
Jennifer Averett
1da9f4bdff Modified scan file to match. 1999-11-16 15:30:04 +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
c276c87111 Added itron tests. 1999-11-16 15:24:30 +00:00
Jennifer Averett
3fb7b70be2 Changed to call tmmacros instead of assert. 1999-11-16 14:39:56 +00:00
Joel Sherrill
56e61bb8e1 Patch rtems-rc-19991105-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the gdb.spec.in fix patch:

        * install infos gzip-ed
        * add gdb to group rtems
1999-11-16 14:24:50 +00:00
Joel Sherrill
ac656f2dc4 Moved start code from lib/start to libbsp. 1999-11-16 14:15:56 +00:00
Joel Sherrill
25f705eebf Moved start code from lib/start to libbsp. 1999-11-16 13:55:35 +00:00
Joel Sherrill
1d04e1673e Moved start code from lib/start to libbsp. 1999-11-16 13:45:51 +00:00
Joel Sherrill
7f93f772d8 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-16 13:37:49 +00:00
Joel Sherrill
a7d988a53e Minor changes since new Makefile. 1999-11-16 13:37:25 +00:00
Joel Sherrill
14dbf50aa2 Added start subdirectory. 1999-11-16 13:34:41 +00:00
Joel Sherrill
1bcdb3f6ec Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-16 13:31:13 +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
Jennifer Averett
e672263c39 Fixed verificaiton checks to call correct macro if dispatch is disabled. 1999-11-15 21:28:21 +00:00
Jennifer Averett
06380cfeac + Added check that a task could be sent to a dormant state
then sta_tsk used to restart the task to its initial state.
+ Added calls to ref_tsk to yellow paths for suspended and
  ready but not running tasks.
+ Fixed output file to correctly state test name
+ Added priority of preempt to the header file.  Allows ref_tsk verification.
1999-11-15 21:25:53 +00:00
Jennifer Averett
0f88857a3a + Changed preempt routine into two dummy tasks one that is in dormant
state and one that is in non-dormant state.
+ Increased the priority of the Init task to force the dummy tasks to
  run first.
+ Added calls to ref_tsk to verify the state of the dummy tasks and
  test ref_tsk.
1999-11-15 21:19:58 +00:00
Joel Sherrill
cb193710f4 Added paragraph describing SUSP. 1999-11-15 21:04:01 +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
afb11f80e6 + Modified calls to use TSK_SLF for calls to self.
+ Modified calls to use the task id macro for calls to the PREEMPT task.
1999-11-12 22:00:10 +00:00
Joel Sherrill
624d7ca497 + Added comments on paths tested. 1999-11-12 21:27:42 +00:00
Joel Sherrill
e8c902cd41 + Added check for priority over 256.
+ Modified output to correctly state the error.
1999-11-12 21:26:54 +00:00
Joel Sherrill
8ed3125de3 Added comments for path's tested. 1999-11-12 21:24:56 +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