I had a read through http://xenomai.org/index.php/I-pipe-core:ArmPorting but my 3.0.36 kernel does not use this style of ipipe functions. I took a look at the mach-omap2 implementation of ipipe and just copied it in my arch.
I have written functions and exported whats needed for everything `I HOPE` but I get an erro when linking: undefined reference to `__ipipe_tsc_register' My snippit of code in my timer init function: #if defined(CONFIG_IPIPE) tsc_info.type = IPIPE_TSC_TYPE_FREERUNNING, tsc_info.freq = TIMER2_HPET_CLOCK_EVENT_HZ; tsc_info.counter_vaddr = TMR_REG_o_TMR2_CUR; tsc_info.u.counter_paddr = TMR_REG_o_TMR2_CUR; tsc_info.u.mask = 0xffffffff; __ipipe_tsc_register(&tsc_info); #endif /* CONFIG_IPIPE */ The only places I find the register function is in: /arch/arm/include/asm/ipipe.h /arch/arm/kernel/ipipe_tsc.c but including either of those files does not solve the reference. Any idea what include I need for this __ipipe_tsc_register function? _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
