首页> 外国专利> System and method for supporting context switching within a multiprocessor system having functional blocks that generate state programs with coded register load instructions

System and method for supporting context switching within a multiprocessor system having functional blocks that generate state programs with coded register load instructions

机译:用于在具有功能块的多处理器系统中支持上下文切换的系统和方法,所述功能块生成具有编码寄存器加载指令的状态程序

摘要

A context switching system for saving, restoring or swapping tasks, and is adapted for use in a multitasking processor coupled to an external or system memory. The processor includes one or more functional blocks to perform the tasks. The functional blocks comprise registers that store state data that, at a particular instant, represents the context of the system. The system comprises a controller that receives a save or switch command and generates a context save instruction in response thereto. The controller is configured to pass the context save instruction to the functional blocks. The functional blocks generate a state program. The state program comprises one or more register load instructions and the state data representing the context of the system so that context can be restored at a later time. The state program is stored in an external or system memory. Saving context as state programs permits the system to quickly switch from one context to another without losing important information.
机译:一种用于保存,恢复或交换任务的上下文切换系统,并且适合在耦合到外部或系统存储器的多任务处理器中使用。该处理器包括一个或多个执行任务的功能块。功能块包括用于存储状态数据的寄存器,该状态数据在特定时刻表示系统的上下文。该系统包括控制器,该控制器接收保存或切换命令并响应于此生成上下文保存指令。控制器被配置为将上下文保存指令传递给功能块。功能块生成状态程序。状态程序包括一个或多个寄存器加载指令和代表系统上下文的状态数据,以便可以在以后的时间恢复上下文。状态程序存储在外部或系统存储器中。将上下文另存为状态程序可以使系统快速从一个上下文切换到另一个上下文,而不会丢失重要信息。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号