Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
788 B

// TITLE("Get Interrupt Request Level")
//++
//
// Module Name:
//
// irql2.s
//
// Abstract:
//
// This module implements the code to read the tpr register and convert
// the result to Interrupt Request Level (IRQL).
//
//
// Author:
//
// William K. Cheung (wcheung)
//
// Environment:
//
// Kernel mode only.
//
// Revision History:
//
//--
#include "ksia64.h"
.file "irql2.s"
//++
//
// KIRQL
// KeGetCurrentIrql(
// VOID
// )
//
// Routine Description:
//
// This function returns the current irql of the processor.
//
// Arguments:
//
// None.
//
// Return Value:
//
// Current processor irql.
//
//--
LEAF_ENTRY(KeGetCurrentIrql)
GET_IRQL(v0)
LEAF_RETURN
LEAF_EXIT(KeGetCurrentIrql)