mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2025-01-03 03:15:56 +01:00
remove interrupt status bit check in IRQ handler
Virtualbox doesn't even set the bit so for now I'm removing it until I can think of a good solution to this problem.
This commit is contained in:
parent
d9e04ec7cd
commit
867a675261
@ -1236,10 +1236,6 @@ proc irq_handler
|
|||||||
inc ecx
|
inc ecx
|
||||||
cmp ecx, ebx
|
cmp ecx, ebx
|
||||||
ja .not_our_irq
|
ja .not_our_irq
|
||||||
invoke PciRead16, dword [esi + pcidev.bus], dword [esi + pcidev.devfn], PCI_header00.status
|
|
||||||
test al, 1000b ; check interrupt status
|
|
||||||
jz .check_who_raised_irq
|
|
||||||
|
|
||||||
mov edi, dword [esi + pcidev.io_addr]
|
mov edi, dword [esi + pcidev.io_addr]
|
||||||
mov dword [edi + NVME_MMIO.INTMS], 0x3
|
mov dword [edi + NVME_MMIO.INTMS], 0x3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user