[coreboot] Net and virtio problem with QEMU 0.10.0 and coreboot v2
rukhsana ansari
ruk.ansari at gmail.com
Wed Mar 18 21:20:20 CET 2009
Ron,
The following was the irq_tables.c file created when getpir was run with
QEMU using its default Bochs BIOS.
==
#ifdef GETPIR
#include "pirq_routing.h"
#else
#include <arch/pirq_routing.h>
#endif
const struct irq_routing_table intel_irq_routing_table = {
PIRQ_SIGNATURE, /* u32 signature */
PIRQ_VERSION, /* u16 version */
32+16*6, /* There can be total 6 devices on the bus */
0x00, /* Where the interrupt router lies (bus) */
(0x01<<3)|0x0, /* Where the interrupt router lies (dev) */
0, /* IRQs devoted exclusively to PCI usage */
0x8086, /* Vendor */
0x122e, /* Device */
0, /* Miniport */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
0x37, /* u8 checksum. This has to be set to some
value that would give 0 after the sum of all
bytes for this structure (including checksum) */
{
/* bus, dev|fn, {link, bitmap}, {link, bitmap}, {link,
bitmap}, {link, bitmap}, slot, rfu */
{0x00,(0x01<<3)|0x0, {{0x60, 0xdef8}, {0x61, 0xdef8}, {0x62,
0xdef8}, {0x63, 0xdef8}}, 0x0, 0x0},
{0x00,(0x02<<3)|0x0, {{0x61, 0xdef8}, {0x62, 0xdef8}, {0x63,
0xdef8}, {0x60, 0xdef8}}, 0x1, 0x0},
{0x00,(0x03<<3)|0x0, {{0x62, 0xdef8}, {0x63, 0xdef8}, {0x60,
0xdef8}, {0x61, 0xdef8}}, 0x2, 0x0},
{0x00,(0x04<<3)|0x0, {{0x63, 0xdef8}, {0x60, 0xdef8}, {0x61,
0xdef8}, {0x62, 0xdef8}}, 0x3, 0x0},
{0x00,(0x05<<3)|0x0, {{0x60, 0xdef8}, {0x61, 0xdef8}, {0x62,
0xdef8}, {0x63, 0xdef8}}, 0x4, 0x0},
{0x00,(0x06<<3)|0x0, {{0x61, 0xdef8}, {0x62, 0xdef8}, {0x63,
0xdef8}, {0x60, 0xdef8}}, 0x5, 0x0},
}
};
unsigned long write_pirq_routing_table(unsigned long addr)
{
return copy_pirq_routing_table(addr);
}
On Thu, Mar 19, 2009 at 1:39 AM, ron minnich <rminnich at gmail.com> wrote:
> On Wed, Mar 18, 2009 at 1:06 PM, rukhsana ansari <ruk.ansari at gmail.com>
> wrote:
> > Not sure if this is the procedure:
> > I copied util/getpir to the fedora9 image, booted qemu with that image
> and
> > ran getpir.
> > Got the following error:
> > Probing PIRQ table in memory.
> > No PCI IRQ routing table signature found.
> >
> well that does explain the other error.
>
> I'm sorry, my fault; this is under coreboot or under the standard qemu
> bios? I'd like to see it from the standard.
>
> ron
>
--
-Rukhsana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090319/4a53e3fc/attachment.html>
More information about the coreboot
mailing list