Skip to contentSkip to conversation

x86_64 - missing header

Xenomai-core Applied Paul 2 participants 2 messages Feb 27, 2007

lore
Share & tools
lore

Paul

author
#0 lore raw

Hi Philippe

Trying very hard to keep up with the rate of commits - The latest 1.0-05 patch in conjuntion with r2264 fails with the error:

arch/x86_64/xenomai/hal.c:51:22: error: mach_ipi.h: No such file or directory arch/x86_64/xenomai/hal.c: In function ‘rthal_broadcast_to_local_timers’:
arch/x86_64/xenomai/hal.c:104: warning: implicit declaration of function ‘send_IPI_all’

Looks like mach_ipi.h is missing from my 2.6.19 tree, but the function is declared in asm/mach_apic.h - The attached patch resolves this minor problem.

Regards, Paul.

arch/x86_64/hal.c +1 -1
Index: ksrc/arch/x86_64/hal.c
===================================================================
@@ -48,7 +48,7 @@
 #include <asm/io_apic.h>
 #include <asm/apic.h>
 #include <asm/xenomai/hal.h>
-#include <mach_ipi.h>
+#include <asm/mach_apic.h>
 #include <stdarg.h>
 
 static struct {
#1 lore raw
Quoted 5 lines · Paul

Hi Philippe

Trying very hard to keep up with the rate of commits - The latest 1.0-05 patch in conjuntion with r2264 fails with the error:

Quoted 8 lines

arch/x86_64/xenomai/hal.c:51:22: error: mach_ipi.h: No such file or directory arch/x86_64/xenomai/hal.c: In function ‘rthal_broadcast_to_local_timers’:
arch/x86_64/xenomai/hal.c:104: warning: implicit declaration of function ‘send_IPI_all’

Looks like mach_ipi.h is missing from my 2.6.19 tree, but the function is declared in asm/mach_apic.h - The attached patch resolves this minor problem.

Merged, thanks.

Btw, I'm keeping an eye on the MTRR issue, which also happens over ia32 when starting X. This problem might have ramifications outside of the mtrr driver code though. This definitely needs more investigations.

The urgent issue that remains to be fixed so far in the x86_64 patch concerns the pipelining of the debug exceptions, so that GDB could be usable with Xenomai apps in user-space. I'm on it.

Signature · 1 line
Philippe.