coreboot-kgpe-d16/src/mainboard/roda/rk886ex
Patrick Georgi 89bbcf4c9b 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@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/1559
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2012-10-05 22:04:53 +02:00
..
acpi rk886: Add ACPI support for LID switch 2012-04-24 23:09:24 +02:00
acpi_tables.c Refactor some alignment handling 2012-04-20 21:18:02 +02:00
cmos.layout Add a new CMOS variable which triggers activation of the 2011-01-27 07:39:38 +00:00
devicetree.cb roda/rk886ex: Expose VGA devices in devicetree 2012-05-04 01:54:08 +02:00
dsdt.asl ACPI: More ../../.. removal 2012-02-22 22:16:15 +01:00
fadt.c Use ACPI text fields consistently with all other boards 2011-09-21 00:31:45 +02:00
irq_tables.c Add support for the Roda RK886EX a.k.a Rocky III+ ruggedised notebook 2010-01-17 14:08:17 +00:00
Kconfig Remove copies of rtl8168.c 2012-07-26 19:02:59 +02:00
m3885.c Add new ec subdir for Embedded Controllers and common ACPI EC support 2011-01-27 11:43:03 +00:00
m3885.h Various license header consistency fixes (trivial). 2010-02-15 23:10:19 +00:00
mainboard.c Use mainboard_interrupt_handlers everywhere 2012-10-05 22:04:53 +02:00
mainboard_smi.c first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
Makefile.inc Remove copies of rtl8168.c 2012-07-26 19:02:59 +02:00
mptable.c Unify Local APIC address definitions 2012-03-08 15:39:05 +01:00
romstage.c remove usbdebug.h include from mainboard/romstage code 2011-10-30 12:37:05 +01:00