qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] SH: Improve the interrupt controller


From: Vladimir Prus
Subject: Re: [Qemu-devel] SH: Improve the interrupt controller
Date: Fri, 13 Mar 2009 21:32:15 +0300
User-agent: KMail/1.11.90 (Linux/2.6.24-24-generic; KDE/4.2.65; i686; svn-936416; 2009-03-07)

On Friday 13 March 2009 20:50:22 address@hidden wrote:
> Hi,
>
> > On the CPU, INT2MSKR is initialized to all zeros, not masking anything.
> > In QEMU,
>
> Please read HW manual. According to a SH7785 HW manual(REJ09B0261-0100),
> Initial value of four mask registers are
> {ff000000,ff000000,00000000,ffffffff}. There's no general rule for initial
> value of registers.
> But default = 0 not seems to be a bad idea.
> Attached patch enables to supply initial value, otherwise 0.
>
> Tested for little endian r2d on PC with source below
> svn head: svn://svn.sv.gnu.org/qemu/address@hidden
> + --append patch : Sun, 8 Mar 2009 03:00:17 +0900 (JST)
> + intc old patch : Mon, 9 Feb 2009 03:57:25 +0900 (JST)
> + intc last patch : Wed, 18 Feb 2009 03:32:15 +0900 (JST)
> + This patch.
>
> BTW, our(mostly "my", sorry) slow conversation seems to upset some people.
> I don't care writing code without your source code, 

Hmm, maybe I am confused but I had an impression that you do have access
to the sh4a qemu -- both binary and source. 

> because my reference
> is always a HW manual. But, it is true that this style of development is
> not efficient nor interesting.

Indeed, mailing patches and revisions back and forth is cumbersome. If the
above set of patches works for you for r2d, then maybe the best approach
is to get them checked in -- and then I'll have a baseline to revise my
patch series against?

I assume that core qemu maintainers are not watching this thread closely.
Do you think you can post the above patches -- either combined, or separately,
for review?

Thanks,
Volodya





reply via email to

[Prev in Thread] Current Thread [Next in Thread]