From 0fbce493e32d959e4b7a9807fb35d91b45d78499 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Tue, 23 Jun 2026 22:19:40 +0000 Subject: [PATCH] stos: hal: Add IRQL for critical sections Signed-off-by: Chloe M. --- paw/stos/head/hal/intr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paw/stos/head/hal/intr.h b/paw/stos/head/hal/intr.h index d000020..bc4bec3 100644 --- a/paw/stos/head/hal/intr.h +++ b/paw/stos/head/hal/intr.h @@ -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;