All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] HAL
@ 2007-03-27 11:44 Preetam Joshi
  2007-03-27 12:36 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Preetam Joshi @ 2007-03-27 11:44 UTC (permalink / raw)
  To: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]

Hi what i would like to know is whether xenomai native skins have any
relation to the HAL files provided in the same project?

[-- Attachment #2: Type: text/html, Size: 130 bytes --]

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

* Re: [Xenomai-help] HAL
  2007-03-27 11:44 [Xenomai-help] HAL Preetam Joshi
@ 2007-03-27 12:36 ` Gilles Chanteperdrix
  2007-03-27 13:43   ` Preetam Joshi
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-27 12:36 UTC (permalink / raw)
  To: Preetam Joshi; +Cc: xenomai-help

Preetam Joshi wrote:
> Hi what i would like to know is whether xenomai native skins have any
> relation to the HAL files provided in the same project?

There is only one native skin. The HAL files are used for the
implementation of Xenomai nucleus, the component which is used to
implement all Xenomai skins. Why are you asking this ?

-- 
                                                 Gilles Chanteperdrix


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

* Re: [Xenomai-help] HAL
  2007-03-27 12:36 ` Gilles Chanteperdrix
@ 2007-03-27 13:43   ` Preetam Joshi
  2007-03-27 13:49     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Preetam Joshi @ 2007-03-27 13:43 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 7030 bytes --]

The reason i asked is because i wanted to use the native API but before that
when i am compiling the kernel i get the following errors

All errors in hal.c file basically

kernel/xenomai/arch/generic/hal.c: At top level:
kernel/xenomai/arch/generic/hal.c:73: parse error before `rthal_apc_lock'
kernel/xenomai/arch/generic/hal.c:73: warning: type defaults to `int' in
declaration of `rthal_apc_lock'
kernel/xenomai/arch/generic/hal.c:73: `RTHAL_SPIN_LOCK_UNLOCKED' undeclared
here (not in a function)
kernel/xenomai/arch/generic/hal.c:73: warning: data definition has no type
or storage class
kernel/xenomai/arch/generic/hal.c:81: parse error before
`rthal_trap_handler'
kernel/xenomai/arch/generic/hal.c:81: warning: type defaults to `int' in
declaration of `rthal_trap_handler'
kernel/xenomai/arch/generic/hal.c:81: warning: data definition has no type
or storage class
kernel/xenomai/arch/generic/hal.c: In function `rthal_critical_enter':
kernel/xenomai/arch/generic/hal.c:89: warning: implicit declaration of
function `rthal_grab_superlock'
kernel/xenomai/arch/generic/hal.c: In function `rthal_critical_exit':
kernel/xenomai/arch/generic/hal.c:102: warning: implicit declaration of
function `rthal_release_superlock'
kernel/xenomai/arch/generic/hal.c: At top level:
kernel/xenomai/arch/generic/hal.c:154: parse error before
`rthal_irq_handler_t'
kernel/xenomai/arch/generic/hal.c:156: warning: function declaration isn't a
prototype
kernel/xenomai/arch/generic/hal.c: In function `rthal_irq_request':
kernel/xenomai/arch/generic/hal.c:157: `handler' undeclared (first use in
this function)
kernel/xenomai/arch/generic/hal.c:157: (Each undeclared identifier is
reported only once
kernel/xenomai/arch/generic/hal.c:157: for each function it appears in.)
kernel/xenomai/arch/generic/hal.c:157: `irq' undeclared (first use in this
function)
kernel/xenomai/arch/generic/hal.c:160: warning: implicit declaration of
function `rthal_virtualize_irq'
kernel/xenomai/arch/generic/hal.c:163: `cookie' undeclared (first use in
this function)
kernel/xenomai/arch/generic/hal.c:164: `ackfn' undeclared (first use in this
function)
kernel/xenomai/arch/generic/hal.c: In function `rthal_irq_host_pend':
kernel/xenomai/arch/generic/hal.c:297: warning: implicit declaration of
function `rthal_propagate_irq'
kernel/xenomai/arch/generic/hal.c: At top level:
kernel/xenomai/arch/generic/hal.c:384: parse error before `rthal_trap_catch'
kernel/xenomai/arch/generic/hal.c:384: parse error before `handler'
kernel/xenomai/arch/generic/hal.c:385: warning: return-type defaults to
`int'
kernel/xenomai/arch/generic/hal.c:385: warning: function declaration isn't a
prototype
kernel/xenomai/arch/generic/hal.c: In function `rthal_trap_catch':
kernel/xenomai/arch/generic/hal.c:386: `rthal_trap_handler_t' undeclared
(first use in this function)
kernel/xenomai/arch/generic/hal.c:386: `handler' undeclared (first use in
this function)
kernel/xenomai/arch/generic/hal.c:387: warning: control reaches end of
non-void function
kernel/xenomai/arch/generic/hal.c: In function `rthal_apc_handler':
kernel/xenomai/arch/generic/hal.c:392: `rthal_declare_cpuid' undeclared
(first use in this function)
kernel/xenomai/arch/generic/hal.c:394: warning: implicit declaration of
function `rthal_load_cpuid'
kernel/xenomai/arch/generic/hal.c:396: warning: implicit declaration of
function `rthal_spin_lock'
kernel/xenomai/arch/generic/hal.c:406: `cpuid' undeclared (first use in this
function)
kernel/xenomai/arch/generic/hal.c:412: warning: implicit declaration of
function `rthal_spin_unlock'
kernel/xenomai/arch/generic/hal.c: In function `rthal_apc_alloc':
kernel/xenomai/arch/generic/hal.c:520: warning: implicit declaration of
function `rthal_spin_lock_irqsave'
kernel/xenomai/arch/generic/hal.c:531: warning: implicit declaration of
function `rthal_spin_unlock_irqrestore'
kernel/xenomai/arch/generic/hal.c:514: warning: `flags' might be used
uninitialized in this function
kernel/xenomai/arch/generic/hal.c: In function `rthal_apc_schedule':
kernel/xenomai/arch/generic/hal.c:597: `rthal_declare_cpuid' undeclared
(first use in this function)
kernel/xenomai/arch/generic/hal.c:598: parse error before `unsigned'
kernel/xenomai/arch/generic/hal.c:603: warning: implicit declaration of
function `rthal_local_irq_save'
kernel/xenomai/arch/generic/hal.c:603: `flags' undeclared (first use in this
function)
kernel/xenomai/arch/generic/hal.c:607: `cpuid' undeclared (first use in this
function)
kernel/xenomai/arch/generic/hal.c:608: warning: implicit declaration of
function `rthal_schedule_irq'
kernel/xenomai/arch/generic/hal.c:610: warning: implicit declaration of
function `rthal_local_irq_restore'
kernel/xenomai/arch/generic/hal.c: In function `rthal_proc_register':
kernel/xenomai/arch/generic/hal.c:764: warning: implicit declaration of
function `rthal_nmi_proc_register'
kernel/xenomai/arch/generic/hal.c: In function `rthal_proc_unregister':
kernel/xenomai/arch/generic/hal.c:771: warning: implicit declaration of
function `rthal_nmi_proc_unregister'
kernel/xenomai/arch/generic/hal.c: In function `rthal_init':
kernel/xenomai/arch/generic/hal.c:784: warning: implicit declaration of
function `rthal_arch_init'
kernel/xenomai/arch/generic/hal.c:791: invalid use of undefined type `struct
rthal_calibration_data'
kernel/xenomai/arch/generic/hal.c:792: invalid use of undefined type `struct
rthal_calibration_data'
kernel/xenomai/arch/generic/hal.c:796: warning: implicit declaration of
function `rthal_alloc_virq'
kernel/xenomai/arch/generic/hal.c:804: `rthal_current_domain' undeclared
(first use in this function)
kernel/xenomai/arch/generic/hal.c:830: warning: implicit declaration of
function `rthal_register_domain'
kernel/xenomai/arch/generic/hal.c:833: `rthal_domain_entry' undeclared
(first use in this function)
kernel/xenomai/arch/generic/hal.c:871: warning: implicit declaration of
function `rthal_free_virq'
kernel/xenomai/arch/generic/hal.c:874: warning: implicit declaration of
function `rthal_arch_cleanup'
kernel/xenomai/arch/generic/hal.c: In function `rthal_exit':
kernel/xenomai/arch/generic/hal.c:887: `rthal_current_domain' undeclared
(first use in this function)
kernel/xenomai/arch/generic/hal.c:901: warning: implicit declaration of
function `rthal_unregister_domain'
kernel/xenomai/arch/generic/hal.c: At top level:
kernel/xenomai/arch/generic/hal.c:79: storage size of `rthal_tunables' isn't
known

