ps2 and pci: remove debugger commands on uninit of modules
This commit is contained in:
parent
02d04a7664
commit
4a9b48c1c5
@ -504,6 +504,9 @@ pci_uninit(void)
|
||||
remove_debugger_command("inb", &display_io);
|
||||
remove_debugger_command("in8", &display_io);
|
||||
|
||||
remove_debugger_command("pcistatus", &pcistatus);
|
||||
remove_debugger_command("pcirefresh", &pcirefresh);
|
||||
|
||||
delete gPCI;
|
||||
}
|
||||
|
||||
|
@ -194,5 +194,9 @@ ps2_service_exit(void)
|
||||
wait_for_thread(sServiceThread, NULL);
|
||||
delete_sem(sServiceSem);
|
||||
delete_packet_buffer(sServiceCmdBuffer);
|
||||
|
||||
#ifdef DEBUG_PUBLISHING
|
||||
remove_debugger_command("ps2republish", &ps2_republish);
|
||||
#endif
|
||||
TRACE("ps2: ps2_service_exit done\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user