void lspci(void) { if (bootArgs->Video.v_display == VGA_TEXT_MODE) { setActiveDisplayPage(1); clearScreenRows(0, 24); setCursorPosition(0, 0, 1); } dump_pci_dt(root_pci_dev->children); pause(); if (bootArgs->Video.v_display == VGA_TEXT_MODE) { setActiveDisplayPage(0); } }
void lspci(void) { if (bootArgs->Video.v_display == VGA_TEXT_MODE) { setActiveDisplayPage(1); clearScreenRows(0, 24); setCursorPosition(0, 0, 1); } dump_pci_dt(((pci_dt_t *)(uint32_t)get_env(envPCIRootDev))->children); pause(); if (bootArgs->Video.v_display == VGA_TEXT_MODE) { setActiveDisplayPage(0); } }
void lspci(void) { if (bootArgs->Video.v_display == VGA_TEXT_MODE) { setActiveDisplayPage(1); clearScreenRows(0, 24); setCursorPosition(0, 0, 1); } dump_pci_dt(root_pci_dev->children); printf("(Press a key to continue...)"); getc(); if (bootArgs->Video.v_display == VGA_TEXT_MODE) { setActiveDisplayPage(0); } }