summaryrefslogtreecommitdiff
path: root/Kernel/Storage
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-07-14 15:27:22 +0300
committerAndreas Kling <kling@serenityos.org>2022-07-14 23:27:46 +0200
commite4e5fa74d0e45975a82784d65f5d1b26fd66e2f8 (patch)
tree7645081136152951e6d306d46b3b52bbde17ef7d /Kernel/Storage
parent1c499e75bd25d66393aa2118144d7f0afccc2eed (diff)
downloadserenity-e4e5fa74d0e45975a82784d65f5d1b26fd66e2f8.zip
Kernel+Userland: Rename prefix of user_physical => physical
There's no such supervisor pages concept, so there's no need to call physical pages with the "user_physical" prefix anymore.
Diffstat (limited to 'Kernel/Storage')
-rw-r--r--Kernel/Storage/ATA/AHCIPort.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Storage/ATA/AHCIPort.cpp b/Kernel/Storage/ATA/AHCIPort.cpp
index 38d8f148b7..8f713c405c 100644
--- a/Kernel/Storage/ATA/AHCIPort.cpp
+++ b/Kernel/Storage/ATA/AHCIPort.cpp
@@ -22,7 +22,7 @@ namespace Kernel {
UNMAP_AFTER_INIT ErrorOr<NonnullRefPtr<AHCIPort>> AHCIPort::create(AHCIController const& controller, AHCI::HBADefinedCapabilities hba_capabilities, volatile AHCI::PortRegisters& registers, u32 port_index)
{
- auto identify_buffer_page = MUST(MM.allocate_user_physical_page());
+ auto identify_buffer_page = MUST(MM.allocate_physical_page());
auto port = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) AHCIPort(controller, move(identify_buffer_page), hba_capabilities, registers, port_index)));
TRY(port->allocate_resources_and_initialize_ports());
return port;
@@ -35,14 +35,14 @@ ErrorOr<void> AHCIPort::allocate_resources_and_initialize_ports()
return {};
}
- m_fis_receive_page = TRY(MM.allocate_user_physical_page());
+ m_fis_receive_page = TRY(MM.allocate_physical_page());
for (size_t index = 0; index < 1; index++) {
- auto dma_page = TRY(MM.allocate_user_physical_page());
+ auto dma_page = TRY(MM.allocate_physical_page());
m_dma_buffers.append(move(dma_page));
}
for (size_t index = 0; index < 1; index++) {
- auto command_table_page = TRY(MM.allocate_user_physical_page());
+ auto command_table_page = TRY(MM.allocate_physical_page());
m_command_table_pages.append(move(command_table_page));
}