This commit is contained in:
Aaron committed 2025-03-23 11:42:03 +00:00
1 parent 569b2f0bca
commit 232f6b5485
1 file changed
+7 -1
+7 -1
View File
@@ -370,7 +370,13 @@ begin
repeat
cmd := device^.port^.cmd_issue; // Command Issue register
tfd := device^.port^.tfd; // Task File Data often contains error/status info.
device^.port^.int_status := $FFFFFFFF; // Clear any pending interrupts
if device^.port^.int_status <> 0 then begin
console.writestring('AHCI: Interrupt status: ');
console.writehexln(device^.port^.int_status);
device^.port^.int_status := device^.port^.int_status;
end;
timeout := timeout + 10;
if timeout > 100000 then begin
console.writestringln('AHCI: IDENTIFY command timeout');