Commit Graph

347 Commits

Author SHA1 Message Date
Joel Sherrill
19962562df added test code for nanosleep and return code from sleep. 1996-06-03 16:30:44 +00:00
Joel Sherrill
5ff991e8a5 created ptimer.c and moved the timer_* routines out of time.c into ptimer.c 1996-06-03 16:29:59 +00:00
Joel Sherrill
a38283590c added constant for seconds between posix epoch (1970) and rtems epoch (1988).
Formerly this constant was in the file src/time.c.
1996-06-03 16:29:35 +00:00
Joel Sherrill
f6e6ed8464 changed so this file is usable from assembly files.
no longer uses efi332.h
1996-06-03 15:49:22 +00:00
Joel Sherrill
52a06419cc added ifdef for sunos 4.x since it does not have strtoul. 1996-06-03 15:47:45 +00:00
Joel Sherrill
5e7b6272fc renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the Watchdog
Handler could timestamp the starting and stopping of timers.  Since
TOD is built on top of Watchdog, this avoided a circular dependency.
1996-05-31 23:27:45 +00:00
Joel Sherrill
c238a2189d added checks to validate values passed to set attribute routines 1996-05-31 21:40:48 +00:00
Joel Sherrill
f31da72ce4 fixed typo in merge of Eric Norum's patch 1996-05-31 20:57:17 +00:00
Joel Sherrill
c832429dcd added nanoseconds per second constant 1996-05-31 19:02:13 +00:00
Joel Sherrill
1e665a5716 corrected minor problem in Eric Norum's changes in the bfffo macro. 1996-05-31 19:01:59 +00:00
Joel Sherrill
e72d995a80 moved sleep() from psignal.c to unistd.c
implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and
sigismember().

