<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Oct 20, 2008 at 9:23 PM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This code is now callable from anywhere. Here is output. This call is<br>
from initram. It looks like the dumper code or the routes are wrong in<br>
some, not all, cases. I am gone for next week on travel so<br>
I wanted to give people a look at it.</blockquote><div><br>Thanks.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
TODO: mv mainboard.c to stage2.c<br>
mv util.c to dumproutes.c<br>
</blockquote><div><br>This patch cleans up the showallroutes utility:<br>1. fix if->in in comments<br>2. change width of output for different types<br>3. make all masks 0x so that it's easy to tell a mask<br><br>It also changes the invocations to do function 1 instead of 0.<br>
<br>I think we should consider a name that makes it clear that this is only good<br>for AMD K8+ processors function 1.  We might need a similar utility for other<br>functions later. <br><br>Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
DRAM(40)01000000-00ffffff, ->(1), R, W, 2 nodes, 1<br>
DRAM(48)01000000-00ffffff, ->(1), R, W, 2 nodes, 1<br>
DRAM(50)01000000-00ffffff, ->(1), R, W, 2 nodes, 1<br>
DRAM(58)01000000-00ffffff, ->(1), R, W, 2 nodes, 1<br>
DRAM(60)00000000-00ffffff, ->(4), , , No interleave, 0<br>
DRAM(68)00000000-00ffffff, ->(0), R, W, 8 nodes, 0<br>
DRAM(70)00000000-00ffffff, ->(0), , , No interleave, 0<br>
DRAM(78)00000000-00ffffff, ->(0), , , No interleave, 0<br>
MMIO(80)01a00000-1100ffff, ->(0,2), , , CPU disable 0, Lock 0, Non posted 0<br>
MMIO(88)75060000-0000ffff, ->(2,0), , , CPU disable 0, Lock 0, Non posted 0<br>
MMIO(90)51040000-3f00ffff, ->(0,0), , , CPU disable 1, Lock 0, Non posted 0<br>
MMIO(98)00000000-0000ffff, ->(0,0), R, W, CPU disable 0, Lock 0, Non posted 0<br>
MMIO(a0)01c00000-1100ffff, ->(0,1), , , CPU disable 0, Lock 0, Non posted 1<br>
MMIO(a8)75000000-0000ffff, ->(2,0), , , CPU disable 0, Lock 0, Non posted 0<br>
MMIO(b0)51040000-0000ffff, ->(0,0), , , CPU disable 1, Lock 0, Non posted 0<br>
MMIO(b8)00000000-0000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>
PCIIO(c0)00001010-00003110, ->(0,1), , ,VGA 0 ISA 0<br>
PCIIO(c8)00000750-00000000, ->(2,0), , ,VGA 0 ISA 1<br>
PCIIO(d0)00002510-00000000, ->(0,0), , ,VGA 1 ISA 0<br>
PCIIO(d8)00000000-00000000, ->(0,0), , ,VGA 0 ISA 0<br>
CONFIG(e0)00000000-00000000 ->(0,0),  CE 0<br>
CONFIG(e4)00000000-00000000 ->(0,0),  CE 0<br>
CONFIG(e8)00000000-00000000 ->(0,0),  CE 0<br>
CONFIG(ec)00000000-00000000 ->(0,0),  CE 0</blockquote><div><br>Output with patch:<br>DRAM(40)0000000000-000fffffff, ->(0), R, W, No interleave, 0<br>DRAM(48)0000000000-0000ffffff, ->(1), , , No interleave, 0<br>
DRAM(50)0000000000-0000ffffff, ->(2), , , No interleave, 0<br>DRAM(58)0000000000-0000ffffff, ->(3), , , No interleave, 0<br>DRAM(60)0000000000-0000ffffff, ->(4), , , No interleave, 0<br>DRAM(68)0000000000-0000ffffff, ->(5), , , No interleave, 0<br>
DRAM(70)0000000000-0000ffffff, ->(6), , , No interleave, 0<br>DRAM(78)0000000000-0000ffffff, ->(7), , , No interleave, 0<br>MMIO(80)0000000000-000000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>MMIO(88)0000000000-000000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>
MMIO(90)0000000000-000000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>MMIO(98)0000000000-000000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>MMIO(a0)0000000000-000000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>
MMIO(a8)0000000000-000000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>MMIO(b0)0000000000-000000ffff, ->(0,0), , , CPU disable 0, Lock 0, Non posted 0<br>MMIO(b8)00fc000000-00ffffffff, ->(0,0), R, W, CPU disable 0, Lock 0, Non posted 0<br>
PCIIO(c0)0000000-1ffffff, ->(0,0), R, W,VGA 0 ISA 0<br>PCIIO(c8)0000000-0000fff, ->(0,0), , ,VGA 0 ISA 0<br>PCIIO(d0)0000000-0000fff, ->(0,0), , ,VGA 0 ISA 0<br>PCIIO(d8)0000000-0000fff, ->(0,0), , ,VGA 0 ISA 0<br>
CONFIG(e0)3f-00 ->(0,0),R W CE 0<br>CONFIG(e4)00-00 ->(0,0),  CE 0<br>CONFIG(e8)00-00 ->(0,0),  CE 0<br>CONFIG(ec)00-00 ->(0,0),  CE 0 <br><br>Thanks,<br>Myles<br></div></div><br></div>