Re: [m5-dev] [m5-users] LSQUnit-Related

2008-11-23 Thread Gabe Black
In general wouldn't you dynamic_cast the sender state pointer, and couldn't you then check it for NULL? I suppose if the pointer's totally wrong then you wouldn't know what would happen, but I think that's unavoidable. Gabe Ali Saidi wrote: We've been seeing a few of these type things lately.

[m5-dev] Tada!

2008-11-23 Thread Gabe Black
This isn't all ready to check in and I need to hook up some disks, but tada! m5 slave terminal: Terminal 0 Linux version 2.6.22.9 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Gentoo 4.1.2)) #2 Mon Oct 8 13:13:00 PDT 2007 Command line: earlyprintk=ttyS0 console=ttyS0 lpj=9608015 ide0=noprobe

Re: [m5-dev] Tada!

2008-11-23 Thread nathan binkert
WOO! On Sun, Nov 23, 2008 at 2:54 PM, Gabe Black [EMAIL PROTECTED] wrote: This isn't all ready to check in and I need to hook up some disks, but tada! m5 slave terminal: Terminal 0 Linux version 2.6.22.9 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Gentoo 4.1.2)) #2 Mon Oct 8 13:13:00

Re: [m5-dev] Tada!

2008-11-23 Thread Steve Reinhardt
Awesome! Congratulations! On Sun, Nov 23, 2008 at 2:54 PM, Gabe Black [EMAIL PROTECTED] wrote: This isn't all ready to check in and I need to hook up some disks, but tada! m5 slave terminal: Terminal 0 Linux version 2.6.22.9 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Gentoo 4.1.2))

[m5-dev] IDE devices

2008-11-23 Thread Gabe Black
Does anybody out there have a lot of experience with IDE drives are supposed to hook up on an x86 machine? Our controller model looks very much like what x86 uses, except that it's set up as a PCI device. It looks like the IDE interfaces are expected to be at particular addresses, and that

Re: [m5-dev] IDE devices

2008-11-23 Thread nathan binkert
Alpha's root bridge is the Tsunami stuff. You're going to need to add the equivalent for x86. I'm not sure about how the pci devices should be set up (other than the bios does do that for you if you want to use what it gives you), but you might want to fix the root bridge problem to see if that

Re: [m5-dev] IDE devices

2008-11-23 Thread Gabe Black
I think you're right. I looked at some of the entries under /proc on my desktop (it's handy to actually work -in- x86 as well) and it looks like the IO addresses used by the IDE controller are allocated to the AMD south bridge which has a presence on the PCI bus. It looks like I'm going to have to

Re: [m5-dev] IDE devices

2008-11-23 Thread Gabe Black
And I just realized that my Intel system with an nvidia motherboard thinks it has an AMD IDE controller. Weird. Gabe Gabe Black wrote: I think you're right. I looked at some of the entries under /proc on my desktop (it's handy to actually work -in- x86 as well) and it looks like the IO

Re: [m5-dev] IDE devices

2008-11-23 Thread nathan binkert
There's also plenty of documentation on the north bridge as well. I should say that I suspect that there is not that much that you technically have to implement to make linux happy. I also suggest that you look at bochs to see what they do. to emulate all of this. On Sun, Nov 23, 2008 at 11:06