Files
SystemPaw3/paw/stos/head/hal/intr.h
T
Chloe M. e1a115cccc stos: hal: Add interrupt IRQL defs
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 20:14:03 +00:00

27 lines
570 B
C

/*
* 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_ */