Merge branch '7.0' into PSI-7.0
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2003 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 1998 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
/*caExample.c*/
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 2000 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
/*caMonitor.c*/
|
||||
|
||||
/* This example accepts the name of a file containing a list of pvs to monitor.
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2018 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# SPDX-FileCopyrightText: 2008 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
use strict;
|
||||
|
||||
# This construct sets @INC to search lib/perl of all RELEASE entries
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# SPDX-FileCopyrightText: 2008 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
use strict;
|
||||
|
||||
# This construct sets @INC to search lib/perl of all RELEASE entries
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# SPDX-FileCopyrightText: 2008 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
use strict;
|
||||
|
||||
# This construct sets @INC to search lib/perl of all RELEASE entries
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# SPDX-FileCopyrightText: 2008 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
use strict;
|
||||
|
||||
# This construct sets @INC to search lib/perl of all RELEASE entries
|
||||
|
@ -343,6 +343,7 @@ static int caget (pv *pvs, int nPvs, RequestT request, OutputT format,
|
||||
default :
|
||||
break;
|
||||
}
|
||||
free(pvs[n].value);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@ -388,7 +389,7 @@ int main (int argc, char *argv[])
|
||||
int digits = 0; /* getopt() no. of float digits */
|
||||
|
||||
int nPvs; /* Number of PVs */
|
||||
pv* pvs; /* Array of PV structures */
|
||||
pv* pvs = NULL; /* Array of PV structures */
|
||||
|
||||
LINE_BUFFER(stdout); /* Configure stdout buffering */
|
||||
|
||||
@ -556,6 +557,7 @@ int main (int argc, char *argv[])
|
||||
result = caget(pvs, nPvs, request, format, type, count);
|
||||
|
||||
/* Shut down Channel Access */
|
||||
free(pvs);
|
||||
ca_context_destroy();
|
||||
|
||||
return result;
|
||||
|
@ -224,6 +224,8 @@ got_header:
|
||||
fprintf(outFile,"}\n");
|
||||
fclose(inFile);
|
||||
fclose(outFile);
|
||||
free(outFilename);
|
||||
free(pname);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
* 505 665 1831
|
||||
*/
|
||||
|
||||
#define USE_TYPED_DBEVENT
|
||||
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
|
@ -13,6 +13,8 @@
|
||||
* 505 665 1831
|
||||
*/
|
||||
|
||||
#define USE_TYPED_DBEVENT
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "epicsMutex.h"
|
||||
|
@ -12,6 +12,8 @@
|
||||
* Author Jeff Hill
|
||||
*/
|
||||
|
||||
#define USE_TYPED_DBEVENT
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "epicsMutex.h"
|
||||
|
@ -19,6 +19,8 @@
|
||||
*/
|
||||
|
||||
#define EPICS_PRIVATE_API
|
||||
#define USE_TYPED_DBEVENT
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@ -32,6 +32,15 @@ struct dbChannel;
|
||||
struct db_field_log;
|
||||
struct evSubscrip;
|
||||
|
||||
#ifdef USE_TYPED_DBEVENT
|
||||
struct dbEventContext; // use dbEventCtx
|
||||
typedef struct evSubscrip* dbEventSubscription;
|
||||
typedef struct dbEventContext* dbEventCtx;
|
||||
#else
|
||||
typedef void * dbEventSubscription;
|
||||
typedef void * dbEventCtx;
|
||||
#endif
|
||||
|
||||
DBCORE_API int db_event_list (
|
||||
const char *name, unsigned level);
|
||||
DBCORE_API int dbel (
|
||||
@ -39,8 +48,6 @@ DBCORE_API int dbel (
|
||||
DBCORE_API int db_post_events (
|
||||
void *pRecord, void *pField, unsigned caEventMask );
|
||||
|
||||
typedef void * dbEventCtx;
|
||||
|
||||
typedef void EXTRALABORFUNC (void *extralabor_arg);
|
||||
DBCORE_API dbEventCtx db_init_events (void);
|
||||
DBCORE_API int db_start_events (
|
||||
@ -63,7 +70,6 @@ DBCORE_API void db_init_event_freelists (void);
|
||||
typedef void EVENTFUNC (void *user_arg, struct dbChannel *chan,
|
||||
int eventsRemaining, struct db_field_log *pfl);
|
||||
|
||||
typedef void * dbEventSubscription;
|
||||
DBCORE_API dbEventSubscription db_add_event (
|
||||
dbEventCtx ctx, struct dbChannel *chan,
|
||||
EVENTFUNC *user_sub, void *user_arg, unsigned select);
|
||||
|
@ -15,6 +15,8 @@
|
||||
* 505 665 1831
|
||||
*/
|
||||
|
||||
#define USE_TYPED_DBEVENT
|
||||
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
* 505 665 1831
|
||||
*/
|
||||
|
||||
#define USE_TYPED_DBEVENT
|
||||
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#define EPICS_PRIVATE_API
|
||||
#define USE_TYPED_DBEVENT
|
||||
|
||||
#include "dbmf.h"
|
||||
#include "epicsUnitTest.h"
|
||||
|
@ -2219,13 +2219,11 @@ long dbInitRecordLinks(dbRecordType *rtyp, struct dbCommon *prec)
|
||||
|
||||
} else if(dbCanSetLink(plink, &link_info, devsup)!=0) {
|
||||
errlogPrintf(ERL_ERROR ": %s.%s: can't initialize link type %s with \"%s\" (type %s)\n",
|
||||
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue,
|
||||
plink->text, pamaplinkType[link_info.ltype].strvalue);
|
||||
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue, plink->text, pamaplinkType[link_info.ltype].strvalue);
|
||||
|
||||
} else if(dbSetLink(plink, &link_info, devsup)) {
|
||||
errlogPrintf(ERL_ERROR ": %s.%s: failed to initialize link type %s with \"%s\" (type %s)\n",
|
||||
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue,
|
||||
plink->text, pamaplinkType[link_info.ltype].strvalue);
|
||||
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue, plink->text, pamaplinkType[link_info.ltype].strvalue);
|
||||
}
|
||||
free(plink->text);
|
||||
plink->text = NULL;
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Makefile at top of application tree
|
||||
TOP = .
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2015 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
record(lsi, "$(user):_APPNAME_:version") {
|
||||
field(DTYP, "_APPNAME_ version")
|
||||
field(DESC, "Version string")
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2017 ITER Organization
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
record(ao, "$(user):circle:step") {
|
||||
field(VAL , "1.0")
|
||||
field(DRVL, "0.0")
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
record(ai, "$(user):aiExample")
|
||||
{
|
||||
field(DESC, "Analog input")
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
record(calc, "$(user):calcExample$(no)")
|
||||
{
|
||||
alias("$(user):calc$(no)")
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2002 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
record(sub,"$(user):subExample")
|
||||
{
|
||||
field(INAM,"mySubInit")
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2006 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Example substitutions file
|
||||
|
||||
file "db/circle.db" {
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Makefile at top of application tree
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 2005 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
/* Example showing how to register a new command with iocsh */
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -1 +1,5 @@
|
||||
# SPDX-FileCopyrightText: 2005 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
registrar(helloRegister)
|
||||
|
@ -1,3 +1,7 @@
|
||||
// SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
//
|
||||
// SPDX-License-Identifier: EPICS
|
||||
|
||||
/* _APPNAME_Main.cpp */
|
||||
/* Author: Marty Kraimer Date: 17MAR2000 */
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 2002 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <dbDefs.h>
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2004 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
variable(mySubDebug)
|
||||
function(mySubInit)
|
||||
function(mySubProcess)
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 1998 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
/* devXxxSoft.c */
|
||||
/* Example device support module */
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 2015 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
/* dev_APPNAME_Version.c */
|
||||
/* Example device support for the lsi (long string input) record
|
||||
* providing the module version string as the value
|
||||
|
@ -1 +1,5 @@
|
||||
# SPDX-FileCopyrightText: 2015 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
device(lsi,INST_IO,dev_CSAFEAPPNAME_Version,"_APPNAME_ version")
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 2008 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
/* initTrace.c */
|
||||
|
||||
/*
|
||||
|
@ -1 +1,5 @@
|
||||
# SPDX-FileCopyrightText: 2008 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
registrar(initTraceRegister)
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2004 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# The name below is derived from the name of the SNL program
|
||||
# inside the source file, not from its filename. Here the
|
||||
# program is called sncExample, but is compiled in both the
|
||||
|
@ -20,3 +20,9 @@ ss ss1 {
|
||||
} state low
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
|
||||
SPDX-License-Identifier: EPICS
|
||||
*/
|
||||
|
@ -1 +1,7 @@
|
||||
#include "../sncExample.stt"
|
||||
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2004 Argonne National Laboratory
|
||||
|
||||
SPDX-License-Identifier: EPICS
|
||||
*/
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* SPDX-FileCopyrightText: 1998 Argonne National Laboratory */
|
||||
|
||||
/* SPDX-License-Identifier: EPICS */
|
||||
|
||||
/* xxxRecord.c */
|
||||
/* Example record support module */
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
recordtype(xxx) {
|
||||
include "dbCommon.dbd"
|
||||
field(VAL,DBF_DOUBLE) {
|
||||
|
@ -1,2 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 2003 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
include "xxxRecord.dbd"
|
||||
device(xxx,CONSTANT,devXxxSoft,"Soft Channel")
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
DIRS += $(wildcard *ioc*)
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = $(EPICS_HOST_ARCH)
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2014 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2008 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2014 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -7,3 +7,7 @@ and check the executable name on the first line of the st.cmd file
|
||||
|
||||
You may need to change the name of the .dbd file given in the
|
||||
st.cmd's dbLoadDatabase() command before starting the ioc.
|
||||
|
||||
|
||||
SPDX-FileCopyrightText: 2001 Argonne National Laboratory
|
||||
SPDX-License-Identifier: EPICS
|
||||
|
@ -4,3 +4,7 @@ contents to
|
||||
|
||||
Then load the executable into the IOC (floppy disk, network boot, debugger,
|
||||
etc.) and start it.
|
||||
|
||||
|
||||
SPDX-FileCopyrightText: 2001 Argonne National Laboratory
|
||||
SPDX-License-Identifier: EPICS
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!../../bin/_ARCH_/_APPNAME_
|
||||
|
||||
#- SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
#-
|
||||
#- SPDX-License-Identifier: EPICS
|
||||
|
||||
#- You may have to change _APPNAME_ to something else
|
||||
#- everywhere it appears in this file
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
#- SPDX-FileCopyrightText: 2001 Argonne National Laboratory
|
||||
#-
|
||||
#- SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Example RTEMS startup script
|
||||
|
||||
#- You may have to change _APPNAME_ to something else
|
||||
|
@ -1,3 +1,7 @@
|
||||
#- SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#-
|
||||
#- SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Example vxWorks startup file
|
||||
|
||||
#- The following is needed if your board support package doesn't at boot time
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2005 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Instructions for creating and using a real nfsCommands file
|
||||
#-
|
||||
#- in order to use nfs do the following:
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Instructions for creating and using a real nfsCommands file
|
||||
#-
|
||||
#- in order to use nfs do the following:
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Makefile at top of application tree
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2003 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
// SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
//
|
||||
// SPDX-License-Identifier: EPICS
|
||||
|
||||
/* _APPNAME_Main.cpp */
|
||||
/* Author: Marty Kraimer Date: 17MAR2000 */
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
DIRS += $(wildcard *ioc*)
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = $(EPICS_HOST_ARCH)
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2014 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2008 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2014 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = _ARCH_
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!../../bin/_ARCH_/_APPNAME_
|
||||
|
||||
#- SPDX-FileCopyrightText: 2003 Argonne National Laboratory
|
||||
#-
|
||||
#- SPDX-License-Identifier: EPICS
|
||||
|
||||
#- You may have to change _APPNAME_ to something else
|
||||
#- everywhere it appears in this file
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!../../bin/_ARCH_/_APPNAME_
|
||||
|
||||
#- SPDX-FileCopyrightText: 2005 Argonne National Laboratory
|
||||
#-
|
||||
#- SPDX-License-Identifier: EPICS
|
||||
|
||||
#- You may have to change _APPNAME_ to something else
|
||||
#- everywhere it appears in this file
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
#- SPDX-FileCopyrightText: 2001 Argonne National Laboratory
|
||||
#-
|
||||
#- SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Example RTEMS startup script
|
||||
|
||||
#- You may have to change _APPNAME_ to something else
|
||||
|
@ -1,3 +1,7 @@
|
||||
#- SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#-
|
||||
#- SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Example vxWorks startup file
|
||||
|
||||
#- The following is needed if your board support package doesn't at boot time
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2005 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Instructions for creating and using a real nfsCommands file
|
||||
#-
|
||||
#- in order to use nfs do the following:
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
#- Instructions for creating and using a real nfsCommands file
|
||||
#-
|
||||
#- in order to use nfs do the following:
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Makefile at top of application tree
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2003 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2003 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# provide definitions such as
|
||||
#include "xxxRecord.dbd"
|
||||
#device(xxx,CONSTANT,devXxxSoft,"SoftChannel")
|
||||
|
@ -26,7 +26,14 @@ extern void *POSIX_Init(void *argument);
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE (64*1024)
|
||||
|
||||
#define CONFIGURE_MAXIMUM_PERIODS 5
|
||||
/*
|
||||
* Override in configure/CONFIG_SITE.local with:
|
||||
*
|
||||
* OP_SYS_CFLAGS += -DCONFIGURE_MICROSECONDS_PER_TICK=1000
|
||||
*/
|
||||
#ifndef CONFIGURE_MICROSECONDS_PER_TICK
|
||||
#define CONFIGURE_MICROSECONDS_PER_TICK 10000
|
||||
#endif
|
||||
#define CONFIGURE_MALLOC_STATISTICS 1
|
||||
/* MINIMUM_STACK_SIZE == 8K */
|
||||
#define CONFIGURE_EXTRA_TASK_STACKS (4000 * RTEMS_MINIMUM_STACK_SIZE)
|
||||
|
@ -19,6 +19,15 @@
|
||||
#define finite(D) _finite(D)
|
||||
#endif
|
||||
|
||||
#if !defined(__cplusplus) || (defined(_MSC_VER) && (_MSC_VER < 1800))
|
||||
|
||||
/* these are macros in C but usually inline functions in C++
|
||||
* so macro ifndef does not work as a check in c++
|
||||
* In a recent VS2022 update redefining as macros causes a conflict and
|
||||
* compile time error. It looks like VS2013 and above supply
|
||||
* isnan and isinf functions for in C++ so no need to create them
|
||||
*/
|
||||
|
||||
#ifndef isnan
|
||||
#define isnan(D) _isnan(D)
|
||||
#endif
|
||||
@ -27,6 +36,8 @@
|
||||
#define isinf(D) ( !_finite(D) && !_isnan(D) )
|
||||
#endif
|
||||
|
||||
#endif /* ifndef __cplusplus */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Authors: Ralph Lange, Marty Kraimer, Andrew Johnson and Janet Anderson
|
||||
|
||||
use FindBin qw($RealBin);
|
||||
|
4
src/template/base/top/.gitignore
vendored
4
src/template/base/top/.gitignore
vendored
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2022 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Install directories
|
||||
/bin/
|
||||
/cfg/
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Makefile at top of application tree
|
||||
TOP = .
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# CONFIG - Load build configuration data
|
||||
#
|
||||
# Do not make changes to this file!
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2006 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# CONFIG_SITE
|
||||
|
||||
# Make any application-specific changes to the EPICS build
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1999 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# RELEASE - Location of external support modules
|
||||
#
|
||||
# IF YOU CHANGE ANY PATHS in this file or make API changes to
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# RULES
|
||||
|
||||
include $(CONFIG)/RULES
|
||||
|
@ -1,2 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 1999 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
#RULES.ioc
|
||||
include $(CONFIG)/RULES.ioc
|
||||
|
@ -1,2 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 1999 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
#RULES_DIRS
|
||||
include $(CONFIG)/RULES_DIRS
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
#RULES_TOP
|
||||
include $(CONFIG)/RULES_TOP
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Authors: Ralph Lange, Marty Kraimer, Andrew Johnson and Janet Anderson
|
||||
|
||||
use Cwd;
|
||||
|
4
src/template/ext/top/.gitignore
vendored
4
src/template/ext/top/.gitignore
vendored
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2022 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Install directories
|
||||
/bin/
|
||||
/cfg/
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Makefile at the top of an extensions tree
|
||||
|
||||
TOP = .
|
||||
|
@ -3,3 +3,6 @@ Notes:
|
||||
Each time you add a new extension in the src directory you
|
||||
must add the extension directory name to src/Makefile.
|
||||
|
||||
|
||||
SPDX-FileCopyrightText: 2000 Argonne National laboratory
|
||||
SPDX-License-Identifier: EPICS
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# CONFIG - Load build configuration data
|
||||
#
|
||||
# Do not make changes to this file!
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2006 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# CONFIG_SITE
|
||||
#
|
||||
# Make any extensions-specific changes to the EPICS build
|
||||
|
@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2000 Argonne National Laboratory
|
||||
#
|
||||
# SPDX-License-Identifier: EPICS
|
||||
|
||||
# Makefile in extensions/configure directory
|
||||
|
||||
TOP=..
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user