Re: [m5-dev] [PATCH] HG: Add compiled hg revision and date to the standard M5 output

2008-05-24 Thread nathan binkert
I just got back from my trip. I'll try to review this in the next couple of days, but I'm going to work on getting the copyright stuff done first. Nate On Thu, May 22, 2008 at 2:01 PM, Ali Saidi <[EMAIL PROTECTED]> wrote: > So this fixes some bugs in the previous version (specifically hginfo.c

Re: [m5-dev] 8254 PIT (timer device) programming

2008-05-24 Thread Ali Saidi
I imagine it's both, and implementation dependent if an interrupt occurs when the PIT timer expires, but it's been a long time. I imagine the datasheet for at 8254 timer would be a good place to start. Ali On May 24, 2008, at 5:40 AM, Gabe Black wrote: I'm at a point now where the kernel

[m5-dev] 8254 PIT (timer device) programming

2008-05-24 Thread Gabe Black
I'm at a point now where the kernel is trying to wait for the 8254 timer to tick 300 times before moving to the local APIC timer to use for timer interrupts. As we determined before, the 8254 is the same as the PIT used in Alpha Tsunami, so I'm going to move the Alpha code to a neutral locat

Re: [m5-dev] local APIC timer and bus frequency

2008-05-24 Thread Gabe Black
Steve Reinhardt wrote: Thanks for the email... can't say I really follow all the nuances after a quick read, but I'm glad you're thinking about it. Just a few comments off the top of my head: The common indexing scheme across all register types is something we inherited from SimpleScalar. It's

Re: [m5-dev] local APIC timer and bus frequency

2008-05-24 Thread Steve Reinhardt
Thanks for the email... can't say I really follow all the nuances after a quick read, but I'm glad you're thinking about it. Just a few comments off the top of my head: The common indexing scheme across all register types is something we inherited from SimpleScalar. It's not ideal for actually i

Re: [m5-dev] local APIC timer and bus frequency

2008-05-24 Thread Gabe Black
Oh, and one thing I forgot, registers can be like faults where they're little islands of the ISA. They know how to translate indexes, and they could use bitunions, which if it works (I don't remember if it does) could be inherited from (or inherit, with some modifications) to be able to pull ou