Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

SuperState

Enter supervisor state with user stack

Declaration

Source position: exec.pas line 1871

function SuperState: Pointer;

Description

Enter supervisor mode while running on the user's stack. The user still has access to user stack variables. Be careful though, the user stack must be large enough to accommodate space for all interrupt data -- this includes all possible nesting of interrupts. This function does nothing when called from supervisor state. This is not a good function to use, it has limited scope, and will probably be even less useful in the future.

Errors

You can easily cause your system to cease operating normally.

See also

Supervisor

  

Trap to a short supervisor mode function

UserState

  

Return to user state with user stack


Documentation generated on: 2021-07-30