Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_pic.h

    r3 r1  
    3939 * in the PIC device extension. 
    4040 * The "source" device for each input IRQ is also defined in the ''arch_info'' file,
    41  * and are stored in the ''chdev_input_irq'' global variable in kernel initialization.
     41 * and are stored in the ''devices_input_irq'' global variable in kernel initialization.
    4242 *
    4343 * This external peripheral does not execute I/O operations, but is just acting as a
     
    4848 ****************************************************************************************/
    4949 
    50 /****  Forward declarations  ****/
    51 
    52 struct chdev_s;
    53 
    5450/*****************************************************************************************
    55  * This defines the (implementation independant) extension for the PIC device.
     51 * This defines the (implementation independant) extension for the generic ICU device.
    5652 ****************************************************************************************/
    5753
     
    7672/*****************************************************************************************
    7773 * This function makes two initialisations:
    78  * - It initializes the PIC specific fields of the chdev descriptor.
     74 * - It initializes the PIC specific fields of the device descriptor.
    7975 * - it initializes the implementation specific PIC hardware device.
    8076 * It must be executed once in the kernel initialisation phase.
     
    8379 * @ uint32_t   : actual number of input IRQs.
    8480 ****************************************************************************************/
    85 void dev_pic_init( struct chdev_s * chdev,
    86                    uint32_t         irq_nr );
     81void dev_pic_init( xptr_t   xp_dev,
     82                   uint32_t irq_nr );
    8783
    8884/*****************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.