Commit Graph

2642 Commits

Author SHA1 Message Date
Andrew Johnson
975c5ae4c6 General Time cleanup. 2008-05-14 18:42:26 +00:00
W. Eric Norum
e40ef4996a Fix up free space calculation. 2008-05-11 21:28:55 +00:00
W. Eric Norum
f8f3647f1c Use lower-overhead mechanism to determine free space. 2008-05-11 20:05:24 +00:00
Andrew Johnson
967330fcd6 Cleanup, changed task names. 2008-05-09 22:16:29 +00:00
W. Eric Norum
edb08afdc3 Use new general time registration.
Allow use in both statically- and dynamically-loaded environment.
2008-05-09 15:39:55 +00:00
Andrew Johnson
51800996b0 Fixed generalTime initialization issues (RTEMS incomplete). 2008-05-09 14:24:04 +00:00
W. Eric Norum
893b8b6982 Fix up initialization. Must allow recursive calls. 2008-05-08 18:14:58 +00:00
Andrew Johnson
2a34e2e464 Don't use fmod(), broken on vxWorks.
Use long rather than int for integer calculations.
2008-05-08 16:15:50 +00:00
Andrew Johnson
e74e839ccd Fix initialization races. 2008-05-07 22:38:31 +00:00
Andrew Johnson
4c0015e261 Removed the unnecessary "epicsExit will be called" message. 2008-05-01 14:38:55 +00:00
W. Eric Norum
b71ebd8cc2 Don't use exclamation mark for valid output. 2008-04-30 18:14:48 +00:00
Andrew Johnson
21aed171a5 Another malloc() + bzero() => calloc() 2008-04-25 21:57:31 +00:00
Andrew Johnson
0639850d7a Expanded tabs, replaced malloc() + bzero() with calloc(). 2008-04-25 21:48:19 +00:00
W. Eric Norum
6f7156cab2 Clean up. 2008-04-18 20:30:19 +00:00
W. Eric Norum
fc85afd77c Clean up some minor issues with differences between RTEMS/vxWorks/POSIX. 2008-04-18 19:20:50 +00:00
Andrew Johnson
a3cd917de2 General Time, from Peter Denison, Eric Norum and many others... 2008-04-18 18:39:32 +00:00
W. Eric Norum
afd028c4ff Round sleep time to nearest tick. This is important when working with
high-precision time sources, such as event receivers.
2008-04-17 22:04:57 +00:00
W. Eric Norum
57005d58ae Use new, simpler, RTEMS test harness. 2008-04-17 19:34:57 +00:00
Ralph Lange
60449e20b0 += epicsSignalInstallSigHupIgnore (libCom/osi) 2008-04-17 18:57:07 +00:00
W. Eric Norum
7e31cb0db3 Round off sleep times -- makes timed scan threads work better when
high-quality time source (e.g. event receiver) is used.
2008-04-17 18:53:54 +00:00
Andrew Johnson
9d7fb60785 Added mote about deprecating epicsShareAPI. 2008-04-15 20:30:22 +00:00
W. Eric Norum
5708538d32 Back out erroneous commit. 2008-04-15 14:44:31 +00:00
W. Eric Norum
aa71115a4b Back out yesterday's mistaken commits. 2008-04-15 14:42:19 +00:00
W. Eric Norum
6254f0d730 General time changes. 2008-04-14 20:08:39 +00:00
W. Eric Norum
5e51fdaa91 Initial general time supportl. 2008-04-14 19:49:48 +00:00
W. Eric Norum
489af50c7a Preliminary general time changes. 2008-04-14 19:49:47 +00:00
Andrew Johnson
fde879062d Some versions of Solaris define isinf() macro. 2008-04-14 18:50:32 +00:00
Andrew Johnson
b281b453bb Added variable argument functions, mostly by Benjamin Fransken.
MIN, MAX, FINITE and ISINF can now take any number of arguments.
2008-04-10 18:06:47 +00:00
W. Eric Norum
2a9ccaf2c0 Use correct conditional. 2008-04-01 20:36:08 +00:00
W. Eric Norum
e1d28a495a Allow use with pre-release version of RTEMS-4.9. 2008-04-01 18:16:29 +00:00
W. Eric Norum
d91feefcac Use _Objects_Get_name_as_string if available.
Clean up some warnings.
2008-04-01 17:00:12 +00:00
Andrew Johnson
e8d52af7bc Can't make epicsInt8 a 'signed char', it breaks too much stuff.
This is a problem - on some archs char is signed, on others not.
2008-04-01 15:54:01 +00:00
Andrew Johnson
f21aed109c An epicsInt8 is signed, but a bare 'char' isn't necessarily. 2008-03-31 19:46:46 +00:00
Andrew Johnson
37b371e956 macLib cleanup, added support for scoped macros.
New test program for regular macros as well as the environment variable tests.
2008-03-31 19:30:17 +00:00
Andrew Johnson
2079c128d5 Cleanup of epicsThreadPrivate stuff, remove unnecessary code. 2008-03-28 22:35:48 +00:00
Andrew Johnson
87c4db7e4d Moved condWait() into conditional compilation area where it's used. 2008-03-17 22:18:25 +00:00
Andrew Johnson
3a40dddccb Give up trying to calculat epicsEpochOffset, which is a constant.
Also fixed incorrect NTP timescale conversion constant.
2008-03-14 20:50:39 +00:00
Andrew Johnson
91cdaf7cca Fixed warnings on 64-bit platforms. 2008-01-04 21:32:19 +00:00
Andrew Johnson
b0c0ab77ac Reduce initial size of expanded string. 2008-01-04 17:07:30 +00:00
Andrew Johnson
7cf188ff61 Fix issues when char is signed. 2008-01-04 16:52:15 +00:00
W. Eric Norum
3722db6db7 Get types. 2007-12-17 21:23:26 +00:00
W. Eric Norum
1c89724137 Use new configuration entries. 2007-12-17 21:05:20 +00:00
W. Eric Norum
b6479e4e38 RTEMS internals have changed slightly. 2007-12-17 20:50:24 +00:00
W. Eric Norum
5e87e645e0 Use standard types. 2007-12-17 19:47:51 +00:00
W. Eric Norum
9cb7a7a339 Use standard types -- new versions of RTEMS will be drop the rtems_xxx types. 2007-12-17 18:43:59 +00:00
Andrew Johnson
3fa2a79f4f Move static command structures to file scope, needed for vxWorks-x86 targets. 2007-11-27 17:57:25 +00:00
Andrew Johnson
6580220e37 Introduce new header epicsEndian.h which allows C code to find out the
platform's byte order (osiWireFormat.h is C++ only).
2007-11-14 21:59:59 +00:00
Andrew Johnson
0e723c8185 Introduce new header epicsEndian.h which allows C code to find out the
platform's byte order (osiWireFormat.h is C++ only).
2007-11-13 23:46:53 +00:00
Andrew Johnson
54ce8fbdbe Fixed Mantis #290. 2007-11-13 23:27:35 +00:00
Andrew Johnson
4b7d838b20 Replaced epoch offset calculation, fixes problem on vxWorks. 2007-11-13 22:54:20 +00:00