stos: hal: Add interrupt IRQL defs

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-23 20:14:03 +00:00
parent 69ddd09500
commit e1a115cccc
+26
View File
@@ -0,0 +1,26 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: Interrupt management
* Author: Chloe M.
*/
#ifndef _HAL_INTR_H_
#define _HAL_INTR_H_ 1
/*
* Valid interrupt request levels
*
* @IRQL_PASSIVE: Standard user/kernel operation
* @IRQL_APC: Asynchronous procedure call
* @IRQL_DISPATCH: Deferred procedure call dispatch
* @IRQL_HIGH: Block everything
*/
#define IRQL_PASSIVE 0
#define IRQL_APC 1
#define IRQL_DISPATCH 2
#define IRQL_DEVICE 3
#define IRQL_HIGH 4
#endif /* !_HAL_INTR_H_ */