All these vasriables and functions are declared in header file hal.h and
that is being included in the file but no luck.



On 3/27/07, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
>
> Preetam Joshi wrote:
> > Hi what i would like to know is whether xenomai native skins have any
> > relation to the HAL files provided in the same project?
>
> There is only one native skin. The HAL files are used for the
> implementation of Xenomai nucleus, the component which is used to
> implement all Xenomai skins. Why are you asking this ?
>
> --
>                                                  Gilles Chanteperdrix
>

[-- Attachment #2: Type: text/html, Size: 8095 bytes --]

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

* Re: [Xenomai-help] HAL
  2007-03-27 13:43   ` Preetam Joshi
@ 2007-03-27 13:49     ` Gilles Chanteperdrix
  2007-03-31  3:54       ` Preetam Joshi
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-27 13:49 UTC (permalink / raw)
  To: Preetam Joshi; +Cc: xenomai-help

Preetam Joshi wrote:
> The reason i asked is because i wanted to use the native API but before
> that when i am compiling the kernel i get the following errors
> 

Could you tell us what version of linux and xenomai you are using and
send us your .config ?

-- 
                                                 Gilles Chanteperdrix


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

* Re: [Xenomai-help] HAL
  2007-03-27 13:49     ` Gilles Chanteperdrix
@ 2007-03-31  3:54       ` Preetam Joshi
  0 siblings, 0 replies; 5+ messages in thread
From: Preetam Joshi @ 2007-03-31  3:54 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Hi Gilles ,

Thanks for ur response but i could solve that problem, the errors were
because of the kernel mismatch as i was trying 2.6.19 patch on uClinux -
dist having 2.6.11 kernel.

But it has been resolved as i have now compiled xenomai with uClinux-dist
2007 having 2.6.19 kernel  for LPC22xx

Thanks for ur support. Will let u know if ne concerns.

On 3/27/07, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
>
> Preetam Joshi wrote:
> > The reason i asked is because i wanted to use the native API but before
> > that when i am compiling the kernel i get the following errors
> >
>
> Could you tell us what version of linux and xenomai you are using and
> send us your .config ?
>
> --
>                                                  Gilles Chanteperdrix
>

[-- Attachment #2: Type: text/html, Size: 1354 bytes --]

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

end of thread, other threads:[~2007-03-31  3:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-27 11:44 [Xenomai-help] HAL Preetam Joshi
2007-03-27 12:36 ` Gilles Chanteperdrix
2007-03-27 13:43   ` Preetam Joshi
2007-03-27 13:49     ` Gilles Chanteperdrix
2007-03-31  3:54       ` Preetam Joshi

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.