NonStop S-Series Server Description Manual (G06.24+)

Contents
HP NonStop S-Series Server Description Manual520331-003
iv
7. Native Execution Mode
Accessing Parameters in the Called Procedure 6-50
Saving the Stack Frame on a Call 6-52
Restoring a Stack Frame on Return From a Call 6-54
Multiple Markers for Nested Calls 6-56
Returning a Value to the Caller 6-58
Retrieving a Returned Value 6-60
Subprocedure Calls 6-62
Calling External Procedures 6-64
Example of an External Procedure Call 6-66
Resolving Virtual Addresses for External Calls 6-68
An Accelerated Program File in Virtual Memory 6-70
Execution Mode Switches 6-72
Procedure Return in Accelerated Code 6-74
Mapping Return Addresses and Debug Points 6-76
Gateway Tables 6-78
Far Jump Tables 6-80
Maintaining TNS State Values 6-82
Invoking Privilege for CALLABLE Procedures 6-84
7. Native Execution Mode
Native Mode Uses RISC Register Conventions 7-2
RISC Stack Frames 7-4
Procedure Name Spaces for the System Library 7-6
Example of TNS Call to a Native Library Procedure 7-8
Invoking Privilege Requires Taking an Exception 7-10
Stack Switching for Native Privilege Transition 7-12
Example of Enter_Priv Transition 7-14
Far Jumps and Far Gateways Are Needed for SCr 7-16
8. Interrupt System
Interrupt Overview 8-2
Interrupt Sequence 8-4
Interrupt Stack Marker Format 8-6
Transferring Control to an Interrupt Handler 8-8
Interrupt Masking 8-10
TNS Interrupts 8-12