Ignore:
Timestamp:
Jul 13, 2017, 12:35:48 PM (7 years ago)
Author:
max@…
Message:

sync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/core/hal_drivers.c

    r190 r196  
    2727#include <soclib_tty.h>
    2828#include <soclib_xcu.h>
     29#include <soclib_pic.h>
    2930
    3031void hal_drivers_txt_init(chdev_t *dev)
     
    5758{
    5859        /* update the PIC chdev extension */
    59         pic->ext.pic.enable_timer = &soclib_pic_enable_timer;
    60         pic->ext.pic.enable_irq   = &soclib_pic_enable_irq;
    61         pic->ext.pic.disable_irq  = &soclib_pic_disable_irq;
    62         pic->ext.pic.bind_irq     = &soclib_pic_bind_irq;
    63         pic->ext.pic.send_ipi     = &soclib_pic_send_ipi;
    64         pic->ext.pic.extend_init  = &soclib_pic_extend_init;
     60        dev->ext.pic.enable_timer = &soclib_pic_enable_timer;
     61        dev->ext.pic.enable_irq   = &soclib_pic_enable_irq;
     62        dev->ext.pic.disable_irq  = &soclib_pic_disable_irq;
     63        dev->ext.pic.bind_irq     = &soclib_pic_bind_irq;
     64        dev->ext.pic.send_ipi     = &soclib_pic_send_ipi;
     65        dev->ext.pic.extend_init  = &soclib_pic_extend_init;
    6566}
Note: See TracChangeset for help on using the changeset viewer.