On Wed, Nov 2, 2011 at 16:37, Gilles Chanteperdrix
<gilles.chanteperd...@xenomai.org> wrote:
> On 11/02/2011 04:31 PM, Gilles Chanteperdrix wrote:
>> On 11/01/2011 01:42 PM, Łukasz Sacha wrote:
>>> On Tue, Nov 1, 2011 at 12:34, Łukasz Sacha <dragi...@gmail.com> wrote:
>>>> Hello again:
>>>>
>>>> luke@dragilla:~/Desktop/moje/mini2440/linux-2.6.38.8$ make ARCH=arm
>>>> CROSS_COMPILE=arm-none-linux-gnueabi-
>>>> ...
>>>>  CC      arch/arm/kernel/fiq.o
>>>> arch/arm/kernel/fiq.c: In function 'set_fiq_handler':
>>>> arch/arm/kernel/fiq.c:87: error: dereferencing pointer to incomplete type
>>>> arch/arm/kernel/fiq.c:87: error: dereferencing pointer to incomplete type
>>>> arch/arm/kernel/fiq.c:89: error: dereferencing pointer to incomplete type
>>>> arch/arm/kernel/fiq.c:89: error: dereferencing pointer to incomplete type
>>>> make[1]: *** [arch/arm/kernel/fiq.o] Error 1
>>>> make: *** [arch/arm/kernel] Error 2
>>>> luke@dragilla:~/Desktop/moje/mini2440/linux-2.6.38.8$
>>>>
>>>> This is how it looks like
>>>> 80:void set_fiq_handler(void *start, unsigned int length)
>>>> 81:{
>>>> 82:#if defined(CONFIG_CPU_USE_DOMAINS)
>>>> 83:        memcpy((void *)0xffff001c, start, length);
>>>> 84:#else
>>>> 85:        memcpy(vectors_page + 0x1c, start, length);
>>>> 86:#endif
>>>> 87:        flush_icache_range(0xffff001c, 0xffff001c + length);
>>>> 88:        if (!vectors_high())
>>>> 89:                flush_icache_range(0x1c, 0x1c + length);
>>>> 90:}
>>>>
>>>> Any ideas?
>>>
>>> Please take a look at this as this is piece of code the adeos i-pipe
>>> patch (./ksrc/arch/arm/patches/adeos-ipipe-2.6.38.8-arm-1.18-03.patch)
>>> modifies : in line 819.
>>
>> Indeed, we need the definition of struct task_struct in
>> asm/cacheflush.h, the following patch should help:
>> http://git.xenomai.org/?p=ipipe-gch.git;a=commitdiff;h=ca2793e18d538d07a648583c47d40fff405c4778;hp=e68e48bebdc551a534ecd6fdbd839eb9ee2637f7
>>
>> A new patch will be out soon.
>>
>
> Your configuration has FCSE disabled, enabling it improves latencies on
> s3c processors.

Thank you for the tip. Guaranteed (with preemptible cache flushes)  or
best-efford setting? My guess is the first one.

regards,
-- 
LS

_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to