Commit Graph

2495 Commits

Author SHA1 Message Date
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
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
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
f477165695 Test name changed to reflect placement after merger. 1999-11-12 14:51:03 +00:00
Joel Sherrill
ec0b5ce5d7 Test name changed to reflect placement after merger.
Changed output to reflect what was actually being tested.
1999-11-12 14:50:42 +00:00
Joel Sherrill
3136f5c917 Test name changed to reflect placement after merger.
Increased stack space.
1999-11-12 14:49:47 +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
6977b3886a Enabled after merging message buffer code. 1999-11-12 13:45:39 +00:00
Joel Sherrill
f9078d1da0 Added comment block and removed include of deleted file. 1999-11-12 13:22:31 +00:00
Joel Sherrill
d102810ea0 Updated. 1999-11-11 02:39:12 +00:00
Joel Sherrill
dc83752971 Screen updated. 1999-11-11 02:23:26 +00:00
Joel Sherrill
458d4e6652 Added new test sp28 to test the task variable directives. 1999-11-11 02:23:04 +00:00
Joel Sherrill
713b2eac2f General cleanup. Test documentation improved. The message buffer test
prints a message instead of actually testing since the message buffer
implementation is not in yet.
1999-11-10 22:15:42 +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
74db82a343 rtems_semaphore_flush test from Eric Norum <eric@cls.usask.ca>. 1999-11-10 20:36:25 +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
442d047832 Combination of committing some new files which had been overlooked
and adding code which installed screens for itron tests.
1999-11-10 14:19:55 +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