summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/tod.h (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1998-01-15Error reported by Duncan Smith <dds@flavors.com>:Joel Sherrill1-1/+1
>> >>There is a 30 day error in _TOD_Days_since_last_leap_year[2..3] >> > >> >Thanks. >> >What's the condition to hit this error? >> >Every year 4n+2 and 4n+3 ? >> >(i.e. 1998, 1999, 2002, 2003, ...) >> > >> OK: 96 97 00 01 04 05 ... >> Bad: 98 99 02 03 06 07 ... There is also a problem in newlib 1.7.x reported at the same time: >> I found another, that would strike only on 2/29/2000, or other leapyears. >> Only a problem on 1 day. >> >> Joel: FYI, there is a bug in Newlib localtime.c, localtime or (_tm_time). >> Ours is modified for dst and timezones, but the bug was in original source. >> I have not looked at the latest public source (nor do I know where to find >> it).
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22Patch from Chris John <cjohns@awa.com.au> to add use of a select statementJoel Sherrill1-0/+15
in the unix port idle thread task. This should keep the entire application from blocking when any component does a blocking application. Also added TOD_MICROSECONDS_TO_TICKS.
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1996-09-06changed _TOD_Is_set from a function to a boolean variableJoel Sherrill1-0/+7
1996-05-31renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the WatchdogJoel Sherrill1-7/+0
Handler could timestamp the starting and stopping of timers. Since TOD is built on top of Watchdog, this avoided a circular dependency.
1996-05-31added nanoseconds per second constantJoel Sherrill1-1/+2
1996-05-30Added nanoseconds constantJoel Sherrill1-2/+3
1996-05-28split the inclusion of "EXTERN" data based on whether it was sapi,Joel Sherrill1-7/+7
score, rtems api, or posix api related.
1996-03-06Removed prototyes for static inline routines and moved the comments intoJoel Sherrill1-44/+2
the inline implementation. The impetus for this was twofold. First, it is incorrect to have static inline prototypes when using the macro implementation. Second, this reduced the number of lines in the include files seen by rtems.h by about 2000 lines. Next we restricted visibility for the inline routines to inside the executive itself EXCEPT for a handful of objects. This reduced the number of include files included by rtems.h by 40 files and reduced the lines in the include files seen by rtems.h by about 6000 lines. In total, these reduced the compile time of the entire RTEMS tree by 20%. This results in about 8 minutes savings on the SparcStation 10 morgana.
1995-09-26posix support initially addedJoel Sherrill1-3/+5
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-23/+23
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.