Kernel: Fix PCI 64 bit MSI msg_data offset

This commit is contained in:
Bananymous 2024-11-22 22:17:25 +02:00
parent 40c13043b3
commit ce09f35275
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ namespace Kernel::PCI
{ {
write_dword(*m_offset_msi + 0x04, msg_addr & 0xFFFFFFFF); write_dword(*m_offset_msi + 0x04, msg_addr & 0xFFFFFFFF);
write_dword(*m_offset_msi + 0x08, msg_addr >> 32); 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 else
{ {