Changes between Version 3 and Version 4 of pic_device_api


Ignore:
Timestamp:
Jan 22, 2020, 4:08:46 PM (4 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pic_device_api

    v3 v4  
    1313This external peripheral does not execute I/O operations, but is just acting as a dynamically configurable interrupt router for another I/O operation. Therefore, ALMOS-MK does not use the PIC device waiting queue, but call directly the PIC driver blocking functions to dynamically configure the PIC component.
    1414
    15 == B) Access Functions ==
     15== B) Access functions ==
    1616
    17 === 1) '''void dev_pic_init'''( xptr_t   xp_dev ,  uint32_t irq_nr ) ===
     17* '''void dev_pic_init'''( xptr_t   xp_dev ,  uint32_t irq_nr )'''
    1818
    1919This function makes two initializations:
     
    2121It is executed once in the kernel initialisation phase.
    2222
    23 === 2) '''void dev_pic_bind_irq'''( uint32_t   irq_id ,  cxy_t  cxy ,  uint32_t   wti_id ) ===
     23* '''void dev_pic_bind_irq'''( uint32_t   irq_id ,  cxy_t  cxy ,  uint32_t   wti_id )'''
    2424
    2525This function link a WTI mailbox to the PIC input IRQ identified by its index, and unmask the selected input IRQ.
     
    2727is the WTI mailbox index in cluster.
    2828
    29 === 3) '''void dev_pic_unbind_irq'''( uint32_t  irq_id ) ===
     29* '''void dev_pic_unbind_irq'''( uint32_t  irq_id )'''
    3030
    31 This function mask a PIC input IRQ identified by its index. The <irq_id> argument is the input IRQ index.
     31This function masks the PIC input IRQ identified by its index. The <irq_id> argument is the input IRQ index.