NonStop S-Series Server Description Manual (G06.24+)
Native Execution Mode
HP NonStop S-Series Server Description Manual—520331-003
7-13
Stack Switching for Native Privilege Transition
Figure 7-6. Millicode Routines Switch Between Main and Privileged Stacks
Privilege
Exception
Enter_Priv
Called
Callable
Procedure
Exit_Priv
Frame 0
Frame 1
Frame 3
Active
Frame
Nonprivileged
Code
Exception
Save Return Information
Load Exit Address
Set SP
Main Stack
Parameters
(Millicode)
(Millicode)
Frame of
Callable
Procedure
SP(1)
SP(2)
Return
1
23
4
5
6
7
Frame 2
ra
sp
Parameters
Privileged Stack
VST316.vsd