e1a115cccc
Signed-off-by: Chloe M. <chloe@mensia.org>
27 lines
570 B
C
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_ */
|