Re: [Qemu-devel] [PATCH] Implement the global timer present in ARM MPCore chips.

2011-07-07 Thread Christopher Harvey
On Wed, Jul 06, 2011 at 10:58:09PM +0100, Peter Maydell wrote: > On 6 July 2011 21:04, Christopher Harvey wrote: > > Below are some random comments noticed on a first-pass. > > > +/* Global timer data */ > > +static uint64_t global_timer_count = 0; > > +static uint64_t global_timer_this_inc = 0;

Re: [Qemu-devel] [PATCH] Implement the global timer present in ARM MPCore chips.

2011-07-06 Thread Peter Maydell
On 6 July 2011 21:04, Christopher Harvey wrote: > [a patch for A9 global timer] Cool, thanks. > Reminder: > There are probably bugs in this code, do not commit :P (You can flag that by saying "[RFC]" in the subject rather than "[PATCH]".) The first thing to note is that hw/mpcore.c is shared b

[Qemu-devel] [PATCH] Implement the global timer present in ARM MPCore chips.

2011-07-06 Thread Christopher Harvey
I just rebased this from a REALLY old version and made some changes. Before I go ahead and clean it up and properly test I wanted to run it by this list to make sure it wont get rejected after all that work. You can read about the hardware here: http://infocenter.arm.com/help/index.jsp?topic=/com