2 * This file is part of the coreboot project.
4 * Copyright (C) 2008 Arastra, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #include <arch/pirq_routing.h>
23 const struct irq_routing_table intel_irq_routing_table = {
24 PIRQ_SIGNATURE, /* u32 signature */
25 PIRQ_VERSION, /* u16 version */
26 32+16*CONFIG_IRQ_SLOT_COUNT, /* u16 Table size 32+(16*devices) */
28 (0x1f << 3) | 0x0, /* u8 Device 1f, Function 0 */
29 0x0000, /* u16 reserve IRQ for PCI */
30 0x8086, /* u16 Vendor */
31 0x5031, /* Device ID */
32 0x00000000, /* u32 miniport_data */
33 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
34 0x5e, /* u8 checksum - mod 256 checksum must give zero */
35 { /* bus, devfn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
36 {0x00, 0xf8, {{0x62, 0xdc78}, {0x61, 0xdcf8}, {0x00, 0x0000}, {0x00, 0x0000}}, 0x00, 0x00},
40 unsigned long write_pirq_routing_table(unsigned long addr)
42 return copy_pirq_routing_table(addr);