stos: knot: Fix up knot reasons for consistency
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
+2
-2
@@ -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"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user