Hi,<br>
<br>
I have some follow up questions regarding the same topic. how do you guys read the device ID, vendor ID of the pci? I
see this function pci_hdr1_vendor_id_rd() but I don't really understand about the .dev file format. Do you guys read from the pci conf headers or using acpi commands?<br><br>Thanks,<br>Hilfi Alkaff<br><br><div class="gmail_quote">
On Thu, Aug 4, 2011 at 5:01 PM, hilfi alkaff <span dir="ltr"><<a href="mailto:hilfialkaff@berkeley.edu">hilfialkaff@berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Oh, of course, how I did not realize that, >.<,, Thanks!<br><font color="#888888"><br>Hilfi Alkaff</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 4:16 PM, Baumann Andrew <span dir="ltr"><<a href="mailto:andrewb@inf.ethz.ch" target="_blank">andrewb@inf.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I’m
not sure what you mean by this, since pci_add_root() is a function in
Barrelfish and not ACPICA, but the general answer to your question is
probably that
you can’t use the ACPICA reference in isolation: you also need to grok
parts of the PCI spec (or just the bad Mindshare books), the ACPI spec,
the PNPBIOS spec (mainly just for the device IDs), and if in doubt also
the source code to something clean like FreeBSD
to make sense of it all.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Good luck :)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Andrew<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt" lang="EN-US">From:</span></b><span style="font-size:10.0pt" lang="EN-US"> hilfi alkaff [mailto:<a href="mailto:hilfialkaff@berkeley.edu" target="_blank">hilfialkaff@berkeley.edu</a>]
<br>
<b>Sent:</b> Thursday, 04 August, 2011 15:47<br>
<b>To:</b> <a href="mailto:barrelfish-users@lists.inf.ethz.ch" target="_blank">barrelfish-users@lists.inf.ethz.ch</a><br>
<b>Subject:</b> [Barrelfish-users] Details regarding pci support with acpi<u></u><u></u></span></p>
</div>
</div><div><div></div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi,<br>
<br>
I'm an undergraduate currently working on a research operating system
and I'm having problems when initializing pci and mapping its interrupts
with ACPI. I'm wondering how do you guys figure out the pci_add_root()
function because I could not find any meaningful
details in Intel's acpica reference.<br>
<br>
Thanks,<br>
Hilfi Alkaff<u></u><u></u></p>
</div></div></div>
</div>
</div>
</blockquote></div><br>
</div></div></blockquote></div><br>