added checks for valid attribute values to some of the pthread_attr_t sets.
1996-05-31 19:01:26 +00:00
Joel Sherrill
b927fba1c4 commented out cancel handlers related items. 1996-05-31 18:59:57 +00:00
Joel Sherrill
285af80408 moved attribute related constants into the rtems specific sys/types.h
file in newlib.
1996-05-31 18:59:31 +00:00
Joel Sherrill
9594cdbd4e added code to test clock and time related functionality. 1996-05-30 20:49:16 +00:00
Joel Sherrill
7c55e065f9 Added nanoseconds constant 1996-05-30 20:48:33 +00:00
Joel Sherrill
5600661d6a First cut at implementing time, clock_gettime, clock_settime, clock_getres,
sleep, and nanosleep.  Does not yet support per process clock, per thread
clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
1996-05-30 20:48:10 +00:00
Joel Sherrill
b169590e9a added dummy versions of __kill and __getpid which assert(0) so that
applications which use only the rtems api (i.e. not the posix api) will
link.
1996-05-30 20:34:46 +00:00
Joel Sherrill
53fd6e2979 Eric Norum sent in new versions of the inline assembly macros which
do not generate warnings for unitialized variables.
1996-05-30 19:29:01 +00:00
Joel Sherrill
a96a713c57 tests now specify whether they are using rtems initialization tasks
or posix initialization threads
1996-05-30 14:01:33 +00:00
Joel Sherrill
be1c11edab tests now specify whether using posix initialization threads table
or rtems initialization table in configuration table
1996-05-29 22:48:26 +00:00
Joel Sherrill
dd32d883d7 posix initialization threads table was misnamed "posix initialization
tasks table"
1996-05-29 22:46:05 +00:00
Joel Sherrill
7f72217e97 comment clean up 1996-05-29 21:27:26 +00:00
Joel Sherrill
2a98af841e types.c: spacing
psignal.c: kill recognizes SIGABRT and exits to prevent asserts from
recursively occurring because kill was not implemented and asserted.
1996-05-29 21:02:20 +00:00
Joel Sherrill
5240c71c52 fixed support for posix initialization threads table 1996-05-29 20:58:45 +00:00
Joel Sherrill
2197a2e15f simple version of test which shows pthread_create, pthread_exit, and exit
are basically working.  This test will be enhanced further.
1996-05-29 20:56:57 +00:00
Joel Sherrill
cfcfdf0585 added pthread_exit
first posix thread ran
1996-05-29 20:55:05 +00:00
Joel Sherrill
5e0efa2b3a cleaned up spacing and parentheses 1996-05-29 20:50:52 +00:00
Joel Sherrill
d835a35cbd spacing 1996-05-29 19:28:15 +00:00
Joel Sherrill
ece8c9abd3 first cut at pthread_create 1996-05-29 19:28:01 +00:00
Joel Sherrill
9c877c0df6 addressed minimum stack size attribute.
There is a potential problem if setting PTHREAD_STACK_MIN to 0 does not
work with all applications since it is in limit.h over in newlib.  There
is a potential build order issue with newlib needing to know the rtems
cpu dependent stack size minimum.
1996-05-29 18:46:46 +00:00
Joel Sherrill
98849f4487 *** empty log message *** 1996-05-29 16:55:05 +00:00
Joel Sherrill
613cff6f58 removed all ifdef's on NOT_IMPLEMENTED. 1996-05-29 16:54:52 +00:00
Joel Sherrill
e941ea131d added entry point for posix initialization threads to the posix initialization
threads table structure
1996-05-29 16:54:24 +00:00
Joel Sherrill
d9a0689e35 Addressed RTEMS API initialization tasks table in a system without
RTEMS initialization tasks.
1996-05-29 16:07:21 +00:00
Joel Sherrill
0252200299 Gutted test of rtems api calls and added comments to indicate what the test
should do in their place.  It now compiles and links.
1996-05-29 16:06:47 +00:00
Joel Sherrill
99f9dffaf4 Added default POSIX API configuration table. 1996-05-29 16:05:28 +00:00
Joel Sherrill
019bce7917 It is now not an error to have 0 RTEMS initialization tasks since you could
create POSIX initialization threads.
1996-05-29 16:05:06 +00:00
Joel Sherrill
974ff40e57 renamed signal.c to psignal.c to avoid naming problems.
added mp stubs to cond.c and mutex.c to eliminate link errors.

added pthread_exit to pthread.c
1996-05-29 16:04:31 +00:00
Joel Sherrill
c627b2a3a1 split the inclusion of "EXTERN" data based on whether it was sapi,
score, rtems api, or posix api related.
1996-05-28 21:40:52 +00:00
Joel Sherrill
c6fa38c006 added maximum keys 1996-05-28 19:29:51 +00:00
Joel Sherrill
7640525da4 added enumerated constant for the POSIX API as an error source 1996-05-28 19:29:02 +00:00
Joel Sherrill
5a18e047ac added initial set of api extension callouts 1996-05-28 19:28:32 +00:00
Ralf Corsepius
2b4683a156 This commit was generated by cvs2svn to compensate for changes in r311,
which included commits to RCS files with non-trunk default branches.
1996-05-28 17:13:29 +00:00
Ralf Corsepius
bc69a8591f Import from zlib-1.2.4 1996-05-28 17:13:29 +00:00
Joel Sherrill
962c9b65f2 new file 1996-05-28 16:33:11 +00:00
Joel Sherrill
47d6b1400f commented out interrupt support 1996-05-28 16:32:55 +00:00
Joel Sherrill
da33d26358 added ifndef's for the POSIX maximum field in the POSIX api configuration table 1996-05-28 16:18:34 +00:00
Joel Sherrill
d4b4487779 added posix api initialization call to init.c
deleted a blank line in rtemsapi.c
1996-05-28 16:17:01 +00:00
Joel Sherrill
8165b48f51 comment cleanup 1996-05-28 16:16:28 +00:00
Joel Sherrill
52d9e4d1ac added maximum keys 1996-05-28 16:16:11 +00:00