Commit Graph

9061 Commits

Author SHA1 Message Date
Andrew Johnson
ab7011a214 Fixes for IOCs on 64-bit platforms.
empty string to char conversions now produce 0, not '0'.
Record types ANSIfied by John Hammonds.
2008-07-01 16:49:08 +00:00
Andrew Johnson
5146b46fc3 Move cap5 after softIoc. 2008-07-01 16:41:07 +00:00
Andrew Johnson
f21ec43560 Added Perl5 interface to CA. Not tested on Windows... 2008-06-27 22:19:30 +00:00
Andrew Johnson
7e120e3388 Don't register the hook more than once. 2008-06-25 16:49:13 +00:00
Andrew Johnson
c97214d4d2 Added initTrace command to exampleApp, registers a verbose initHook. 2008-06-24 21:49:57 +00:00
Andrew Johnson
df39142335 epicsThreadOnceOsd() must unlock mutex before calling func().
Required so callbackInit() can wait for its threads to start.
2008-06-24 20:59:55 +00:00
Andrew Johnson
13922ddd8d Added hint to run RegisterDeviceDriver(). 2008-06-23 22:33:30 +00:00
Andrew Johnson
e0e3053b36 Cleanup after fix for Mantis #314. 2008-06-13 15:32:05 +00:00
Andrew Johnson
3a36b75c01 No special_linconv method needed in DSET, reduce number to 5.
Fixes Mantis #314.
2008-06-13 15:20:40 +00:00
Andrew Johnson
3be3203377 Convert Inf and NaN values properly. 2008-06-12 22:44:16 +00:00
Janet B. Anderson
eb37f08df2 RM definition has the -f option. 2008-06-11 20:50:17 +00:00
Andrew Johnson
becb4378d4 Make epicsTimeGetCurrent and epicsTimeGetEvent with epicsShareAPI
for backwards-compatibility reasons (someone may need this).
2008-06-11 18:56:25 +00:00
Andrew Johnson
556bab5ffe Added initHookName() function.
Use epicsThreadOnce() for lazy init.
2008-06-11 14:50:40 +00:00
Andrew Johnson
ec06e418b9 Change startup/shutdown slightly. 2008-06-09 18:25:36 +00:00
Andrew Johnson
5a0bed0407 Call cantProceed() if taskwd task fails to start. 2008-06-09 18:10:47 +00:00
W. Eric Norum
b88a1c685e Clean up stack size specification. 2008-06-06 17:41:56 +00:00
Andrew Johnson
3a202cafda Comment. 2008-06-06 14:33:27 +00:00
Andrew Johnson
ad5760f61a Remove duplicate null DSXT layer. 2008-06-06 14:29:37 +00:00
Andrew Johnson
e21bf9d9f1 Fixed bug in dbPutFieldLink: Couldn't change INP/OUT field of any record
type that has no registered device support, whereas we should treat this
field just as any other non-device link field.
2008-06-05 22:06:58 +00:00
Andrew Johnson
fdbb48af4f Oops, missed a few bits... 2008-06-04 20:08:20 +00:00
Andrew Johnson
048e840928 Oops, missed a few bits... 2008-06-04 19:54:15 +00:00
Andrew Johnson
45bfa63a7d static putSpecial() => public dbPutSpecial() for redundancy use. 2008-06-03 22:40:10 +00:00
Andrew Johnson
0a17bfc12a Made 'dbcar' output much easier to understand. 2008-06-03 21:21:29 +00:00
Andrew Johnson
86bea94113 Change #! line, perl is rarely in /usr/local nowadays. 2008-05-28 20:55:40 +00:00
Andrew Johnson
8c9e5f63e5 Include generalTimeSup.h. 2008-05-27 14:15:39 +00:00
Andrew Johnson
7720ea696e Oops. 2008-05-22 20:24:52 +00:00
Andrew Johnson
363080071c Fix build issues on vxWorks. 2008-05-22 20:19:34 +00:00
Andrew Johnson
1ed5eb1ad1 Major reworking of the task watchdog implementation:
* Added new monitoring API with insert and remove callbacks; the old API is
  still supported though.
* Added report routine, callable from iocsh.
* taskwdInsert() can take a NULL tid, meaning the calling thread.
2008-05-22 17:54:19 +00:00
Andrew Johnson
797df775d0 void *asp => struct *.
Removed some casts and cleaned up 'type-punned pointer' warnings.
2008-05-21 17:46:02 +00:00
Andrew Johnson
0363341826 Remove duplicate taskwdInsert() call for the CAS-UDP task. 2008-05-20 17:45:18 +00:00
Andrew Johnson
4831cf2421 Changed static consts to #defines, so C code can use in static initializers. 2008-05-19 14:26:49 +00:00
Andrew Johnson
06d11b736a Cleanup, rework shutdown mechanism. 2008-05-15 17:41:02 +00:00
Andrew Johnson
24edb594cc Included vxWorks.h, needed for vxWorks 6.6. 2008-05-15 14:25:28 +00:00
Andrew Johnson
975c5ae4c6 General Time cleanup. 2008-05-14 18:42:26 +00:00
W. Eric Norum
a55eedd3f3 Enable collection of malloc statistics. 2008-05-13 20:42:41 +00:00
Andrew Johnson
9f8ee2d166 Make callback tasks shut down nicely. 2008-05-12 20:40:49 +00:00
Andrew Johnson
500f22cd37 Allow "Soft Timestamp" device address changes at runtime. 2008-05-12 20:09:11 +00:00
Andrew Johnson
4ad26bfb12 Added -x option to load softIocExit.db. 2008-05-12 17:31:27 +00:00
Andrew Johnson
99f8eede0b const arguments to dbLoadRecords and dbLoadDatabase. 2008-05-12 16:48:31 +00:00
W. Eric Norum
00f4582478 Fix typo -- allow building on case-sensitive file systems. 2008-05-12 00:23:42 +00:00
W. Eric Norum
e40ef4996a Fix up free space calculation. 2008-05-11 21:28:55 +00:00
W. Eric Norum
12a5014193 Use more efficient mechanism for determining free space. 2008-05-11 20:18:01 +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
W. Eric Norum
3cca2c745b Clean up some warnings.
Use new general time registration.
2008-05-09 15:28:15 +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