stos/amd64: intr: Add IRQL management
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -69,4 +69,27 @@ typedef struct {
|
||||
*/
|
||||
ST_STATUS HalRegisterIntr(const INTR_HANDLER *Handler, BOOLEAN IsUser);
|
||||
|
||||
/*
|
||||
* Returns the current IRQL
|
||||
*/
|
||||
IRQL HalGetIrql(VOID);
|
||||
|
||||
/*
|
||||
* Raise the IRQL level to a higher level
|
||||
*
|
||||
* @Irql: IRQL to raise to
|
||||
*
|
||||
* Returns the previous IRQL
|
||||
*/
|
||||
IRQL HalRaiseIrql(IRQL Irql);
|
||||
|
||||
/*
|
||||
* Lower the IRQL level to a lower level
|
||||
*
|
||||
* @Irql: IRQL to lower to
|
||||
*
|
||||
* Returns the previous IRQL
|
||||
*/
|
||||
IRQL HalLowerIrql(IRQL Irql);
|
||||
|
||||
#endif /* !_HAL_INTR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user