From 0784bbec71cd673cd42328075065cd7579a9b7d3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 4 Sep 2003 23:09:50 +0000 Subject: [PATCH] Oops, missing upgrade documentation for the xxx_recordDeviceDriver routine. --- documentation/BuildingR3.13AppsWithR3.14.html | 4 +-- documentation/ConvertingR3.13AppsToR3.14.html | 2 +- .../ConvertingR3.14.2AppsToR3.14.3.html | 30 ++++++++++++++++--- 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/documentation/BuildingR3.13AppsWithR3.14.html b/documentation/BuildingR3.13AppsWithR3.14.html index d7946ff88..91fb42a75 100644 --- a/documentation/BuildingR3.13AppsWithR3.14.html +++ b/documentation/BuildingR3.13AppsWithR3.14.html @@ -102,8 +102,8 @@ from the st.cmd files in the iocBoot subdirectories.

Remove

ld < iocCore
     
-

Immediately after the dbLoadDatabase command add

-
registerRecordDeviceDriver(pdbbase)
+    

Immediately after the dbLoadDatabase(xxx.dbd) command add

+
xxx_registerRecordDeviceDriver(pdbbase)
     
diff --git a/documentation/ConvertingR3.13AppsToR3.14.html b/documentation/ConvertingR3.13AppsToR3.14.html index f99770fec..2cb12f4d9 100644 --- a/documentation/ConvertingR3.13AppsToR3.14.html +++ b/documentation/ConvertingR3.13AppsToR3.14.html @@ -213,7 +213,7 @@ ld < iocCore

to
dbLoadDatabase("../../dbd/<name>.dbd")
-registerRecordDeviceDriver(pdbbase)
+<name>_registerRecordDeviceDriver(pdbbase)

recGbl calls

diff --git a/documentation/ConvertingR3.14.2AppsToR3.14.3.html b/documentation/ConvertingR3.14.2AppsToR3.14.3.html index 99dfb25f6..afd8204cc 100644 --- a/documentation/ConvertingR3.14.2AppsToR3.14.3.html +++ b/documentation/ConvertingR3.14.2AppsToR3.14.3.html @@ -6,10 +6,32 @@
-

Converting an EPICS R3.14.2 application to R3.14.3

+

Converting an EPICS R3.14.2 application to R3.14.3

-


This document describes how to convert a R3.14.2 application -so that it builds with release R3.14.3. +

This document describes how to convert a R3.14.2 application +so that it builds and runs properly with release R3.14.3.

-

No changes required.

+

registerRecordDeviceDriver Name Change

+

All application iocBoot/iocxxx/st.cmd files must be modified for R3.14.3 as +the generated routine that registers record device and driver support has been +renamed to incorporate the name of the dbd file it came from. The change to +the startup script is straightforward; any pair of lines like this:

+ +
+
dbLoadDatabase("dbd/something.dbd",0,0)
+registerRecordDeviceDriver(pdbbase)
+
+ +

must have the second line changed so the result looks like this:

+ +
+
dbLoadDatabase("dbd/something.dbd",0,0)
+something_registerRecordDeviceDriver(pdbbase)
+
+ +

There may be other pathname components in the dbLoadDatabase line which +should remain exactly as before.

+ + +