22.12.2012 Views

z/TPF Program Management - IBM

z/TPF Program Management - IBM

z/TPF Program Management - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

present, the program or programs are loaded below the 2-GB bar; if the symbol is<br />

not there, the program or programs are loaded above the 2-GB bar. The<br />

CGCC_31BIT symbol is added during the link-edit phase of the build process only<br />

when CGCC_31BIT=0 is set as a link edit flag in an individual makefile or in a<br />

Make<strong>TPF</strong> configuration file (maketpf.cfg).<br />

Note: You cannot specify where to load a program at load time.<br />

See “Create a C shared object” on page 64 for more information about creating a C<br />

shared object, including where to load programs. For more information about<br />

Makefiles, enter man maketpf.mak on your Linux build system for a complete list<br />

of Makefile variables that can be coded.<br />

Offline general file loader component (ALDR)<br />

ELF objects<br />

and libraries<br />

from the HFS<br />

Loader input file<br />

Begin process<br />

General file<br />

loader<br />

offline component<br />

(<strong>TPF</strong>LDR – ALDR)<br />

End process<br />

LDCRL = Loader control record<br />

Primary process<br />

Data flow<br />

General<br />

file<br />

LDCRL<br />

Figure 3. General file load using the general file loader offline component (ALDR)<br />

22 z/<strong>TPF</strong> <strong>Program</strong> <strong>Management</strong><br />

When you create your z/<strong>TPF</strong> system for the first time, you must initialize and format<br />

the loader general file, initialize and format the online modules, and load IPLA and<br />

the volume ID (VOLID) to the loader general file before you can load system<br />

components to the loader general file. See “Initialize and format the loader general<br />

file and online modules” on page 73 for more information.<br />

Figure 3 shows how the remainder of the loader general file is loaded by the offline<br />

general file loader (ALDR). ALDR loads all the records and programs specified in<br />

the loader input file and creates a loader control record (LDCRL) on the loader<br />

general file. This control record indicates the components to load from the loader<br />

general file to the online modules during the online general file load (ACPL).<br />

The general file loader is only necessary at system generation time or in an<br />

emergency load condition in which no fallback image exists.<br />

Note: The general file loader always overwrites image 1, which must be defined to<br />

use program area 1 and IPL area 1. Therefore, ensure that you reserve<br />

image 1, program area 1, and IPL area 1 for emergency general file loads.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!