Compile msi.cpp for x86_64.

Needed to link the PCI module, not enabling it yet though, I'm not
sure whether everything needed for it is in place yet.
This commit is contained in:
Alex Smith
2012-07-20 11:53:46 +01:00
parent 385d69fc01
commit 2865db34c8
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,6 @@ if $(TARGET_ARCH) = x86_64 {
arch_user_debugger.cpp
ioapic.cpp
irq_routing_table.cpp
msi.cpp
syscall.S
x86_signals.cpp
x86_signals_asm.S
@@ -90,6 +89,7 @@ local archGenericSources =
arch_vm.cpp
arch_vm_translation_map.cpp
apic.cpp
msi.cpp
pic.cpp
# paging
+1 -1
View File
@@ -237,8 +237,8 @@ arch_int_init_io(kernel_args* args)
// TODO x86_64
#ifndef __x86_64__
ioapic_init(args);
msi_init();
#endif
msi_init();
return B_OK;
}
+4
View File
@@ -17,6 +17,10 @@ static bool sMSISupported = false;
void
msi_init()
{
#ifdef __x86_64__
// TODO x86_64.
return;
#endif
if (!apic_available()) {
dprintf("disabling msi due to missing apic\n");
return;