Commit Graph

114 Commits

Author SHA1 Message Date
Andrew Johnson 6cb9a3f7c1 iocInit: Added some database sanity checks to iocIInit
Two menus can get modified by users; these checks make sure they
haven't been damaged too much:

* menuConvert is checked to flag problems with IOCs converted from
  3.13.x, where the SLOPE choice didn't exist.
* menuScan is checked to ensure the three initial choices are still
  present and that there is at least one periodic scan rate.
2011-09-26 16:42:15 -05:00
Andrew Johnson 35b72b60fb shutdown: Lock records during dbCa link cleanup
CA links in records were being removed without locking them first.
We also now set the link type to CONSTANT, which prevents some
assertion failures if the record gets processed again before the
IOC finally dies.
2011-08-17 15:08:10 -05:00
Andrew Johnson fbda9f3280 RCS keyword updates for Bazaar
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00
Dirk Zimoch dd04abbc1c added aai/aao soft support 2010-05-27 06:23:07 -07:00
Andrew Johnson 68dbf8addd Added PINI values RUNNING and PAUSED, needed for Asyn. 2009-07-02 20:05:32 +00:00
Andrew Johnson 5a5e2d8f74 Solve extended device support registration issue across shared libraries. 2009-06-10 20:19:32 +00:00
Andrew Johnson c13dc77564 Make PINI field into its own menu, adding RUN and PAUSE choices. 2009-04-23 20:35:02 +00:00
Andrew Johnson 8015df9e1f Added new initHook states for iocPause and iocRun commands.
Added a mutex to protect the initHook.c routines.
2009-04-16 18:38:20 +00:00
Andrew Johnson 88971886c5 PINI Processing support for PHAS. 2009-04-02 14:11:27 +00:00
Janet B. Anderson 3d588b13fc Changed LIBSRCS to LIB_SRCS. 2009-03-11 18:51:25 +00:00
Andrew Johnson 41abccccf9 Added optional dlload command. 2009-02-27 23:29:08 +00:00
Andrew Johnson e155dd411e Added dynamic parts of record alias implementation. 2009-01-16 20:50:40 +00:00
Andrew Johnson 0108f6ae94 Cleanup; minimize variable scopes. 2009-01-06 23:32:32 +00:00
Andrew Johnson 76c9329b5e Moved interruptAccept management into scanPause/scanRun functions. 2009-01-06 23:22:28 +00:00
Andrew Johnson ee16b09819 Add epicsShareExtern declaration to fix cygwin build. 2008-08-19 20:06:11 +00:00
Andrew Johnson ee634be0e5 Added the aSub record type, derived from Andy Foster's genSub. 2008-08-14 20:41:05 +00:00
Janet B. Anderson ef1cd5faf5 RCS files now used for all cygwin and mingw builds. 2008-08-06 16:44:16 +00:00
Janet B. Anderson 519b33e4fb Changes for shared library build using MinGW compiler on win32. 2008-07-29 21:11:56 +00:00
Janet B. Anderson 4c96a3bb10 Added epicsShareFunc where necessary for win32 builds. 2008-07-21 14:27:21 +00:00
Andrew Johnson c9bc70bd6a Added iocBuild, iocPause and iocRun commands.
These are mainly for redundant IOCs, but may be useful elsewhere.
iocBuild prepares the IOC and freezes it just before it goes live.
A subsequent iocRun kicks it into life, or restarts it when paused.
iocPause freezes all scan tasks and disconnects the server.
2008-07-09 21:31:56 +00:00
Andrew Johnson 51800996b0 Fixed generalTime initialization issues (RTEMS incomplete). 2008-05-09 14:24:04 +00:00
Ralph Lange b8f613881b iocInit() installs a signal handler that ignores SIGHUP 2008-04-17 19:52:23 +00:00
Andrew Johnson 7c0897f058 Added dbBptNotMonotonic, disables checking slope of breaktables. 2007-08-13 15:27:31 +00:00
Andrew Johnson 8ba19206c2 Added system.dbd which contains the registrar for the system command.
Include this in the softIoc.
2007-04-12 18:54:04 +00:00
Andrew Johnson 70cc7eaab9 Reorganized iocsh command registration to untangle the build order.
The iocsh core is now part of libCom, and commands are registered locally
with a Register routine for each IOC library.
2007-03-13 17:54:23 +00:00
Andrew Johnson 196f107432 Breakpoint initialization and cleanup. 2006-12-19 16:29:38 +00:00
Andrew Johnson ecac0269dd Stop "warning: `id' defined but not used" messages from gcc -- use a char[]
instead of a char* and they go away!
2006-11-16 19:32:13 +00:00
Janet B. Anderson 147e21b71f Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:42:40 +00:00
Andrew Johnson 12727edb36 Extended Device Support interface. 2005-10-31 20:54:10 +00:00
Andrew Johnson 7f704693aa Make the dbRecordsOnceOnly variable visible in all IOC architectures. 2005-08-29 19:14:13 +00:00
Marty Kraimer b4f40d0011 epicsStdioRedirect 2004-08-27 16:20:09 +00:00
Marty Kraimer f54d1ca30a epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 13:35:35 +00:00
Marty Kraimer b4715368d7 epicsThreadSetOkToBlock 2004-07-12 13:08:43 +00:00
Andrew Johnson 7c34b847e0 Removed spectrumRecord. 2004-03-23 22:09:58 +00:00
Marty Kraimer 2ef8d4b21a add asCaDebug variable 2004-02-13 18:54:14 +00:00
Jeff Hill d6c0e9dcc5 installed spectrum record 2004-02-10 21:46:53 +00:00
Janet B. Anderson de70a70b1b Added COMPAT_313 macro for building/installing R3.13 compatability files. 2004-01-13 16:15:05 +00:00
Marty Kraimer fdd78eaf81 support for dbCaPutCallback 2003-12-16 20:05:17 +00:00
Marty Kraimer 9d57a77d90 issue message if FLNK is CA and doesnt access .PROC 2003-12-05 13:55:52 +00:00
Andrew Johnson e967392227 Removed device entries from base.dbd into their own .dbd files.
Devices for TestAsyn support are not included by base.dbd, but have
their own devTestAsyn.dbd file if required.
2003-08-11 22:22:39 +00:00
Marty Kraimer ef3a3629a5 add device for Test Asyn 2003-04-08 15:24:23 +00:00
Marty Kraimer 7ec63f6034 changes for epicsExport 2003-04-01 21:06:49 +00:00
Janet B. Anderson bd53d21bd9 Changed recIoc library to rsrvIoc. 2003-03-31 17:10:10 +00:00
Marty Kraimer 927446c261 Makefile changes so that rec and dev build on win32 2003-03-31 14:04:49 +00:00
Marty Kraimer 37338038df fix epicsShare decoration 2003-03-27 15:00:33 +00:00
Marty Kraimer 0ddf9a3039 remove epicsShareFunc 2003-03-26 20:10:47 +00:00
Marty Kraimer 3050b73084 use new method to register asSub functions 2003-03-26 14:04:19 +00:00
Marty Kraimer 19adb1a419 Use new technique to register sub functions 2003-03-26 13:28:08 +00:00
Janet B. Anderson 6021e84957 Changes for shared libraries and os consistancy. 2003-03-18 22:45:03 +00:00
Andrew Johnson a1f332be01 Moved base.dbd from both makeBaseApp templates into src/misc.
An application only needs a copy if it wants to remove stuff.
2003-02-11 23:25:11 +00:00