PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

CurrentExecutionLevel

The function CurrentExecutionLevel lets code determine its execution context.

ExecutionLevel CurrentExecutionLevel (void);
DESCRIPTION

CurrentExecutionLevel returns one of the result codes shown below.

EXECUTION CONTEXT

CurrentExecutionLevel may be called from task level, software interrupt level, or hardware interrupt level.

RESULT CODES
kTaskLevel 0 Noninterrupt level
kSecondaryInterruptLevel 5 Secondary interrupt level
kHardwareInterruptLevel 6 Hardware interrupt level

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)