HPlogo PA-RISC Procedure Calling Conventions Reference Manual > Chapter 5 Inter-Module Procedure Calls

Chapter 5 Inter-Module Procedure Calls

MPE documents

Complete PDF
Table of Contents

Table of Contents
5.1 External Calls on MPE XL
5.1.1 Requirements of an External Call on MPE XL
5.1.2 Requirements of an External Return
5.1.3 Control Flow of an MPE XL External Call
5.1.4 Calling Code
5.1.5 Called Code
5.1.6 Import and Export Stubs
5.1.7 Import Stubs
5.1.8 External Procedure Call Millicode (CALLX)
5.1.9 Export Stubs
5.1.10 Inter-Module Cross Reference Table (XRT)
5.1.11 The Layout of the XRT
5.1.12 Sub-table Header
5.1.13 Linkage Pointer
5.1.14 System Security and the XRT
5.1.15 Interface Between Import and Export Stubs
5.1.16 Summary of an External Procedure Call
5.1.17 Dynamic Linking
5.1.18 Procedure Labels
5.2 External Calls on HP-UX
5.2.1 Control Flow of an HP-UX External Call
5.2.2 Calling Code
5.2.3 Called Code
5.3 PIC Requirements for Compilers and Assembly Code
5.3.1 Long Calls
5.3.2 Procedure Labels and Dynamic Calls
External calls exist on both the MPE XL and HP-UX operating systems. Although the external call mechanism is similar on the two operating systems, the details of the call mechanism differ enough to warrant separate discussions. The description of external calls on MPE XL and the details of HP-UX external calls are both described in this chapter.




4.3 The Code Involved in a Simple Local Call


5.1 External Calls on MPE XL