diff --git a/Copyright.HZB b/Copyright.HZB deleted file mode 100644 index 9cf601adbd215633fe18bdd9e02ed39ebbc8efb9..0000000000000000000000000000000000000000 --- a/Copyright.HZB +++ /dev/null @@ -1,25 +0,0 @@ -This software is copyrighted by the HELMHOLTZ-ZENTRUM BERLIN FUER -MATERIALIEN UND ENERGIE G.M.B.H., BERLIN, GERMANY (HZB). -The following terms apply to all files associated with the -software. - -HZB hereby grants permission to use, copy, and modify this -software and its documentation for non-commercial educational or -research purposes, provided that existing copyright notices are -retained in all copies. - -The receiver of the software provides HZB with all enhancements, -including complete translations, made by the receiver. - -IN NO EVENT SHALL HZB BE LIABLE TO ANY PARTY FOR DIRECT, -INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY -DERIVATIVES THEREOF, EVEN IF HZB HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - -HZB SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR -A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS -PROVIDED ON AN "AS IS" BASIS, AND HZB HAS NO OBLIGATION TO -PROVIDE MAlNTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR -MODIFICATIONS. diff --git a/HEADER b/HEADER new file mode 100644 index 0000000000000000000000000000000000000000..d22d9474027626f4ab7c22ffb9843a1b8bda3f5e --- /dev/null +++ b/HEADER @@ -0,0 +1,12 @@ +/*************************************************************************\ +Copyright (c) 1989-1994 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + +\*************************************************************************/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..8ea2c947384c3e59b294d2306b660c964a45cf9b --- /dev/null +++ b/LICENSE @@ -0,0 +1,72 @@ +Copyright (c) 1989-1994 The Regents of the University of California + and the University of Chicago Board of Governors. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) + +All rights reserved. + +The EPICS Sequencer is distributed subject to the following license conditions: + + SOFTWARE LICENSE AGREEMENT + Software: EPICS Sequencer + + 1. The "Software", below, refers to EPICS Sequencer (in either source code, or + binary form and accompanying documentation). Each licensee is + addressed as "you" or "Licensee." + + 2. The copyright holders shown above and their third-party licensors + hereby grant Licensee a royalty-free nonexclusive license, subject to + the limitations stated herein and U.S. Government license rights. + + 3. You may modify and make a copy or copies of the Software for use + within your organization, if you meet the following conditions: + + a. Copies in source code must include the copyright notice and this + Software License Agreement. + b. Copies in binary form must include the copyright notice and this + Software License Agreement in the documentation and/or other + materials provided with the copy. + + 4. You may modify a copy or copies of the Software or any portion of it, + thus forming a work based on the Software, and distribute copies of + such work outside your organization, if you meet all of the following + conditions: + + a. Copies in source code must include the copyright notice and this + Software License Agreement; + b. Copies in binary form must include the copyright notice and this + Software License Agreement in the documentation and/or other + materials provided with the copy; + c. Modified copies and works based on the Software must carry + prominent notices stating that you changed specified portions of + the Software. + + 5. Portions of the Software resulted from work developed under a U.S. + Government contract and are subject to the following license: the + Government is granted for itself and others acting on its behalf a + paid-up, nonexclusive, irrevocable worldwide license in this computer + software to reproduce, prepare derivative works, and perform publicly + and display publicly. + + 6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY + OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE + UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR + EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME + ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, + OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE + SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT + THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE + OR THAT ANY ERRORS WILL BE CORRECTED. + + 7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR + THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT + OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL, + CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE, + INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY + REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF + CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR + OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE + POSSIBILITY OF SUCH LOSS OR DAMAGES. diff --git a/documentation/Coverpage.inc b/documentation/Coverpage.inc new file mode 100644 index 0000000000000000000000000000000000000000..855cbc19cfd42437cde1b447a3ba1a5d31037a25 --- /dev/null +++ b/documentation/Coverpage.inc @@ -0,0 +1,25 @@ +State Notation Language +and Sequencer Users Guide +Version 2.0 +(for EPICS release 3.13 and later) + +Manual Revision 1.9 (DRAFT) +February 18, 1998 +Written by Andy Kozubal +Instrumentation and Control Group +Dynamic Experimentation Division +Mail Stop P942 +Los Alamos National Laboratory +Los Alamos, New Mexico 87545 +Phone: (505) 667-6508 +EMAIL: AKozubal@LANL.Gov + +Manual Revision 2.0 (DRAFT 3) +February15, 2000 +Updated by William Lupton +(with some material by Greg White) +W. M. Keck Observatory +65-1120 Mamalahoa Highway +Kamuela, Hawaii 96743 +Phone: (808) 885 7887 +EMAIL: WLupton@Keck.Hawaii.Edu diff --git a/documentation/Introduction.txt b/documentation/Introduction.txt index 5aff45df483ef5bddb5b7d75630bbca9a9b8b895..069be071047940bb255f8c500cf661878afa3988 100644 --- a/documentation/Introduction.txt +++ b/documentation/Introduction.txt @@ -19,52 +19,14 @@ Eric Norum, Janet Anderson, and Marty Kraimer (APS) made the initial port to EPICS 3.14 that led to the 2.0.x series. Eric Norum and Andrew Johnson (APS) provided lots of patches up to release 2.0.12. -Copyright ---------- +Copying and Distribution +------------------------ + +The EPICS Sequencer is distributed subject to a Software License +Agreement found in the file LICENSE that is included with this +distribution. -This software was produced under U.S. Government contract at Los Alamos -National Laboratory and at Argonne National Laboratory. The EPICS -software is copyright by the Regents of the University of California -and the University of Chicago. - -The original version of this documentation contained the following -sentence: "This document may be reproduced and distributed without -restrictions, provided it is reproduced in its entirety, including the -cover page." The reader may judge for himself how to fill this with -sense, considering that in the meantime the documentation has been -converted to reStructuredText, largely rewritten, restructured, and -automatically processed to generate web pages. - -Since Ben Franksen, employed by the Helmholtz-Zentrum Berlin f. -Materialien und Energie (HZB) made significant changes to the software -and documentation, the copyright is extended accordingly. This is -the standard disclaimer: - - This software is copyrighted by the HELMHOLTZ-ZENTRUM BERLIN FUER - MATERIALIEN UND ENERGIE G.M.B.H., BERLIN, GERMANY (HZB). - The following terms apply to all files associated with the - software. - - HZB hereby grants permission to use, copy, and modify this - software and its documentation for non-commercial educational or - research purposes, provided that existing copyright notices are - retained in all copies. - - The receiver of the software provides HZB with all enhancements, - including complete translations, made by the receiver. - - IN NO EVENT SHALL HZB BE LIABLE TO ANY PARTY FOR DIRECT, - INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING - OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY - DERIVATIVES THEREOF, EVEN IF HZB HAS BEEN ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - HZB SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR - A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS - PROVIDED ON AN "AS IS" BASIS, AND HZB HAS NO OBLIGATION TO - PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR - MODIFICATIONS. +.. include:: ../LICENSE Note on Versions ---------------- diff --git a/examples/demo/demo.st b/examples/demo/demo.st index 5bf8fd734f3f5bc53c986f87d46769890f41f5fc..2d2177648733bfae678876f805f6ce85b909749a 100644 --- a/examples/demo/demo.st +++ b/examples/demo/demo.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Demo EPICS sequence */ #define PRINTF errlogPrintf diff --git a/examples/demo/demoMain.c b/examples/demo/demoMain.c index 1e43e9c96f53299223ab8adea1f5571379b12e48..88c0d7a481eef60a59fbbc10523ef7ae8dc190dc 100644 --- a/examples/demo/demoMain.c +++ b/examples/demo/demoMain.c @@ -1,12 +1,11 @@ -/* demoMain.c */ +/*************************************************************************\ +Copyright (c) 1990-1994 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Author: Marty Kraimer Date: 17MAR2000 */ - -/********************COPYRIGHT NOTIFICATION********************************** -This software was developed under a United States Government license -described on the COPYRIGHT_UniversityOfChicago file included as part -of this distribution. -****************************************************************************/ - /* * Main program for demo sequencer */ diff --git a/examples/johng/johng.st b/examples/johng/johng.st index 2aeff1527af673be2b38b0311e928c4eadc05e74..f7854c6d8cd4e57328952b08bd3f1fc2dc72ead6 100644 --- a/examples/johng/johng.st +++ b/examples/johng/johng.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Demo Unix/KTL EPICS sequencer for John G (doesn't do anything useful) */ /* select KTL message system */ diff --git a/examples/keck/etcSeq.st b/examples/keck/etcSeq.st index 78f53f9da4e74e998d09c4b586dd28f28919d297..4c9ef727aff1150570faa92f4745b740505c94d9 100644 --- a/examples/keck/etcSeq.st +++ b/examples/keck/etcSeq.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /*+***************************************************************************** Module: etcSeq.stpp diff --git a/examples/keck/pvload.c b/examples/keck/pvload.c index c284c365f2ae039f1bdc0b848dcf9b3276193494..51df95f4eaefdd1facc546d8233255b272e51f77 100644 --- a/examples/keck/pvload.c +++ b/examples/keck/pvload.c @@ -1,2 +1,6 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* dummy pvload */ int pvload() { return 0; } diff --git a/examples/keck/tcsSeq.st b/examples/keck/tcsSeq.st index 0aca649899ddc244a887bd4bfd21409386cdc4c0..ecceb341eef4a49497a1917ecd619797e2a054a0 100644 --- a/examples/keck/tcsSeq.st +++ b/examples/keck/tcsSeq.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /*+***************************************************************************** Module: tcsSeq.stpp diff --git a/examples/parallel/control.st b/examples/parallel/control.st index 182b569f5c33254a5da4a49427b7b165f9441a55..20b2936978bc0aa566f0c3b9de1f7cbe6411f553 100644 --- a/examples/parallel/control.st +++ b/examples/parallel/control.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Demo KTL EPICS sequence; illustrates and tests parallel control */ program control/* ("pvsys=ktl") */ diff --git a/examples/simple/sncExEntry.st b/examples/simple/sncExEntry.st index 045447194a8e82fbae382f60ef59a7272dc1adae..5276f0282ba2d14f1a2ebf4ecc939685b5fc8916 100644 --- a/examples/simple/sncExEntry.st +++ b/examples/simple/sncExEntry.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program snctest float v; assign v to "{user}:xxxExample"; diff --git a/examples/simple/sncExOpt.st b/examples/simple/sncExOpt.st index 0283c6df1885edf590c9bc4c9ca7f6417fe536ef..aca3e624b1eab243dd5370808df9d7e16b6a1031 100644 --- a/examples/simple/sncExOpt.st +++ b/examples/simple/sncExOpt.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program snctest float v; assign v to "{user}:xxxExample"; diff --git a/examples/simple/sncExample.st b/examples/simple/sncExample.st index fdde6966f0c68c0ba2d0939b478edc94b121b78f..e8ae338816cc905e0dce5022f1f475f7e58c2010 100644 --- a/examples/simple/sncExample.st +++ b/examples/simple/sncExample.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program snctest option +r; float v; diff --git a/src/dev/devSequencer.c b/src/dev/devSequencer.c index 168e2ccaf15ea74bc0ed3a2a452658e1969bd848..15d097a8d7d3fb494566a12c9e24dc9a2b15f7e8 100644 --- a/src/dev/devSequencer.c +++ b/src/dev/devSequencer.c @@ -1,7 +1,7 @@ -/* Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*/ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Device support to permit database access to sequencer internals * * This is experimental only. Note the following: diff --git a/src/lemon/lemon.c b/src/lemon/lemon.c index a89925a35224c1fdd8d79b83e53288494c8d1528..b10f644a5c0bbc19194563ae6dc71c2923e67dcd 100644 --- a/src/lemon/lemon.c +++ b/src/lemon/lemon.c @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* ** This file contains all sources (including headers) to the LEMON ** LALR(1) parser generator. The sources have been combined into a diff --git a/src/pv/pv.h b/src/pv/pv.h index 1719acce19d5923a46a3ab03890b5ccbadcb2ebe..154ebb107953c45a9e95b6d408683544dc72fc2e 100644 --- a/src/pv/pv.h +++ b/src/pv/pv.h @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for EPICS sequencer message system-independent library (pv) * (NB, "pv" = "process variable"). * diff --git a/src/pv/pvAlarm.h b/src/pv/pvAlarm.h index 39eed4f7e548d1ddd301c339d770f3f6cfc3e6db..ac13bfcad3acb146acb48d5fff5e561dbb6071ec 100644 --- a/src/pv/pvAlarm.h +++ b/src/pv/pvAlarm.h @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for EPICS sequencer message system-independent status and * severity (alarms). * diff --git a/src/pv/pvCa.h b/src/pv/pvCa.h index a795dd0b3bf8e1f268de0c20376a6bd019136ebe..bc18d86adf9b9bbb8bb4e520dbb1b403959d95dc 100644 --- a/src/pv/pvCa.h +++ b/src/pv/pvCa.h @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for EPICS sequencer CA library (pvCa) * * William Lupton, W. M. Keck Observatory diff --git a/src/pv/pvFile.h b/src/pv/pvFile.h index d9c565ac9a631bc51144676940d4b6ec158a3458..94418cb0345c464eef51e31b40be16afaea0baa7 100644 --- a/src/pv/pvFile.h +++ b/src/pv/pvFile.h @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for demonstration EPICS sequencer file library (pvFile) * * William Lupton, W. M. Keck Observatory diff --git a/src/pv/pvKtl.h b/src/pv/pvKtl.h index f5ba5e1e955b3dbe416f17a79acba94ef8c5837a..ae9b9c8c6f96175ee0c2e2801f700241c5847c09 100644 --- a/src/pv/pvKtl.h +++ b/src/pv/pvKtl.h @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for EPICS sequencer KTL library (pvKtl) * * William Lupton, W. M. Keck Observatory diff --git a/src/pv/pvKtlCnv.h b/src/pv/pvKtlCnv.h index 77974aa852edcfa46fbd22e3ab625cabdea45945..3b71484dc23a6f9c2c40a23ff542789c821e2d57 100644 --- a/src/pv/pvKtlCnv.h +++ b/src/pv/pvKtlCnv.h @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for EPICS sequencer KTL type conversion (pvKtlCnv) * * Uses large amounts of code from the cdevData class diff --git a/src/pv/pvType.h b/src/pv/pvType.h index 21004bc1142fa0b0ca886246d346713771f80f83..8fc0d57010c7e5ddde8df0d6af9301ba0f6f16b6 100644 --- a/src/pv/pvType.h +++ b/src/pv/pvType.h @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for EPICS sequencer message system-independent types. * * William Lupton, W. M. Keck Observatory diff --git a/src/seq/seq.h b/src/seq/seq.h index 0a496980b6c86b43d8e9f9e42cfc0d99e92f2568..db089565f0a6e164b8e259648e27b84bd63319a5 100644 --- a/src/seq/seq.h +++ b/src/seq/seq.h @@ -1,3 +1,12 @@ +/*************************************************************************\ +Copyright (c) 1991-1993 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Definitions for the run-time sequencer * * Author: Andy Kozubal @@ -5,9 +14,6 @@ * * Experimental Physics and Industrial Control System (EPICS) * - * Copyright 1991,2,3, the Regents of the University of California, - * and the University of Chicago Board of Governors. - * * This software was produced under U.S. Government contracts: * (W-7405-ENG-36) at the Los Alamos National Laboratory, * and (W-31-109-ENG-38) at Argonne National Laboratory. diff --git a/src/seq/seqCom.h b/src/seq/seqCom.h index 07f56abf198ef38d0926eedc92d90cf3a6b552ef..f47f3ada47ba434abb3a209b562d43197de9fb3c 100644 --- a/src/seq/seqCom.h +++ b/src/seq/seqCom.h @@ -1,3 +1,12 @@ +/*************************************************************************\ +Copyright (c) 1993 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* External interface to the sequencer run-time library * * Author: Andy Kozubal @@ -5,13 +14,6 @@ * * Experimental Physics and Industrial Control System (EPICS) * - * Copyright 1993 the Regents of the University of California, - * and the University of Chicago Board of Governors. - * - * Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - * und Energie GmbH, Germany (HZB) - * (see file Copyright.HZB included in this distribution) - * * This software was produced under U.S. Government contracts: * (W-7405-ENG-36) at the Los Alamos National Laboratory, * and (W-31-109-ENG-38) at Argonne National Laboratory. diff --git a/src/seq/seqPvt.h b/src/seq/seqPvt.h index 26fd5bbdb3f879cf923f2afbc5f511f7b2a85589..f312be48eee3a926d6f5873c0f1695639ee35c6b 100644 --- a/src/seq/seqPvt.h +++ b/src/seq/seqPvt.h @@ -1,3 +1,12 @@ +/*************************************************************************\ +Copyright (c) 1991-1993 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Internal common definitions for the run-time sequencer library * * Author: Andy Kozubal @@ -5,13 +14,6 @@ * * Experimental Physics and Industrial Control System (EPICS) * - * Copyright 1991,2,3, the Regents of the University of California, - * and the University of Chicago Board of Governors. - * - * Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - * und Energie GmbH, Germany (HZB) - * (see file Copyright.HZB included in this distribution) - * * This software was produced under U.S. Government contracts: * (W-7405-ENG-36) at the Los Alamos National Laboratory, * and (W-31-109-ENG-38) at Argonne National Laboratory. diff --git a/src/seq/seq_ca.c b/src/seq/seq_ca.c index 898c2d4f0cc30accf6e0699bf6d7902147ad5bf3..d70058a15b0d04573f30c5ccab743248fcd9746e 100644 --- a/src/seq/seq_ca.c +++ b/src/seq/seq_ca.c @@ -1,3 +1,12 @@ +/*************************************************************************\ +Copyright (c) 1991-1994 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Process Variable interface for sequencer. * * Author: Andy Kozubal @@ -5,13 +14,6 @@ * * Experimental Physics and Industrial Control System (EPICS) * - * Copyright 1991-1994, the Regents of the University of California, - * and the University of Chicago Board of Governors. - * - * Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - * und Energie GmbH, Germany (HZB) - * (see file Copyright.HZB included in this distribution) - * * This software was produced under U.S. Government contracts: * (W-7405-ENG-36) at the Los Alamos National Laboratory, * and (W-31-109-ENG-38) at Argonne National Laboratory. diff --git a/src/seq/seq_cmd.c b/src/seq/seq_cmd.c index 285c12adc5454d8e414905c403b249b53d2670a2..e14d3eba40e3a38c57cbff1a265e0794617afeed 100644 --- a/src/seq/seq_cmd.c +++ b/src/seq/seq_cmd.c @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* EPICS sequencer commands * * Author: Eric Norum @@ -10,11 +16,6 @@ * University of Saskatchewan * Saskatoon, Saskatchewan, CANADA * cls.usask.ca - * - * Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - * und Energie GmbH, Germany (HZB) - * (see file Copyright.HZB included in this distribution) - * */ #include "seq.h" diff --git a/src/seq/seq_debug.h b/src/seq/seq_debug.h index 387fede39e92fb1fc0dc6ada086d16f471e509ec..27e445aaa3d890bad776c0b1016ff55e2ce5e9e0 100644 --- a/src/seq/seq_debug.h +++ b/src/seq/seq_debug.h @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #ifndef INCLseq_debugh #define INCLseq_debugh diff --git a/src/seq/seq_if.c b/src/seq/seq_if.c index a3be09c1fbdfe2c630b1107baa11f3b52aa4ec2f..02ebe207ad4ada6a8818873b7280801547cff9e5 100644 --- a/src/seq/seq_if.c +++ b/src/seq/seq_if.c @@ -1,3 +1,12 @@ +/*************************************************************************\ +Copyright (c) 1991-1994 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Interface functions from state program to run-time sequencer. * * Author: Andy Kozubal @@ -5,13 +14,6 @@ * * Experimental Physics and Industrial Control System (EPICS) * - * Copyright 1991-1994, the Regents of the University of California, - * and the University of Chicago Board of Governors. - * - * Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - * und Energie GmbH, Germany (HZB) - * (see file Copyright.HZB included in this distribution) - * * This software was produced under U.S. Government contracts: * (W-7405-ENG-36) at the Los Alamos National Laboratory, * and (W-31-109-ENG-38) at Argonne National Laboratory. diff --git a/src/seq/seq_mac.c b/src/seq/seq_mac.c index 9bc8b903cb5aafcf94b058bc9c589af91451a0c5..dc69bf5c441bdabfbb76c91709cb4e39e81b0f21 100644 --- a/src/seq/seq_mac.c +++ b/src/seq/seq_mac.c @@ -1,17 +1,17 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) - - Macro routines for Sequencer. - The macro table contains name & value pairs. These are both pointers - to strings. - TODO: Get rid of this and use the macLib from EPICS base. -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Macro routines for Sequencer + +TODO: Get rid of this and use the macLib from EPICS base. +\*************************************************************************/ #include "seq.h" #include "seq_debug.h" diff --git a/src/seq/seq_main.c b/src/seq/seq_main.c index c1af4e78f3addd80c5da3bf5e2fdd00bb936dc44..c26adfa71b3354deb742dcab334d69fe3e96850b 100644 --- a/src/seq/seq_main.c +++ b/src/seq/seq_main.c @@ -1,13 +1,12 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990-1994, The Regents of the University of California - and the University of Chicago. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990-1994 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #include "seq.h" #include "seq_debug.h" diff --git a/src/seq/seq_prog.c b/src/seq/seq_prog.c index 2ef9c2160bde4da7e182999fb7b95b2f30f051bd..1457fdb552705ca33cda239a05f3604cf43c6ca0 100644 --- a/src/seq/seq_prog.c +++ b/src/seq/seq_prog.c @@ -1,16 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1991, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) - - State program list management functions. - All active state programs are inserted into the list when created - and removed from the list when deleted. -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1991 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Program list management +\*************************************************************************/ #include "seq.h" #include "seq_debug.h" diff --git a/src/seq/seq_qry.c b/src/seq/seq_qry.c index 993c98b1302196643870c42a3adfd86f9b3b1a0e..574ea9f1fab441b4b7d87f5b0e7eea5c3a2d0eab 100644 --- a/src/seq/seq_qry.c +++ b/src/seq/seq_qry.c @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990-1994, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) - - Task query & debug routines for run-time sequencer -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990-1994 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Task query & debug routines for run-time sequencer +\*************************************************************************/ #include "seq.h" static int userInput(void); diff --git a/src/seq/seq_queue.c b/src/seq/seq_queue.c index 3fd600babdee5b87c2167f924854d2135bae67b8..d8d4c278bd93c55948d5c1ed347619ad73f26505 100644 --- a/src/seq/seq_queue.c +++ b/src/seq/seq_queue.c @@ -1,6 +1,9 @@ -/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH - (see file Copyright.HZB included in this distribution) -*/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #include "seq.h" #include "seq_debug.h" diff --git a/src/seq/seq_queue.h b/src/seq/seq_queue.h index 7f3e0a1e266f4a3d47f07a5d88562dc0a6cd2ffd..9f1c72a5077e8cac1cca630d8730033f00827daa 100644 --- a/src/seq/seq_queue.h +++ b/src/seq/seq_queue.h @@ -1,15 +1,19 @@ -/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH - (see file Copyright.HZB included in this distribution) -*/ -/* This module implements fifo queues, similar to and inspired by - epicsRingBytes, but with a fixed element size and such that a put - overwrites the last element if the queue is full. Put and get - operations always work on a single element. - - The implementation allows one reader and one writer to access the queue - without taking a mutex, except where unavoidable, i.e. when the queue is - full. -*/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ +This module implements fifo queues, similar to and inspired by +epicsRingBytes, but with a fixed element size and such that a put +overwrites the last element if the queue is full. Put and get +operations always work on a single element. + +The implementation allows one reader and one writer to access the queue +without taking a mutex, except where unavoidable, i.e. when the queue is +full. +\*************************************************************************/ #ifndef INCLseq_queueh #define INCLseq_queueh diff --git a/src/seq/seq_task.c b/src/seq/seq_task.c index ba87d75cc4b073c3ebd184850b3e4e39e38b7886..b42922378f6740eb4da0a12938c8e9362b6c4fbf 100644 --- a/src/seq/seq_task.c +++ b/src/seq/seq_task.c @@ -1,16 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990-1994 - The Regents of the University of California and - the University of Chicago. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) - - Thread creation and control for sequencer state sets. -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990-1994 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Thread creation and control for sequencer state sets +\*************************************************************************/ #include "seq.h" #include "seq_debug.h" diff --git a/src/snc/analysis.c b/src/snc/analysis.c index 68e2d91ea230de6c28dedd55701a312519e865b1..574be0ed54d18ea983c36c24f259023395b122de 100644 --- a/src/snc/analysis.c +++ b/src/snc/analysis.c @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Analysis of parse tree -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Analysis of parse tree +\*************************************************************************/ #include <stdlib.h> #include <string.h> #include <limits.h> diff --git a/src/snc/analysis.h b/src/snc/analysis.h index b3304d0a8b4e99b2e35675261c856a4b3ce40c14..09a7c07706e8bb22ca77438d5d04d0046fb265f2 100644 --- a/src/snc/analysis.h +++ b/src/snc/analysis.h @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Analysis of parse tree -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Analysis of parse tree +\*************************************************************************/ #ifndef INCLanalysish #define INCLanalysish diff --git a/src/snc/expr.c b/src/snc/expr.c index 2fdc68cbab76f0e2208e19600fb512e7dd6eea4c..badf8b2c695120784604d884b54a38fee62a75b2 100644 --- a/src/snc/expr.c +++ b/src/snc/expr.c @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Parser support routines -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Parser support routines +\*************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/snc/expr.h b/src/snc/expr.h index 349d65cdfe20331702ad4e82b874aa3320a26d15..5d3b8475c236f625bb7e68c2ce5e3bbc0659e3c0 100644 --- a/src/snc/expr.h +++ b/src/snc/expr.h @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1989-93, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Parser support routines -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1989-1993 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Parser support routines +\*************************************************************************/ #ifndef INCLparseh #define INCLparseh diff --git a/src/snc/gen_code.c b/src/snc/gen_code.c index 004fadaa9629de9d95f45d445f9e79b3ddf60a73..dca8f598a209ad6b3f4424b7825ac122588d48ea 100644 --- a/src/snc/gen_code.c +++ b/src/snc/gen_code.c @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Code generation -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Code generation +\*************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/snc/gen_code.h b/src/snc/gen_code.h index 14cc0e6387ee3f4f3361e634eb0c5782d6ef8fed..666c377acb9cbb731f2a6ae66636fdbe551a5683 100644 --- a/src/snc/gen_code.h +++ b/src/snc/gen_code.h @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin für Materialien - und Energie GmbH, Berlin, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Code generation -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Code generation +\*************************************************************************/ #ifndef INCLgencodeh #define INCLgencodeh diff --git a/src/snc/gen_ss_code.c b/src/snc/gen_ss_code.c index 2061e3bf440ce9b7a7c59d991f9e427ad455373c..d593c71e3b26257cb6d657583cf673c38c8e2ea4 100644 --- a/src/snc/gen_ss_code.c +++ b/src/snc/gen_ss_code.c @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - State set code generation -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + State set code generation +\*************************************************************************/ #include <stdio.h> #include <string.h> #include <assert.h> diff --git a/src/snc/gen_ss_code.h b/src/snc/gen_ss_code.h index 058e44face82de9730d1c83a0fcc41f3d2ddb274..2b3ed2ddcea649b21d003ebc6adc95438dbe068e 100644 --- a/src/snc/gen_ss_code.h +++ b/src/snc/gen_ss_code.h @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - State set code generation -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + State set code generation +\*************************************************************************/ #ifndef INCLgensscodeh #define INCLgensscodeh diff --git a/src/snc/gen_tables.c b/src/snc/gen_tables.c index 4490e55940aee32944f4c569c1c26c2783d63a32..fd0fbd7ffbfc71d780de4ab86dc00d835e1a61f9 100644 --- a/src/snc/gen_tables.c +++ b/src/snc/gen_tables.c @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Generate tables for runtime sequencer -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Generate tables for runtime sequencer +\*************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/snc/gen_tables.h b/src/snc/gen_tables.h index af5144a778b7f9c7f706e94a06073a65d2c5db79..fbb9b48268e8c540e13e683c3138fb83f06c95de 100644 --- a/src/snc/gen_tables.h +++ b/src/snc/gen_tables.h @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Generate tables for runtime sequencer -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Generate tables for runtime sequencer +\*************************************************************************/ #ifndef INCLgentablesh #define INCLgentablesh diff --git a/src/snc/main.c b/src/snc/main.c index cbf0a2da7825bc9644a42bd066e29c9fb1ab34d9..f6f335033d6078d9467da5dbbf1e583e5994a729 100644 --- a/src/snc/main.c +++ b/src/snc/main.c @@ -1,14 +1,15 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1990, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Main program, reporting and printing procedures -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 1990 The Regents of the University of California + and the University of Chicago. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Main program, reporting and printing procedures +\*************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -22,7 +23,6 @@ #include <seqVersion.h> - static Options options = DEFAULT_OPTIONS; static char *in_file; /* input file name */ diff --git a/src/snc/main.h b/src/snc/main.h index 0a37840f54e031689f942fe9a8e7463d7d5623f0..350a0505ed9794f7051859402f0cc92839337032 100644 --- a/src/snc/main.h +++ b/src/snc/main.h @@ -1,9 +1,11 @@ -/************************************************************************** - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Various reporting and printing procedures +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Various reporting and printing procedures ***************************************************************************/ #ifndef INCLsncmainh #define INCLsncmainh diff --git a/src/snc/parser.h b/src/snc/parser.h index 90e224ce7a641d26e8a6df14e4aa908761398377..fc5b9bd35a2915bd65c592760ddd14097dc0df8c 100644 --- a/src/snc/parser.h +++ b/src/snc/parser.h @@ -1,10 +1,12 @@ -/************************************************************************** - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Interface to lemon generated parser -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Interface to lemon generated parser +\*************************************************************************/ #ifndef INCLparserh #define INCLparserh diff --git a/src/snc/seqMain.c b/src/snc/seqMain.c index 53e71464fd19f13d5c30fb8ad90f980cb9f6bf23..a4d8e32607a0c9883417449c965a7a2afa3cb9e8 100644 --- a/src/snc/seqMain.c +++ b/src/snc/seqMain.c @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Default main program */ #include "epicsThread.h" #include "iocsh.h" diff --git a/src/snc/snl.lem b/src/snc/snl.lem index 91e5d333fef0fb6597f335c84462a48180194ab0..e183e1b6cc9b869b91ed0135fb08309133195124 100644 --- a/src/snc/snl.lem +++ b/src/snc/snl.lem @@ -1,10 +1,12 @@ -/************************************************************************** - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Parser specification/implementation -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Parser specification/implementation +\*************************************************************************/ %include { #include <stdlib.h> #include <string.h> diff --git a/src/snc/snl.lt b/src/snc/snl.lt index c8bafc344729147a6d38a4467137e77b69eec985..5b47930fc2c364c4ebd09a7ebac677868a0b21ef 100644 --- a/src/snc/snl.lt +++ b/src/snc/snl.lt @@ -1,10 +1,9 @@ -/************************************************************************** - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Lemon parser template -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Driver template for the LEMON parser generator. ** The author disclaims copyright to this source code. */ diff --git a/src/snc/snl.re b/src/snc/snl.re index ea0e5a7db3e671db764567b3ec12245681102e41..7e07468d1fa7186b19861afa99518c2902602cf9 100644 --- a/src/snc/snl.re +++ b/src/snc/snl.re @@ -1,10 +1,12 @@ -/************************************************************************** - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Lexer specification/implementation -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Lexer specification/implementation +\*************************************************************************/ #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/src/snc/sym_table.c b/src/snc/sym_table.c index 15b909cdebf05c69c9cf5e2d8cfaf4552af34823..fd853ad99577c5d37cf2433f314f2c82eba02f66 100644 --- a/src/snc/sym_table.c +++ b/src/snc/sym_table.c @@ -1,10 +1,12 @@ -/************************************************************************** - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Symbol table -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Symbol table +\*************************************************************************/ #include <stdio.h> /* gpHash.h mentions FILE but does not include stdio */ #include <gpHash.h> #include <assert.h> diff --git a/src/snc/sym_table.h b/src/snc/sym_table.h index b9f511ae4fc7a1b79bfdd85d86d3a2ca406b0dc6..e512eb719f322fbf7820f0c5ca4c5e478cc5e25f 100644 --- a/src/snc/sym_table.h +++ b/src/snc/sym_table.h @@ -1,10 +1,12 @@ -/************************************************************************** - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** - Symbol table -***************************************************************************/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ + Symbol table +\*************************************************************************/ #ifndef INCLsymtableh #define INCLsymtableh diff --git a/src/snc/types.h b/src/snc/types.h index 06e07dffbd4b4deb5fbefd8228e4aadac64756ef..d4395f7c8a6b1e43513851cd147b09f1dcca41f8 100644 --- a/src/snc/types.h +++ b/src/snc/types.h @@ -1,14 +1,14 @@ -/************************************************************************** - GTA PROJECT AT division - Copyright, 1989-93, The Regents of the University of California. - Los Alamos National Laboratory - - Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien - und Energie GmbH, Germany (HZB) - (see file Copyright.HZB included in this distribution) -*************************************************************************** +/*************************************************************************\ +Copyright (c) 1989-1993 The Regents of the University of California. + Los Alamos National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +/*************************************************************************\ Common types, enumerations, and macros -***************************************************************************/ +\*************************************************************************/ #ifndef INCLtypesh #define INCLtypesh diff --git a/src/snc/var_types.c b/src/snc/var_types.c index 6767ca8dd12d86358931ebb6e7d6feac11c502af..f081d8ef64cdf5ebe05b4b94581f7b24fa1b59fc 100644 --- a/src/snc/var_types.c +++ b/src/snc/var_types.c @@ -1,7 +1,9 @@ -/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH - (see file Copyright.HZB included in this distribution) -*/ - +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #include <limits.h> #include <assert.h> #include <stdlib.h> diff --git a/src/snc/var_types.h b/src/snc/var_types.h index c9485d2b8e6709a9c4a143b652f9d5cdd4eae4c9..cc790ff7f54d2d98635fe75e150dae6c655f13a8 100644 --- a/src/snc/var_types.h +++ b/src/snc/var_types.h @@ -1,6 +1,9 @@ -/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH - (see file Copyright.HZB included in this distribution) -*/ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #ifndef INCLvar_typesh #define INCLvar_typesh diff --git a/test/compiler/efArray.st b/test/compiler/efArray.st index f8842de31f374ef0381b50b6ae360b01d735b701..d253c407c1f2bcb3ed19e0d251cc54b5b326e9fb 100644 --- a/test/compiler/efArray.st +++ b/test/compiler/efArray.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program efArrayTest evflag efa[3]; /* error: array of event flags */ diff --git a/test/compiler/efGlobal.st b/test/compiler/efGlobal.st index 704e70d83c5a660cc36ffb6d9f050d58755b5e4c..8f7430b1c3a22b40037b2d0d147851adda004159 100644 --- a/test/compiler/efGlobal.st +++ b/test/compiler/efGlobal.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program efGlobalTest ss x { diff --git a/test/compiler/efPointer.st b/test/compiler/efPointer.st index 6916cc929d9f0264213f9c9be9bd69103d95ae7f..b362679e9fcf5f8747674ba9239cde2185128bc1 100644 --- a/test/compiler/efPointer.st +++ b/test/compiler/efPointer.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program efPointerTest evflag *efp; /* error: pointer to event flag */ diff --git a/test/compiler/foreignGlobal.st b/test/compiler/foreignGlobal.st index 465f2bf7f4adc1a83b3ae76b0a5e5eca627c7dfd..c15576814ac63be295802a68fd4ac8a884d37201 100644 --- a/test/compiler/foreignGlobal.st +++ b/test/compiler/foreignGlobal.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program foreignGlobalTest ss x { diff --git a/test/compiler/misplacedExit.st b/test/compiler/misplacedExit.st index 77ae34aeb4f41353fdefe45bd69cb94f791d26c8..74e383804b7793b2baa5a3ac0c968c7df70a5a4a 100644 --- a/test/compiler/misplacedExit.st +++ b/test/compiler/misplacedExit.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program misplacedExitTest ss x { diff --git a/test/compiler/pvNotAssigned.st b/test/compiler/pvNotAssigned.st index 35209257020198b63848c8ef6e2165ad75a3749b..e4afef1f10d4b1e72112cf1e9a06fac1585bae6e 100644 --- a/test/compiler/pvNotAssigned.st +++ b/test/compiler/pvNotAssigned.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program pvNotAssigned int a; diff --git a/test/compiler/scope.st b/test/compiler/scope.st index ac4e8b9b512dbdec7cb07c211ce0460e16a9f4e8..3bf2719d354c7b80aef1b7b614d020d0932fc5d2 100644 --- a/test/compiler/scope.st +++ b/test/compiler/scope.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program scope int i, j; diff --git a/test/compiler/simple.st b/test/compiler/simple.st index df2ec0648adbe120b16541c0f00ab42eeb4d6687..c6067322e046900229f28057a529f1cf00db1b73 100644 --- a/test/compiler/simple.st +++ b/test/compiler/simple.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ ss simple { state simple { when () {} exit diff --git a/test/compiler/sncExOpt_DuplOpt.st b/test/compiler/sncExOpt_DuplOpt.st index 3f08c83207a0ad8f4f8310f115afa6b8b2c951c4..3af3c4497332f31c4eee786e4d8e6b01acfd04e7 100644 --- a/test/compiler/sncExOpt_DuplOpt.st +++ b/test/compiler/sncExOpt_DuplOpt.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program snctest float v; assign v to "grw:xxxExample"; diff --git a/test/compiler/sncExOpt_UnrecOpt.st b/test/compiler/sncExOpt_UnrecOpt.st index 8b1cf90c2fc15fca615cfa252b56e5bc9d3dbef9..8984c6e83db2dab5b236c1a6934ccf22cf171afc 100644 --- a/test/compiler/sncExOpt_UnrecOpt.st +++ b/test/compiler/sncExOpt_UnrecOpt.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program snctest float v; assign v to "grw:xxxExample"; diff --git a/test/compiler/syncq_no_size.st b/test/compiler/syncq_no_size.st index 1c73b3a2c19462466fba89b715541397fb73d373..f4747a6c14f6039fd3d42f4d89e2a691b798a2e6 100644 --- a/test/compiler/syncq_no_size.st +++ b/test/compiler/syncq_no_size.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program p int x; diff --git a/test/compiler/syncq_not_assigned.st b/test/compiler/syncq_not_assigned.st index 9b5118f0d2dfa82b77a184674988fe2704362946..0b86c02a553da9bea204d63cc1dccaaa06881528 100644 --- a/test/compiler/syncq_not_assigned.st +++ b/test/compiler/syncq_not_assigned.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program p int x; diff --git a/test/compiler/syncq_not_monitored.st b/test/compiler/syncq_not_monitored.st index 39e288223ee951c1f4d98a5f9a99263c559ef219..286bb58bdcbaaf41b0e0285026c5bcbbe712271a 100644 --- a/test/compiler/syncq_not_monitored.st +++ b/test/compiler/syncq_not_monitored.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program p int x; diff --git a/test/compiler/syncq_size_out_of_range.st b/test/compiler/syncq_size_out_of_range.st index ee4c9b24644d64fd1868112fbfb22aac87511855..6cbf1711479c5cb712ad3bfb24c17cc3289686c8 100644 --- a/test/compiler/syncq_size_out_of_range.st +++ b/test/compiler/syncq_size_out_of_range.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program p int x; diff --git a/test/compiler/tooLong.st b/test/compiler/tooLong.st index dc18a9e4a67d7734a547587b2038b1b07053318b..f8433daaad70d49619cdb501bab1b7e16537a446 100644 --- a/test/compiler/tooLong.st +++ b/test/compiler/tooLong.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* * Test proper rejection of variables whose type is too long * to allow faithfull representation in CA, i.e. 64 bit types. diff --git a/test/compiler/varinit.st b/test/compiler/varinit.st index dfcdf833427d936797ea59136e90af3d9236225b..b7fe7f201d0715fc61b28a97536486ea33bc8696 100644 --- a/test/compiler/varinit.st +++ b/test/compiler/varinit.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program varInitTest int x = 1; diff --git a/test/compiler/varinitOptr.st b/test/compiler/varinitOptr.st index e40db674a60c0c586d323619304e5cdadc67e3d2..8fb7bc659ef0d7afa10a2f143831aa8400b73bf1 100644 --- a/test/compiler/varinitOptr.st +++ b/test/compiler/varinitOptr.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program varInitOptrTest option +r; diff --git a/test/pv/pvsimpleC.c b/test/pv/pvsimpleC.c index 005672adbac6a031d28e8dfd8a6234ffe5d22bd8..bfbda6aba77d6583c655a750be2106de7a791bcf 100644 --- a/test/pv/pvsimpleC.c +++ b/test/pv/pvsimpleC.c @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Very simple C program to demonstrate pv classes */ #include <stdio.h> diff --git a/test/unit/queueTest.c b/test/unit/queueTest.c index 6494159b1dcd02b871de93eb654ebe0b1ece85d3..ea732e3893cfc32bc11042d5bafe97dca4ba144b 100644 --- a/test/unit/queueTest.c +++ b/test/unit/queueTest.c @@ -1,14 +1,13 @@ /*************************************************************************\ -* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne -* National Laboratory. -* Copyright (c) 2002 The Regents of the University of California, as -* Operator of Los Alamos National Laboratory. -* EPICS BASE is distributed subject to a Software License Agreement found -* in file LICENSE that is included with this distribution. +Copyright (c) 2002 The Regents of the University of California, as + Operator of Los Alamos National Laboratory. +Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne + National Laboratory. +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in file LICENSE that is included with this distribution. \*************************************************************************/ -/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH - (see file Copyright.HZB included in this distribution) -*/ #include "seq.h" #include "epicsThread.h" #include "epicsEvent.h" diff --git a/test/validate/array.st b/test/validate/array.st index bf289d67b4f1255a65459ddd1c787d6ef3e9edcb..0ace97fccb579d155bcedecafa6b5e5ce61f480b 100644 --- a/test/validate/array.st +++ b/test/validate/array.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program arrayTest %%#include "../testSupport.h" diff --git a/test/validate/assign.st b/test/validate/assign.st index 3f62c84377448f30507acac103c180a8f169da9b..0265acadac088694243b9acb76cab69764112e86 100644 --- a/test/validate/assign.st +++ b/test/validate/assign.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program assignTest %%#include "../testSupport.h" diff --git a/test/validate/bittypes.st b/test/validate/bittypes.st index 247b2ff2a913b3fbe1ab1847ee9832d1a07283df..86582f6d45ba65d15009fbbe245423075852a40a 100644 --- a/test/validate/bittypes.st +++ b/test/validate/bittypes.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program bittypesTest %%#include "../testSupport.h" diff --git a/test/validate/change.st b/test/validate/change.st index 31375b05c20ef379ededb3bdc8d29a3e4f3c95a2..0bed670bc7c2b86be21b442a6da7f7c7ad5b4a88 100644 --- a/test/validate/change.st +++ b/test/validate/change.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* Test state change statement */ program changeTest diff --git a/test/validate/ctest.c b/test/validate/ctest.c index f03968ebb2b28d156e64a508c938cba73804e5d7..59dacfab015e45bb979dda3b04be97bf008339a0 100644 --- a/test/validate/ctest.c +++ b/test/validate/ctest.c @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #include <stdio.h> typedef struct { diff --git a/test/validate/decl.st b/test/validate/decl.st index 58d6ac480a9d873fc9dee9fe17ed2c1c12d30d7c..2a587e57c6f3e4dddf43685107aea561def64d7f 100644 --- a/test/validate/decl.st +++ b/test/validate/decl.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program declTest %%#include <stdlib.h> diff --git a/test/validate/delay.st b/test/validate/delay.st index 6e8b123eb08da8ff93db7a70d9557c4c033cce56..94f4063b80ebb1079bd741d9e10c20b91f7e636b 100644 --- a/test/validate/delay.st +++ b/test/validate/delay.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program delayTest /* snc test program to demonstrate delay and state transition without using external events. diff --git a/test/validate/entry.st b/test/validate/entry.st index 4a638e29985639a3f039e56cdda4740d797d1172..ce5e0df77627315b24bc42bee507b29a814a6739 100644 --- a/test/validate/entry.st +++ b/test/validate/entry.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* snc test program to test entry and exit condition execution. */ program entryTest diff --git a/test/validate/entryOpte.st b/test/validate/entryOpte.st index b9c987f3abae4393cfd05ccc124813813ab288a2..49f43a923adec6916986bd4664d7c7e978a2b632 100644 --- a/test/validate/entryOpte.st +++ b/test/validate/entryOpte.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program entryOpteTest /* snc test program to test entry and exit condition execution, with -e * option. Test -e, that entry will be executed on each iteration. diff --git a/test/validate/entryVar.st b/test/validate/entryVar.st index 4ef9fb69ba86355e1cd95f4692052aaa0f28d88b..f2d4762b2675deede5fe7baa4d285307fca54270 100644 --- a/test/validate/entryVar.st +++ b/test/validate/entryVar.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program entryVarTest /* snc test program to test entry and exit condition execution, with CA * assignment and control of transition. diff --git a/test/validate/evflag.st b/test/validate/evflag.st index 609671eb292a1dd8f6df6a5c602756d61a508d6f..f1043e69edd9da8cfba956c3bd7c108ec2af6374 100644 --- a/test/validate/evflag.st +++ b/test/validate/evflag.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* * ss write: Put increasing numbers to (monitored and ef synced) PV, wait for reply, * then check sent and received are equal, then sleep a bit, check again, then diff --git a/test/validate/exitOptx.st b/test/validate/exitOptx.st index 997819ffca7b788a6b29db9ea2628d116b32ab69..cb425291157e862ae72f319446aa1cd440f4fd17 100644 --- a/test/validate/exitOptx.st +++ b/test/validate/exitOptx.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program exitOptxTest /* snc test program to test entry and exit condition execution, with -e * option. Test -e, that entry will be executed on each iteration. diff --git a/test/validate/local.st b/test/validate/local.st index d376fa743eae9a85a5fb6033f20a5543ab5c8e96..390ab7eed12bcc1ebd4ec3525218c0de52895272 100644 --- a/test/validate/local.st +++ b/test/validate/local.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ /* illustrate / test local variable declarations */ program localTest diff --git a/test/validate/makeTestfile.pl b/test/validate/makeTestfile.pl index 8366e5ed4947261ca03d2139e2eaedd51302a649..2ebe7b666104624d309690081b0f01844813d2f2 100644 --- a/test/validate/makeTestfile.pl +++ b/test/validate/makeTestfile.pl @@ -1,11 +1,13 @@ #!/usr/bin/perl #************************************************************************* -# Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne -# National Laboratory. -# Copyright (c) 2002 The Regents of the University of California, as -# Operator of Los Alamos National Laboratory. -# EPICS BASE is distributed subject to a Software License Agreement found -# in file LICENSE that is included with this distribution. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien +# und Energie GmbH, Germany (HZB) +# This file is distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. #************************************************************************* # The makeTestfile.pl script generates a file $target.t which is needed diff --git a/test/validate/norace.st b/test/validate/norace.st index a76f3a701c0efbb357812acde81e797d658748e6..6001c68f39ca328fa787f29a40bd3f59e236cde2 100644 --- a/test/validate/norace.st +++ b/test/validate/norace.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program noraceTest option +s; diff --git a/test/validate/optt.st b/test/validate/optt.st index 245fee33a528a26f283e6f45874b1900882faf62..435d0fa3f3943823a62955b246c9d8a0fa8497a1 100644 --- a/test/validate/optt.st +++ b/test/validate/optt.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program opttTest /* snc test program to test state option -t, not to reset timers. */ diff --git a/test/validate/opttVar.st b/test/validate/opttVar.st index 9338bc57d35512d1455ef247199f7e8698545a87..d34b46fa0dff771d2d669afe778a6ebdab01d9cf 100644 --- a/test/validate/opttVar.st +++ b/test/validate/opttVar.st @@ -1,3 +1,7 @@ +/*************************************************************************\ +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program opttVarTest %%#include "../testSupport.h" diff --git a/test/validate/pvGet.st b/test/validate/pvGet.st index 955b6c521ed56a4d3b61235d360484487009f869..a6623fa0ceb0e24c0118dd0297bfd7c9569703ba 100644 --- a/test/validate/pvGet.st +++ b/test/validate/pvGet.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program pvGetTest %%#include "../testSupport.h" diff --git a/test/validate/pvPutAsync.st b/test/validate/pvPutAsync.st index dc240ccdd069932f19296fa297535171b4bc6f8c..518f08ad27e386e4367621c9e603a4fdab5c1250 100644 --- a/test/validate/pvPutAsync.st +++ b/test/validate/pvPutAsync.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program pvPutAsyncTest %%#include "../testSupport.h" diff --git a/test/validate/pvSync.st b/test/validate/pvSync.st index b006056d4b6acf427b2dfb985f756c216e51dd5d..e0efd3192b29d9c73ef7ed70b92a812f46097bcf 100644 --- a/test/validate/pvSync.st +++ b/test/validate/pvSync.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program pvSyncTest %%#include "../testSupport.h" diff --git a/test/validate/race.st b/test/validate/race.st index 85d3630a36566837803dea77d8a74c0f2e8f7dd5..358589a2e7db5c20210292df3f3e3fbf46a4822f 100644 --- a/test/validate/race.st +++ b/test/validate/race.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program raceTest #include "raceCommon.st" diff --git a/test/validate/raceCommon.st b/test/validate/raceCommon.st index 3229a7ceb65c0d455c5c8c71a57f1a376dc448b4..a49dac14ce0d706d337dfaf97b12fcd7f8a667ef 100644 --- a/test/validate/raceCommon.st +++ b/test/validate/raceCommon.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ %%#include "../testSupport.h" string x; diff --git a/test/validate/safeModeNotAssigned.st b/test/validate/safeModeNotAssigned.st index 951b9739f96f3bb8483dbfeae28da2dba25a7dbe..9063cf8e71855859498247db602b1154990d458a 100644 --- a/test/validate/safeModeNotAssigned.st +++ b/test/validate/safeModeNotAssigned.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program safeModeNotAssignedTest %%#include "../testSupport.h" diff --git a/test/validate/safeMonitor.st b/test/validate/safeMonitor.st index 0fb1b215b293b9d7f38b76508e1386473b8ea54e..46b5d935e19c3632ccecdd3f2b05b44c39d876e7 100644 --- a/test/validate/safeMonitor.st +++ b/test/validate/safeMonitor.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program safeMonitorTest %%#include "../testSupport.h" diff --git a/test/validate/seqMain.c b/test/validate/seqMain.c index 550dae4c1e06ff0d93512d5e7eab6364db67f699..5723dc22813511cb4291830765d42863a5a6bbed 100644 --- a/test/validate/seqMain.c +++ b/test/validate/seqMain.c @@ -1,14 +1,14 @@ /*************************************************************************\ -* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne -* National Laboratory. -* Copyright (c) 2003 The Regents of the University of California, as -* Operator of Los Alamos National Laboratory. -* EPICS BASE is distributed subject to the Software License Agreement -* found in the file LICENSE that is included with this distribution. +Copyright (c) 2003 The Regents of the University of California, as + Operator of Los Alamos National Laboratory +Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne + National Laboratory +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. \*************************************************************************/ -/* Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd */ - /* Author: Andrew Johnson Date: 2003-04-08 */ /* Adapted to serve as alternative seqMain.c for seq testing by Ben Franksen */ diff --git a/test/validate/stop.st b/test/validate/stop.st index 1676185dda34e19fef031e59cb9d63cf5a551956..43cd03af2ca5055db05befac3757412f80cb2cf1 100644 --- a/test/validate/stop.st +++ b/test/validate/stop.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program stopTest ss main { diff --git a/test/validate/subscript.st b/test/validate/subscript.st index ccf9b312f7933542195f2f994c68adf27f31e837..a87bfc5d51a5a7bbcee10f9c47942abded260113 100644 --- a/test/validate/subscript.st +++ b/test/validate/subscript.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program subscriptTest float single[2]; diff --git a/test/validate/syncq.st b/test/validate/syncq.st index c90dbc5598a016d88f3aa229cc50fb0cdd273783..176a958a71147a649145b1cd8617d5e6830c566c 100644 --- a/test/validate/syncq.st +++ b/test/validate/syncq.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program syncqTest option +s; diff --git a/test/validate/testSupport.c b/test/validate/testSupport.c index 15886af93a7cce5cf0df20cdcac8134ddf24add3..78a6abc67168a959a41ac54b023ab2432f2a1dee 100644 --- a/test/validate/testSupport.c +++ b/test/validate/testSupport.c @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #include <stdlib.h> #include "epicsThread.h" diff --git a/test/validate/testSupport.h b/test/validate/testSupport.h index 3c1df896354b46a911413ddc000cfaac7dfc0e02..b8c58fa7b5b316af9a2e01aac3de397e02f2bdf9 100644 --- a/test/validate/testSupport.h +++ b/test/validate/testSupport.h @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ #ifndef INCtestSupport_h #define INCtestSupport_h diff --git a/test/validate/userfunc.st b/test/validate/userfunc.st index 30bb72f6bb5624c48435b0bffb5f2988fc9d0625..312a177425554032315866b5a8266da2a2d10ffc 100644 --- a/test/validate/userfunc.st +++ b/test/validate/userfunc.st @@ -1,3 +1,9 @@ +/*************************************************************************\ +Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ program userfuncTest %%#include "../testSupport.h"