add int code to KePanic

This commit is contained in:
maksw committed 2026-05-28 21:00:04 +02:00
1 parent 6bff37746d
commit b17c9ac854
10 files changed
+112 -99

No files matched your search

+1 -1
View File
@@ -424,7 +424,7 @@ static void IdeWorker(uintptr_t arg) {
IRP *irp = IrpQueueDequeue(&gIrpQueue);
if (!irp)
KePanic("IdeWorker: semaphore fired but IRP queue is empty — accounting bug\n");
KePanic(KE_PANIC_CODE_DRIVER, "IdeWorker: semaphore fired but IRP queue is empty — accounting bug\n");
KSTATUS st;
if (irp->Lba + irp->SectorCount > gSectorCount) {