Changeset 3 for trunk/kernel/devices/dev_pic.h
- Timestamp:
- Apr 26, 2017, 2:08:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_pic.h
r1 r3 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 '' devices_input_irq'' global variable in kernel initialization.41 * and are stored in the ''chdev_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 50 54 /***************************************************************************************** 51 * This defines the (implementation independant) extension for the generic ICUdevice.55 * This defines the (implementation independant) extension for the PIC device. 52 56 ****************************************************************************************/ 53 57 … … 72 76 /***************************************************************************************** 73 77 * This function makes two initialisations: 74 * - It initializes the PIC specific fields of the devicedescriptor.78 * - It initializes the PIC specific fields of the chdev descriptor. 75 79 * - it initializes the implementation specific PIC hardware device. 76 80 * It must be executed once in the kernel initialisation phase. … … 79 83 * @ uint32_t : actual number of input IRQs. 80 84 ****************************************************************************************/ 81 void dev_pic_init( xptr_t xp_dev,82 uint32_t irq_nr );85 void dev_pic_init( struct chdev_s * chdev, 86 uint32_t irq_nr ); 83 87 84 88 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.