diff options
author | Liav A <liavalb@gmail.com> | 2021-05-29 00:50:56 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-29 15:51:52 +0200 |
commit | 5c1073a62dce7dae517138d85775e2ce10b7e3d0 (patch) | |
tree | 2153007a525e95e510c1f8325972a5e3d350a737 /Kernel/Storage/AHCIController.h | |
parent | 4cf6963a1cdca7d676b7cc6b7fda76c1ca64e913 (diff) | |
download | serenity-5c1073a62dce7dae517138d85775e2ce10b7e3d0.zip |
Kernel/Storage: Rename the method hba_region => default_hba_region
Also, make sure we unmap it after the init process.
Diffstat (limited to 'Kernel/Storage/AHCIController.h')
-rw-r--r-- | Kernel/Storage/AHCIController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/AHCIController.h b/Kernel/Storage/AHCIController.h index b15a42572b..ba57706506 100644 --- a/Kernel/Storage/AHCIController.h +++ b/Kernel/Storage/AHCIController.h @@ -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; |