All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] #INCLUDE for __ipipe_tsc_register()
@ 2013-02-14 18:16 uMinded Strikes Again
  2013-02-14 19:40 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: uMinded Strikes Again @ 2013-02-14 18:16 UTC (permalink / raw)
  To: xenomai

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-14 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-14 18:16 [Xenomai] #INCLUDE for __ipipe_tsc_register() uMinded Strikes Again
2013-02-14 19:40 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.