Changes in trunk/kernel/devices/dev_pic.h [3:1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_pic.h
r3 r1 39 39 * in the PIC device extension. 40 40 * 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. 42 42 * 43 43 * This external peripheral does not execute I/O operations, but is just acting as a … … 48 48 ****************************************************************************************/ 49 49 50 /**** Forward declarations ****/51 52 struct chdev_s;53 54 50 /***************************************************************************************** 55 * This defines the (implementation independant) extension for the PICdevice.51 * This defines the (implementation independant) extension for the generic ICU device. 56 52 ****************************************************************************************/ 57 53 … … 76 72 /***************************************************************************************** 77 73 * This function makes two initialisations: 78 * - It initializes the PIC specific fields of the chdevdescriptor.74 * - It initializes the PIC specific fields of the device descriptor. 79 75 * - it initializes the implementation specific PIC hardware device. 80 76 * It must be executed once in the kernel initialisation phase. … … 83 79 * @ uint32_t : actual number of input IRQs. 84 80 ****************************************************************************************/ 85 void dev_pic_init( struct chdev_s * chdev,86 uint32_t 81 void dev_pic_init( xptr_t xp_dev, 82 uint32_t irq_nr ); 87 83 88 84 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.