Hi Gilles,

i would like to know, the behavior of the following structure ! What do the
members imply?

static struct map_desc intcp_io_desc[] __initdata = {
{ IO_ADDRESS(INTEGRATOR_HDR_BASE),   INTEGRATOR_HDR_BASE,   SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_SC_BASE),    INTEGRATOR_SC_BASE,    SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_EBI_BASE),   INTEGRATOR_EBI_BASE,   SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_CT_BASE),    INTEGRATOR_CT_BASE,    SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_IC_BASE),    INTEGRATOR_IC_BASE,    SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_UART0_BASE), INTEGRATOR_UART0_BASE, SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_UART1_BASE), INTEGRATOR_UART1_BASE, SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_DBG_BASE),   INTEGRATOR_DBG_BASE,   SZ_4K,
MT_DEVICE },
{ IO_ADDRESS(INTEGRATOR_GPIO_BASE),  INTEGRATOR_GPIO_BASE,  SZ_4K,
MT_DEVICE },
{ 0xfc900000, 0xc9000000, SZ_4K, MT_DEVICE },
{ 0xfca00000, 0xca000000, SZ_4K, MT_DEVICE },
{ 0xfcb00000, 0xcb000000, SZ_4K, MT_DEVICE },
};

Ur inputs wud be valuable.

Thanks and Regards,

Preetam
On 3/10/07, Gilles Chanteperdrix <[EMAIL PROTECTED]> wrote:

Preetam Joshi wrote:
> Hi Gilles,
>            Thanks a lot for your quick response. I am doing the same
> activity. I am trying to port the xenomai patchfor LPC22xx on uClinux. I
am
> getting Undefined references for the symbols in ipipe-core.c,
ipipe-root.c.
> So i am trying to map and define the correct values  from those files to
> LPC22xx related files in arch/arm/mach-lpc22xx and in arch/arm/kernel.
Is
> this right thing i am doing? If you have any idea about how to port ,
Please
> Let me know. It would be a great help from you.

Yes, you are doing the right thing. A simple way to do it is to have a
look at other machines. What needs to be written for a new ARM machine is:
- the hardware timer interrupt handling and timestamp counter emulation,
  if your timer hardware is based on a decrementer, have a look at the
  integrator implementation, if your timer hardware is based on a
  free-running counter with match register, have a look at the PXA
  implementation;
- if needed, the GPIOs interrupt demultiplexing, all implemented ARMs so
  far have this, so have a look at any of them.

--


                                            Gilles Chanteperdrix.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to