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
move msi-related functionality to generic isrm
[lunaix-os.git]
/
lunaix-os
/
arch
/
x86
/
hal
/
pci.c
diff --git
a/lunaix-os/arch/x86/hal/pci.c
b/lunaix-os/arch/x86/hal/pci.c
index f1321b2a7a7d71aeb435f0ebce803dc9ad4e3897..599abf71341119f8b841dad8a419bfe0ff8b166c 100644
(file)
--- a/
lunaix-os/arch/x86/hal/pci.c
+++ b/
lunaix-os/arch/x86/hal/pci.c
@@
-1,5
+1,5
@@
#include <hal/pci.h>
#include <hal/pci.h>
-#include <
sys/port_
io.h>
+#include <
asm/x86_pm
io.h>
#ifdef CONFIG_PCI_PMIO
#define PCI_CONFIG_ADDR 0xcf8
#ifdef CONFIG_PCI_PMIO
#define PCI_CONFIG_ADDR 0xcf8
@@
-19,15
+19,4
@@
pci_write_cspace(ptr_t base, int offset, pci_reg_t data)
port_wrdword(PCI_CONFIG_DATA, data);
}
port_wrdword(PCI_CONFIG_DATA, data);
}
-#endif
-
-u16_t
-pci_config_msi_data(int vector) {
- return vector;
-}
-
-ptr_t
-pci_get_msi_base() {
- return 0xFEE00000;
-}
-
+#endif
\ No newline at end of file