mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +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
|
@ -41,6 +41,8 @@ public:
|
|||
|
||||
virtual void initialize() override;
|
||||
|
||||
virtual StringView device_name() const override { return "VirtIOGraphicsAdapter"sv; }
|
||||
|
||||
ErrorOr<void> mode_set_resolution(Badge<VirtIODisplayConnector>, VirtIODisplayConnector&, size_t width, size_t height);
|
||||
void set_dirty_displayed_rect(Badge<VirtIODisplayConnector>, VirtIODisplayConnector&, Graphics::VirtIOGPU::Protocol::Rect const& dirty_rect, bool main_buffer);
|
||||
ErrorOr<void> flush_displayed_image(Badge<VirtIODisplayConnector>, VirtIODisplayConnector&, Graphics::VirtIOGPU::Protocol::Rect const& dirty_rect, bool main_buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue