From ce09f35275f3ffe33fc8fefc22040c7f6390067e Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 22 Nov 2024 22:17:25 +0200 Subject: [PATCH] Kernel: Fix PCI 64 bit MSI msg_data offset --- kernel/kernel/PCI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kernel/PCI.cpp b/kernel/kernel/PCI.cpp index c02ca84f..606e394e 100644 --- a/kernel/kernel/PCI.cpp +++ b/kernel/kernel/PCI.cpp @@ -437,7 +437,7 @@ namespace Kernel::PCI { write_dword(*m_offset_msi + 0x04, msg_addr & 0xFFFFFFFF); write_dword(*m_offset_msi + 0x08, msg_addr >> 32); - write_word(*m_offset_msi + 0x12, msg_data); + write_word(*m_offset_msi + 0x0C, msg_data); } else {