From 59140ccdf384346ab0a6112baee175a01ed5bd9f Mon Sep 17 00:00:00 2001 From: "arch import user (historical)" Date: Wed, 6 Jul 2005 18:17:35 +0000 Subject: Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-61 Creator: Yinghai Lu write_pirq_routing_table for x86 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1979 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/tables.c | 2 +- src/arch/i386/include/arch/pirq_routing.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/arch/i386') diff --git a/src/arch/i386/boot/tables.c b/src/arch/i386/boot/tables.c index b148abd1c2..e22530e503 100644 --- a/src/arch/i386/boot/tables.c +++ b/src/arch/i386/boot/tables.c @@ -23,7 +23,7 @@ struct lb_memory *write_tables(void) post_code(0x9a); /* This table must be betweeen 0xf0000 & 0x100000 */ - rom_table_end = copy_pirq_routing_table(rom_table_end); + rom_table_end = write_pirq_routing_table(rom_table_end); rom_table_end = (rom_table_end + 1023) & ~1023; /* copy the smp block to address 0 */ diff --git a/src/arch/i386/include/arch/pirq_routing.h b/src/arch/i386/include/arch/pirq_routing.h index f4dbe78b19..ef6fbeed0d 100644 --- a/src/arch/i386/include/arch/pirq_routing.h +++ b/src/arch/i386/include/arch/pirq_routing.h @@ -41,8 +41,10 @@ extern const struct irq_routing_table intel_irq_routing_table; #if HAVE_PIRQ_TABLE==1 unsigned long copy_pirq_routing_table(unsigned long start); +unsigned long write_pirq_routing_table(unsigned long start); #else #define copy_pirq_routing_table(start) (start) +#define write_pirq_routing_table(start) (start) #endif #endif /* ARCH_PIRQ_ROUTING_H */ -- cgit v1.2.3