stos: hal: Add IRQL for critical sections
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -18,13 +18,15 @@
|
||||
* @IRQL_PASSIVE: Standard user/kernel operation
|
||||
* @IRQL_APC: Asynchronous procedure call
|
||||
* @IRQL_DISPATCH: Deferred procedure call dispatch
|
||||
* @IRQL_CRITICAL: Critical section
|
||||
* @IRQL_HIGH: Block everything
|
||||
*/
|
||||
#define IRQL_PASSIVE 0
|
||||
#define IRQL_APC 1
|
||||
#define IRQL_DISPATCH 2
|
||||
#define IRQL_DEVICE 3
|
||||
#define IRQL_HIGH 4
|
||||
#define IRQL_CRITICAL 4
|
||||
#define IRQL_HIGH 5
|
||||
|
||||
/* IRQLs are of this type */
|
||||
typedef UCHAR IRQL;
|
||||
|
||||
Reference in New Issue
Block a user