| 数据搜索系统,热门电子元器件搜索 |
|
ST20-GP1 数据表(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP1 数据表(HTML) 24 Page - STMicroelectronics |
|
24 / 116 page ![]() ST20-GP1 24/116 ® Figure 4.4 Trap arrangement There are four groups of traps, as detailed below. • Breakpoint This group consists of the Breakpoint trap. The breakpoint instruction (j0) calls the break- point routine via the trap mechanism. • Errors The traps in this group are IntegerError and Overflow. Overflow represents arithmetic over- flow, such as arithmetic results which do not fit in the result word. IntegerError represents errors caused when data is erroneous, for example when a range checking instruction finds that data is out of range. • System operations This group consists of the LoadTrap, StoreTrap and IllegalOpcode traps. The IllegalOpcode trap is signalled when an attempt is made to execute an illegal instruction. The LoadTrap and StoreTrap traps allow a kernel to intercept attempts by a monitored process to change or examine trap handlers or trapped process information. It enables a user program to sig- nal to a kernel that it wishes to install a new trap handler. • Scheduler The scheduler trap group consists of the ExternalChannel, InternalChannel, Timer, TimeS- lice, Run, Signal, ProcessInterrupt and QueueEmpty traps. The ProcessInterrupt trap sig- nals that the machine has performed a priority interrupt from low to high. The QueueEmpty trap indicates that there is no further executable work to perform. The other traps in this group indicate that the hardware scheduler wants to schedule a process on a process queue, with the different traps enabling the different sources of this to be monitored. The scheduler traps enable a software scheduler kernel to use the hardware scheduler to implement a multi-priority software scheduler. Note that scheduler traps are different from other traps as they are caused by the micro- scheduler rather than by an executing process. Note, when the scheduler trap is caused by a process that is ready to be scheduled, the Wptr of that process is stored in the workspace of the scheduler trap handler, at address 0. The trap handler can access this using a ldl 0 instruction. Low priority traps High priority traps Breakpoint trap handler CPU Error trap handler System operations trap handler Scheduler trap handler Breakpoint trap handler CPU Error trap handler System operations trap handler Scheduler trap handler |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |