the following patch was just integrated into master:
commit 06e13f36b86b27f20569f71403f95a359f2931b1
Author: Patrick Georgi <[email protected]>
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 <[email protected]>

Build-Tested: build bot (Jenkins) at Fri Oct  5 20:32:50 2012, giving +1
Reviewed-By: Stefan Reinauer <[email protected]> at Fri Oct  5 
22:04:52 2012, giving +2
See http://review.coreboot.org/1559 for details.

-gerrit

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to