mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Kernel: Add dmesgln_pci logging for Kernel::PCI
A virtual method named device_name() was added to Kernel::PCI to support logging the PCI::Device name and address using dmesgln_pci. Previously, PCI::Device did not store the device name. All devices inheriting from PCI::Device now use dmesgln_pci where they previously used dmesgln.
This commit is contained in:
parent
6a5be5f1c5
commit
288a73ea0e
Notes:
sideshowbarker
2024-07-17 02:11:12 +09:00
Author: https://github.com/evansmal
Commit: 288a73ea0e
Pull-request: https://github.com/SerenityOS/serenity/pull/16071
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/bgianfo
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
24 changed files with 90 additions and 52 deletions
|
@ -26,6 +26,7 @@ class BochsGraphicsAdapter final : public GenericGraphicsAdapter
|
|||
public:
|
||||
static NonnullLockRefPtr<BochsGraphicsAdapter> initialize(PCI::DeviceIdentifier const&);
|
||||
virtual ~BochsGraphicsAdapter() = default;
|
||||
virtual StringView device_name() const override { return "BochsGraphicsAdapter"sv; }
|
||||
|
||||
private:
|
||||
ErrorOr<void> initialize_adapter(PCI::DeviceIdentifier const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue