博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kernel(一) interrupts
阅读量:7071 次
发布时间:2019-06-28

本文共 1147 字,大约阅读时间需要 3 分钟。

the keyboard controller(the hardware device) =======================> processor=============>operating system

                                                                          an electrical signal                                        signal

 

Different devices can be associated with different interrupts by means of a unique value associated with each interrupt.

the unique value called interrupt request lines( IRQ ). for example, on the classic PC, IRQ zero is the timer interrupt 

and IRQ one is the keyword interrupt.

 

Exceptions:

                exceptions occur synchronously with respect to the processor clock, indeed, they are often called synchronous 

interrupts.Exceptions are produced by the processor while executing instructions either in respon to a programming error.

 

Interrupt Handlers

               The function the kernel runs in response to a specific interrupt is called an interrupt handler or interrupt service routine(ISR).

the interrupt handlers run  in a special context called interrupt context.

 

 

Interrupt Context

                           interrupt context is time-critical because the interrupt handler interrupts other code. it can't sleep. so this limits the 

functions that one can call from an interrupt handler.

 

转载于:https://www.cnblogs.com/lxgeek/archive/2012/05/01/2475709.html

你可能感兴趣的文章
关于OSPF协议
查看>>
基于lvs的持久性连接
查看>>
Highly Available L7 Load Balancing for Exchange 2013 with HAProxy – Par
查看>>
linux 如何查看电脑硬件信息
查看>>
Ciscodk——MB2-700变题了
查看>>
Linux手动启动、停止多个服务用的shell脚本
查看>>
centos下MySQL主从服务器设置
查看>>
ORA-12154 TNS:无法处理服务名
查看>>
groovy 环境搭建
查看>>
高性能的MySQL(6)查询执行机制(上)
查看>>
shell脚本变量和字符串截取
查看>>
网络安全之DSSDSA算法
查看>>
序列化和反序列化的概念
查看>>
Windows服务器配置与管理------远程桌面管理
查看>>
Zeppelin的REST API接口
查看>>
DC/OS内核简介
查看>>
我的友情链接
查看>>
云端高手答疑解惑 助您开启智慧人生
查看>>
用Cronjob定时备份数据库并发送至邮箱
查看>>
智能DNS系统wddns 1.5发布同时提供免费智能解析
查看>>