Ignore:
File:
1 edited

Legend:

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

    r1 r3  
    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 ''devices_input_irq'' global variable in kernel initialization.
     41 * and are stored in the ''chdev_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
     52struct chdev_s;
     53
    5054/*****************************************************************************************
    51  * This defines the (implementation independant) extension for the generic ICU device.
     55 * This defines the (implementation independant) extension for the PIC device.
    5256 ****************************************************************************************/
    5357
     
    7276/*****************************************************************************************
    7377 * This function makes two initialisations:
    74  * - It initializes the PIC specific fields of the device descriptor.
     78 * - It initializes the PIC specific fields of the chdev descriptor.
    7579 * - it initializes the implementation specific PIC hardware device.
    7680 * It must be executed once in the kernel initialisation phase.
     
    7983 * @ uint32_t   : actual number of input IRQs.
    8084 ****************************************************************************************/
    81 void dev_pic_init( xptr_t   xp_dev,
    82                    uint32_t irq_nr );
     85void dev_pic_init( struct chdev_s * chdev,
     86                   uint32_t         irq_nr );
    8387
    8488/*****************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.