Changeset 190 for trunk/hal


Ignore:
Timestamp:
Jul 13, 2017, 8:26:47 AM (4 years ago)
Author:
max@…
Message:

hide soclib

Location:
trunk/hal
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_drivers.h

    r136 r190  
    3232    uint32_t irq_type, lid_t lid);
    3333
     34void hal_drivers_pic_init(chdev_t *dev);
     35
    3436#endif  /* HAL_DRIVERS_H_ */
    3537
  • trunk/hal/tsar_mips32/core/hal_drivers.c

    r136 r190  
    5252}
    5353
     54/* -------------------------------------------------------------------------- */
     55
     56void hal_drivers_pic_init(chdev_t *dev)
     57{
     58        /* 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;
     65}
  • trunk/hal/x86_64/core/hal_drivers.c

    r137 r190  
    5252}
    5353
     54/* -------------------------------------------------------------------------- */
     55
     56void hal_drivers_pic_init(chdev_t *dev)
     57{
     58        /* update the PIC chdev extension */
     59/*      TODO
     60        pic->ext.pic.enable_timer = &soclib_pic_enable_timer;
     61        pic->ext.pic.enable_irq   = &soclib_pic_enable_irq;
     62        pic->ext.pic.disable_irq  = &soclib_pic_disable_irq;
     63        pic->ext.pic.bind_irq     = &soclib_pic_bind_irq;
     64        pic->ext.pic.send_ipi     = &soclib_pic_send_ipi;
     65        pic->ext.pic.extend_init  = &soclib_pic_extend_init;
     66*/
     67}
     68
Note: See TracChangeset for help on using the changeset viewer.