mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
666c0c5a08
This is a fix so the VirtIO code doesn't lead to assertion because we try to determine the name based on the PCI values of the VirtIO device, because trying to read from the PCI configuration space requires to acquire a Mutex, which fails in an IRQ context. To ensure we never encounter a situation when we call a pure virtual function in an IRQ context, let's make class_name() method to be a non-pure virtual function, so it can be still called at anytime. |
||
---|---|---|
.. | ||
PCI | ||
USB | ||
VirtIO |