这些附加例程只用于中断模拟。
These extra routines are required only for this interrupt simulation.
当中断模拟早已运行时,就会出现这种情况。
This scenario arises when interrupt simulation is already in progress.
设置中断模拟状态标志,通知中断模拟正在运行。
Set the interrupt simulation status flag to indicate that interrupt simulation is in progress.
如果设置了中断模拟状态标志,它就会返回EBUSY。
If the interrupt simulation status flag is set, return EBUSY.
这很可能会带来中断模拟电视销售的连锁反应。
This probably led one chain to stop selling analog TVs altogether.
中断生成之后,就重新设置中断模拟状态标志,并返回成功。
Once the interrupts are generated, reset the interrupt simulation status flag and return success.
您可能会注意到,这不仅是一个硬件模拟,也不仅仅是一个中断模拟。
You might notice that this is more of a hardware simulation and not just interrupt simulation.
iteration_count是控制中断模拟循环次数的计数器。
Iteration_count is the count to control the number of iteration of interrupt simulation.
我们应该使用一个单独的ioctl命令来对中断模拟进行控制(请参阅ioctl接口一节的内容)。
A separate ioctl command should be introduced to have control over interrupt simulation (see the section on the ioctl interface).
研究了在应用开发环境中调试内核的关键技术,包括中断模拟、常处理、道程序执行环境的建立等。
Some key issues of this technique, including interrupt simulation, exception handling and the construction of multiprogramming environment, are also elaborated.
本文通过模拟各种中断,尽可能地帮助设备驱动程序开发人员测试中断服务例程。
This article helps device driver developers test the interrupt service routine as much as possible by simulating the various interrupts.
在本文介绍的例子中,我们可以完全控制所触发的中断(模拟的)。
You will have complete control over raising interrupts (simulated) in the example described throughout this article.
由于已经正确设置了(模拟)寄存器的值,IS r会正常进行处理,就仿佛它是一个真正的中断。
Since you have already set the (simulated) register values appropriately, the ISR will process normally as if it was a real interrupt.
这种方法的主要目的是模拟中断,并测试ISR是否处理了所有可能的中断。
The primary aim of this approach is to simulate interrupts and test whether the ISR handles all possible interrupts.
ioctl命令应该添加到设备驱动程序中,这样就可以从测试应用程序中控制对中断的模拟了。
A new ioctl command should be added to the device driver to control the interrupt simulation from the test application.
我们对中断和硬件模拟使用了三种主要的策略。
The three main strategies I would use for interrupt and hardware simulation are.
在这些寄存器的 #define宏前面,还应该定义另外一个宏,它用来说明 ISR 是在模拟模式中运行还是在原来的中断上下文中运行的。
On top of these register #define macros, you should also define another macro that dictates whether the ISR will run in simulation mode or in the original interrupt context. For example
需要调用这个特殊的ioctl函数INTR_SIMULATE来模拟中断。
The special ioctl function INTR_SIMULATE needs to be called to simulate the interrupts.
舒查德与其同事想出如何将这一中断传播至整个互联网并模拟了其效果。
Schuchard and colleagues worked out how to spread this disruption to the entire Internet and simulated its effects.
这个测试应用程序应该模拟部分API和应用程序的功能来处理所触发的中断。 !
This test application should simulate some part of the functionality of the APIs and applicationsto handle the raised interrupts.
操作时钟时采用了模拟时序的方式而不是常规的中断方式。
Operation of the clock timing used in the simulation of the way rather than the interruption of conventional methods.
该中断系统的实现表明,在计算机上用软件模拟硬件,应用于实验、教学和进一步的研究中是具有可行性的。
The implement of this system shows that simulating hardware with software on computer and applying this kind of system to teaching, experiment and farther research is feasible.
是否有可能停止或中断代码MATLAB如果条件达到最终的程序代码的模拟?
Is it possible to stop or interrupt a code in MATLAB if a condition is reached and end the simulation of the program code?
用户不需要任何硬件支持就可以模拟各种ARM内核、外部设备甚至中断的软件运行环境。
Users do not need any hardware to simulate a variety of ARM cores, peripherals and even interrupt the software running environment.
这次应急救援演练模拟一架出港航班在起飞过程中由于飞机故障中断起飞,飞机冲出跑道。
The exercise simulated an emergency rescue flight at takeoff clearance during take-off because of interruption of fault plane, plane off the runway.
编写程序完成页式虚拟存储管理中地址转换过程和模拟缺页中断的处理。
Writing process is complete page-based virtual memory address translation process management and simulation page fault handling.
通过对角钢控制冷却的研究,角钢冷却过程中断面温度场数值模拟结果和实验结果吻合良好。
The Angle steel cross-section temperature field in cooling process simulation and experiment results are in good agreement with controlled cooling research of Angle steel.
拱坝—地基系统稳定分析中对坝肩破坏的研究至关重要,而目前广泛采用的有限元法不能够有效地模拟岩石基础中断层、节理等薄弱面的不连续特性。
Study of abutment failure is important in stability analysis of arch dam-foundation systems. FEM cannot effectively simulate the faults and joints in rock foundations.
拱坝—地基系统稳定分析中对坝肩破坏的研究至关重要,而目前广泛采用的有限元法不能够有效地模拟岩石基础中断层、节理等薄弱面的不连续特性。
Study of abutment failure is important in stability analysis of arch dam-foundation systems. FEM cannot effectively simulate the faults and joints in rock foundations.
应用推荐