[coreboot] Patch merged into coreboot/master: 06e13f3 Use mainboard_interrupt_handlers everywhere
gerrit at coreboot.org
gerrit at coreboot.org
Fri Oct 5 22:04:54 CEST 2012
the following patch was just integrated into master:
commit 06e13f36b86b27f20569f71403f95a359f2931b1
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Sun Sep 23 18:41:03 2012 +0200
Use mainboard_interrupt_handlers everywhere
The previous commit provides a mainboard_interrupt_handlers
implementation YABEL with identical semantics to the
x86emu one, so let's use it in both cases.
This eliminates the need for the int15_install()
indirection, so let's drop that, too.
Generated using the following coccinelle patch and
manual cleanups (empty #if/#endif):
@@
type T;
identifier FUNCARR;
expression INT, HANDLER;
@@
-typedef T yabel_handleIntFunc;
-extern yabel_handleIntFunc FUNCARR[256];
-FUNCARR[INT] = HANDLER;
+mainboard_interrupt_handlers(INT, &HANDLER);
@@
@@
-void int15_install(void)
-{
-mainboard_interrupt_handlers(0x15, &int15_handler);
-}
@@
@@
-void int15_install(void)
-{
-mainboard_interrupt_handlers(0x15, &int15_handler); ... mainboard_interrupt_handlers(0x15, &int15_handler);
-}
@@
@@
-int15_install();
+mainboard_interrupt_handlers(0x15, &int15_handler);
Change-Id: I70fd780d7ebf1564a2ff7d7148411673f6de113c
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Build-Tested: build bot (Jenkins) at Fri Oct 5 20:32:50 2012, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer at coreboot.org> at Fri Oct 5 22:04:52 2012, giving +2
See http://review.coreboot.org/1559 for details.
-gerrit
More information about the coreboot
mailing list