gtpm1m44 | TPF V4R1 Migration Guide: 3.1 to 4.1 |
This chapter describes the changes you must make in your application
programs to migrate to the TPF 4.1 system.
The following list summarizes the changes you need to make in your
application programs in order to migrate to TPF 4.1 system.
- Carefully review all of the changes to E-type programs described in
Changes to E-Type Programs.
- Use the GETCC macro to get private storage in the ECB private
area (under 16 MB), and the MALOC and CALOC macros (or malloc and
calloc IBM C language functions) to get private storage in the heap
private area (above 16 MB).
- Modify your programs to share data between ECBs using common blocks, or
the CRETC and CREEC macros, or by rewriting portions
of your programs to allow sharing of data through find and file interfaces or
with the EVENT facility or by passing global area addresses.
- Use the MOVEC macro to move data between address spaces.
Decide authorization for the macros and code the CRESVC macros
accordingly.
- Review changes to application utilities described beginning in Changes to Application Utilities.
- Use valid 31-bit values when passing addresses in 4-byte macro
parameters. For example, if you are passing a 24-bit address, do not
use the remaining byte to pass other data.
- Consider making some of the changes described in Modifying Your Application Programs.
- Review the information found in Migration Considerations for Application Programs. You may find these considerations helpful when
migrating your application programs.
- Note:
- The changes to the real-time (ECB-controlled) TPF environment are
extensive.
See TPF Application Programming for more
information about using application programs with the TPF 4.1
system.