diff --git a/paw/stos/arch/amd64/cpu/intr.c b/paw/stos/arch/amd64/cpu/intr.c index 4f599f6..968880b 100644 --- a/paw/stos/arch/amd64/cpu/intr.c +++ b/paw/stos/arch/amd64/cpu/intr.c @@ -112,7 +112,7 @@ HalRaiseIrql(IRQL Irql) CurrentIrql = HalGetIrql(); if (Irql < CurrentIrql) { - KeKnot(IRQL_NOT_GTE, "got bad irql\n"); + KeKnot(KNOT_IRQL_NOT_GTE, "got bad irql\n"); } SetIrql(Irql); @@ -126,7 +126,7 @@ HalLowerIrql(IRQL Irql) CurrentIrql = HalGetIrql(); if (Irql > CurrentIrql) { - KeKnot(IRQL_NOT_LTE, "got bad irql\n"); + KeKnot(KNOT_IRQL_NOT_LTE, "got bad irql\n"); } return CurrentIrql; diff --git a/paw/stos/head/ke/knot.h b/paw/stos/head/ke/knot.h index b9ee362..fd0d801 100644 --- a/paw/stos/head/ke/knot.h +++ b/paw/stos/head/ke/knot.h @@ -19,8 +19,8 @@ * @KNOT_BAD_BOOT_PROTO: Bad boot protocol * @KNOT_OOM: Fatal out of memory * @KNOT_EXCEPTION: Fatal exception - * @IRQL_NOT_LTE: IRQL not less than or equal - * @IRQL_NOT_GTE: IRQL not greater than or equal + * @KNOT_IRQL_NOT_LTE: IRQL not less than or equal + * @KNOT_IRQL_NOT_GTE: IRQL not greater than or equal * @KNOT_BAD_CHECKSUM: Fatal bad checksum value */ typedef enum { @@ -29,8 +29,8 @@ typedef enum { KNOT_BAD_BOOT_PROTO, KNOT_OOM, KNOT_EXCEPTION, - IRQL_NOT_LTE, - IRQL_NOT_GTE, + KNOT_IRQL_NOT_LTE, + KNOT_IRQL_NOT_GTE, KNOT_BAD_CHECKSUM } KNOT_REASON; diff --git a/paw/stos/ke/knot.c b/paw/stos/ke/knot.c index 52a8d08..72b1d61 100644 --- a/paw/stos/ke/knot.c +++ b/paw/stos/ke/knot.c @@ -23,8 +23,8 @@ static const CHAR *ReasonTable[] = { [KNOT_BAD_BOOT_PROTO] = "bad boot protocol", [KNOT_OOM] = "out of memory", [KNOT_EXCEPTION] = "fatal exception", - [IRQL_NOT_LTE] = "irql not less than or equal", - [IRQL_NOT_GTE] = "irql not greater than or equal", + [KNOT_IRQL_NOT_LTE] = "irql not less than or equal", + [KNOT_IRQL_NOT_GTE] = "irql not greater than or equal", [KNOT_BAD_CHECKSUM] = "bad checksum" };