打印
[ARM程序分析与设计]

ARM软中断(ARM Software Interrupts)详细解释

[复制链接]
7167|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
galaxy9229|  楼主 | 2008-9-5 15:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

1:The Frame Pointer




2: Example Backtrace: If main calls foo which calls bar



Creating the “backtrace” structure


3:Normal Program Flow vs. Exceptions 


4:ARM Processor Modes (of interest to us)



5:Terminology



6:SWIs
  6.1:What do SWIs do? 



  6.2:What Happens on an SWI? (1)

https://bbs.21ic.com/upfiles/img/200710/2007102116726543.jpg
  
6.3:What Happens on an SWI? (2)

https://bbs.21ic.com/upfiles/img/200710/2007102116746135.jpg
  
6.4:“Vectoring” Exceptions to Handlers 

https://bbs.21ic.com/upfiles/img/200710/200710211687643.jpg
  
6.5:What Happens on SWI Completion? 

https://bbs.21ic.com/upfiles/img/200710/2007102116829759.jpg
  
6.6:How Do We Determine the SWI number? 

https://bbs.21ic.com/upfiles/img/200710/2007102116843863.jpg
 
 6.7:SWI Instruction Format

https://bbs.21ic.com/upfiles/img/200710/2007102116858748.jpg
  
6.8:SWI Handler Uses the “Comment” Field 

https://bbs.21ic.com/upfiles/img/200710/2007102116912614.jpg
  
6.9:Use The SWI # to Jump to “Service Routine”

https://bbs.21ic.com/upfiles/img/200710/2007102116932480.jpg
  
6.10:Problem with The Current Handler

https://bbs.21ic.com/upfiles/img/200710/2007102116947697.jpg
  
6.11:Full SWI Handler

https://bbs.21ic.com/upfiles/img/200710/2007102116106445.jpg
  
6.12:C_SWI_Handler 

https://bbs.21ic.com/upfiles/img/200710/20071021161020984.jpg
  
6.13:Loading the Vector Table 

https://bbs.21ic.com/upfiles/img/200710/20071021161034917.jpg
 
 6.14:Calling SWIs from C Code 

相关帖子

沙发
avocationA| | 2008-9-30 12:01 | 只看该作者

要是能用CN 解释下就好了

使用特权

评论回复
板凳
gotomy| | 2008-10-20 17:07 | 只看该作者

阅.不错

阅.不错

使用特权

评论回复
地板
airlonyan| | 2011-4-2 12:52 | 只看该作者
介绍得很详细。

使用特权

评论回复
5
abmin| | 2011-11-14 18:30 | 只看该作者
挺好的,像我这种新手都能看懂一点点~

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

38

主题

69

帖子

0

粉丝