| 函数逻辑报告 | 
| Source Code: arch\x86\kernel\i8259.c | Create Date:2022-07-27 08:40:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:This is the 'legacy' 8259A Programmable Interrupt Controller,* present in the majority of PC/AT boxes.* plus some generic x86 specific things if generic specifics makes* any sense at all.
函数原型:static void init_8259A(int auto_eoi)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | auto_eoi | 
| 331 | i8259A_auto_eoi等于auto_eoi | 
| 333 | raw_spin_lock_irqsave( & i8259A_lock, flags) | 
| 335 | Basic port I/O | 
| 340 | outb_pic(0x11, 8259A PIC registers ) | 
| 343 | outb_pic(Vectors 0x30-0x3f are used for ISA interrupts.* round up to the next 16-vector boundary(0), PIC_MASTER_IMR) | 
| 346 | outb_pic(1U << 8259A PIC related value , PIC_MASTER_IMR) | 
| 353 | outb_pic(0x11, PIC_SLAVE_CMD) | 
| 356 | outb_pic(Vectors 0x30-0x3f are used for ISA interrupts.* round up to the next 16-vector boundary(8), PIC_SLAVE_IMR) | 
| 362 | 如果auto_eoi则屏蔽中断应答等于disable_8259A_irq | 
| 368 | 否则屏蔽中断应答等于Careful! The 8259A is a fragile beast, it pretty* much _has_ to be done exactly like this (mask it* first, _then_ send the EOI, and the order of EOI* to the two 8259s is important! | 
| 371 | 0x10c7 is 2**32 / 1000000 (rounded up) (100) | 
| 373 | Basic port I/O | 
| 374 | Basic port I/O | 
| 376 | raw_spin_unlock_irqrestore( & i8259A_lock, flags) | 
| 名称 | 描述 | 
|---|---|
| i8259A_resume | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |