What is 'new-res Mmio_ram(0x80000, 0 )' in '.io' file ?

Taeung treeze.taeung at gmail.com
Wed May 7 12:22:08 CEST 2014


Hi, l4 hackers :-)

I'm trying to secure Ethernet on L4 linux using Freescale imx6q.
Referencing other 'imx28.io' file which succeeded in securing Ethernet , 
I'm modifying my 'imx6q.io' file as follows..

===================
hw-root
{
     NIC => new Deviceo()
     {
         .hi-d = "imx6q-fec";
         new-res Mmio (0x02188000 .. 0x0218BFFF);
         new-res Irq (150);
         new-res Irq (151);
     }

     DMAMEM => new Deivce()
     {
         .hid ="dmamem";
         new-res Mmio_ram (0x80000, 0);
     }

     141x => new System_bus()
     {
         "imx6q-fec" -> wrap(hw-root.NIC);
         "dmamem" => wrap(hw-root, DMAMEM);

     )
}
===================

What mean 'DMAMEM' ?
And What is the function of which name is 'Mmio_ram()' ?

I know that 'Mmio()' need arguments which are start and end address.
But, I don't know 'Mmio_ram()'.
Please, help me.

If you tell a bit me hints, I'd appreciate it.

- Taeung -



More information about the l4-hackers mailing list