stos: hal: Add IRQL for critical sections

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-23 22:19:40 +00:00
parent a317368901
commit 0fbce493e3
+3 -1
View File
@@ -18,13 +18,15 @@
* @IRQL_PASSIVE: Standard user/kernel operation * @IRQL_PASSIVE: Standard user/kernel operation
* @IRQL_APC: Asynchronous procedure call * @IRQL_APC: Asynchronous procedure call
* @IRQL_DISPATCH: Deferred procedure call dispatch * @IRQL_DISPATCH: Deferred procedure call dispatch
* @IRQL_CRITICAL: Critical section
* @IRQL_HIGH: Block everything * @IRQL_HIGH: Block everything
*/ */
#define IRQL_PASSIVE 0 #define IRQL_PASSIVE 0
#define IRQL_APC 1 #define IRQL_APC 1
#define IRQL_DISPATCH 2 #define IRQL_DISPATCH 2
#define IRQL_DEVICE 3 #define IRQL_DEVICE 3
#define IRQL_HIGH 4 #define IRQL_CRITICAL 4
#define IRQL_HIGH 5
/* IRQLs are of this type */ /* IRQLs are of this type */
typedef UCHAR IRQL; typedef UCHAR IRQL;