feat: refactored some pci code and added pretty print of classes

This commit is contained in:
2021-03-06 15:10:21 +01:00
parent 310f3621a2
commit 38b5b611fa
9 changed files with 459 additions and 15 deletions

View File

@@ -95,6 +95,10 @@ void print(const char *arg) {
pci_print_info();
} else if (strcmp(arg, "pci_caps") == 0) {
pci_dump_caps();
#ifdef ENABLE_PCIPP
} else if (strcmp(arg, "pcipp") == 0) {
pci_pretty_print();
#endif
} else if (strcmp(arg, "ide") == 0) {
ide_print_devices();
} else {