Hi Ali,

I added that parameter and here how it looks in config.ini

*[system.realview.dmac]*
*type=Pl081 *
*amba_id=1314945*
*gic=system.realview.gic*
*int_num=56*
*max_backoff_delay=10000000*
*min_backoff_delay=4000*
*pio_addr=268632064*
*pio_latency=10000*
*pio_size=4095*
*platform=system.realview*
*system=system*
*dma=system.membus.port[11]*
*pio=system.membus.port[6]*

I have replaced my device as IsaFake Device & on reading from LInux it
returned the default values as per expectations. But If i use my class Pl081
instead of IsaFake,which has almost similar read & write functions as
IsaFake its giving the same error.
Can anybody suggest what can be wrong ?

Regards,
Digant Desai.



On Thu, May 19, 2011 at 21:15, Ali Saidi <[email protected]> wrote:

> You need to add it in your device constructor.
>
> Ali
>
> On May 19, 2011, at 10:08 PM, Digant wrote:
>
> No , its not there in ambadmadevice params, do I need to add it in my param
> structure ??
>
> On May 19, 2011 8:01 PM, "Ali Saidi" <[email protected]> wrote:
>
> Are you setting the pioSize in the constructor of your dmac device to
> 0xfff?
>
> Ali
>
> On May 19, 2011, at 8:05 PM, Digant wrote:
>
> > Hi all,
> >
> > I have been trying to develop a model for Pl081 DMA controller.
> >
> > I have inherited c...
>
> > _______________________________________________
> > gem5-users mailing list
> > [email protected]
> >...
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to