1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:17:34 +00:00

Kernel/Storage: Rename the method hba_region => default_hba_region

Also, make sure we unmap it after the init process.
This commit is contained in:
Liav A 2021-05-29 00:50:56 +03:00 committed by Andreas Kling
parent 4cf6963a1c
commit 5c1073a62d
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ private:
RefPtr<StorageDevice> device_by_port(u32 index) const;
volatile AHCI::PortRegisters& port(size_t port_number) const;
NonnullOwnPtr<Region> hba_region() const;
UNMAP_AFTER_INIT NonnullOwnPtr<Region> default_hba_region() const;
volatile AHCI::HBA& hba() const;
NonnullOwnPtr<Region> m_hba_region;