diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-06-27 21:59:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-28 15:55:00 +0200 |
commit | a0c1af4327617eea3c9fe213ba2483bdfe119da3 (patch) | |
tree | e6dd42acf96857a3bf96f5df464ad3980a32f7a3 /Kernel/Storage/BMIDEChannel.cpp | |
parent | 32840dfa17494f15f9a77ecde9e2cfa8f198dcff (diff) | |
download | serenity-a0c1af4327617eea3c9fe213ba2483bdfe119da3.zip |
Kernel: Specify I/O size for BMIDEChannel
Diffstat (limited to 'Kernel/Storage/BMIDEChannel.cpp')
-rw-r--r-- | Kernel/Storage/BMIDEChannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/BMIDEChannel.cpp b/Kernel/Storage/BMIDEChannel.cpp index 4636300699..cbbb6ecced 100644 --- a/Kernel/Storage/BMIDEChannel.cpp +++ b/Kernel/Storage/BMIDEChannel.cpp @@ -212,7 +212,7 @@ void BMIDEChannel::ata_read_sectors(bool slave_request, u16 capabilities) m_io_group.bus_master_base().value().out<u8>(0); // Write the PRDT location - m_io_group.bus_master_base().value().offset(4).out(m_prdt_page->paddr().get()); + m_io_group.bus_master_base().value().offset(4).out<u32>(m_prdt_page->paddr().get()); // Set transfer direction m_io_group.bus_master_base().value().out<u8>(0x8); |