<br><br><div class="gmail_quote">On Tue, Dec 2, 2008 at 11:59 AM, Marc Jones <span dir="ltr"><<a href="mailto:marcj303@gmail.com">marcj303@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;">
<div class="Ih2E3d">On Tue, Dec 2, 2008 at 11:06 AM, Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>> wrote:<br>
> Here's the read_resources code from qemu after my latest patch.  Is this<br>
> what people are thinking?  Notice that I explicitly allocate VGA space and<br>
> APIC.  At the end of the code I'm pasting in a snippet of the log that shows<br>
> the resources after they are assigned values.<br>
<br>
</div>I think I like this. It makes sense to me. The legacy VGA space nadd<br>
the legacy IO space should be reserved in the southbridge as you have<br>
done.</blockquote><div>I actually think I just bumped up the base in the northbridge this time around.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 The IOAPIC address should be held by the southbridge since that<br>
is where it is a located.</blockquote><div>OK.  <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;">The LAPIC should probably be in the<br>

CPU/northbridge device.</blockquote><div>So I got this one right?  No I put it in the domain.<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>
It would be handy to show the fixed resources in the output.</blockquote><div><br>Because of a typo the two APIC reservations clobbered each other, so only one is there.  The rest of the fixed allocations should be there.<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><div class="Ih2E3d">
> Show resources in subtree (root)...After assigning values.<br>
>  Root Device links 1 child on link 0 cpus<br>
>  Root Device resource base 1000 size 410 align 8 gran 0 limit ffff flags<br>
> 80100 index 0<br>
<br>
</div>Coreboot allocates IO from the bottom (0x1000) up? </blockquote><div>Yes.<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;">
I think it should<br>
allocate top down as it does with memory. I think that the rule is<br>
that the BIOS allocates top down and the OS allocates bottom up.</blockquote><div><br>I don't think that would match v2 or the factory BIOS for serengeti or qemu.  Is there a packing reason?<br><br>Thanks,<br>Myles<br>
</div></div><br>