首页> 外国专利> Method and system for dynamically patching an operating system's interrupt mechanism

Method and system for dynamically patching an operating system's interrupt mechanism

机译:动态修补操作系统中断机制的方法和系统

摘要

In a virtual computing machine, a system and method that dynamically patches the interrupt mechanism (in interrupt vector space) of a host computing architecture with guest mode software. Significant increases in performance are achieved without depending on the host code. A patching mechanism evaluates the operating system version, processor, and code to be patched. If patchable, low-level interfaces are created dynamically; a dispatcher is written into an unused location in vector space, and instructions copied from each interrupt vector to be patched to a guest interrupt vector. For an interrupt, the new, patched instructions branch to the dispatcher, which then branches to the appropriate patched interrupt guest code. If the processor is operating as a virtual machine, the guest interrupt code handles the interrupt, otherwise the original copied instructions are replayed, followed by execution at the original host instruction in vector space that exists after the copied and patched instructions.
机译:在虚拟计算机器中,一种利用来宾模式软件动态修补主机计算体系结构的中断机制(在中断向量空间中)的系统和方法。在不依赖主机代码的情况下,可以显着提高性能。修补程序机制评估要修补的操作系统版本,处理器和代码。如果是可修补的,则低级接口是动态创建的;将调度程序写入向量空间中未使用的位置,然后将从每个中断向量复制的指令修补为客户中断向量。对于中断,新的修补指令将分支到分派器,然后分派器将分配到适当的修补中断客户代码。如果处理器作为虚拟机运行,则来宾中断代码将处理该中断,否则将重播原始复制的指令,然后在复制和修补的指令之后存在的向量空间中的原始主机指令处执行。

著录项

  • 公开/公告号US7373446B2

    专利类型

  • 公开/公告日2008-05-13

    原文格式PDF

  • 申请/专利权人 BRADLEY S. POST;RENE A. VEGA;

    申请/专利号US20040982081

  • 发明设计人 RENE A. VEGA;BRADLEY S. POST;

    申请日2004-11-05

  • 分类号G06F13/24;G06F9/455;

  • 国家 US

  • 入库时间 2022-08-21 20:12:04

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号