Skip to content

Commit 1ebd398

Browse files
rdementiCopilot
andcommitted
Update src/pci.h
Co-authored-by: Copilot <[email protected]>
1 parent fbaddac commit 1ebd398

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pci.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ void processDVSEC(MatchFunc matchFunc, ProcessFunc processFunc)
265265
}
266266
else
267267
{
268+
// BAR type 1 is reserved by the PCI specification and is not valid.
269+
// Any unknown BAR type (including type 1) is treated as an error.
268270
std::cerr << "Error: unknown bar type " << type << " at bar offset 0x" << std::hex << barOffset << std::dec << " \n";
269271
}
270272
}

0 commit comments

Comments
 (0)