git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: abstract out the code for prdte creation (by imposing a constrain on buffer...
[lunaix-os.git]
/
lunaix-os
/
hal
/
pci.c
diff --git
a/lunaix-os/hal/pci.c
b/lunaix-os/hal/pci.c
index c3771d571e2a10885521d5ecb9922acda7b3efa4..4bf4c56863dac16b6fa4b16e483ea97557199376 100644
(file)
--- a/
lunaix-os/hal/pci.c
+++ b/
lunaix-os/hal/pci.c
@@
-174,7
+174,7
@@
void
pci_setup_msi(struct pci_device* device, int vector)
{
// Dest: APIC#0, Physical Destination, No redirection
pci_setup_msi(struct pci_device* device, int vector)
{
// Dest: APIC#0, Physical Destination, No redirection
- uint32_t msi_addr = (__APIC_BASE_PADDR
| 0x8
);
+ uint32_t msi_addr = (__APIC_BASE_PADDR);
// Edge trigger, Fixed delivery
uint32_t msi_data = vector;
// Edge trigger, Fixed delivery
uint32_t msi_data = vector;