首页> 外国专利> Method of using a plurality of virtual memory spaces for providing efficient binary compatibility between a plurality of source architectures and a single target architecture

Method of using a plurality of virtual memory spaces for providing efficient binary compatibility between a plurality of source architectures and a single target architecture

机译:使用多个虚拟内存空间在多个源体系结构和单个目标体系结构之间提供有效的二进制兼容性的方法

摘要

A plurality of virtual memory spaces is implemented in a computer system designed to be binary-compatible with one or a plurality of foreign architectures. A single primary virtual memory space, designated as the native VM space, contains native codes directly executable by the host microprocessor, such as the binary translated codes and the binary translation process/system itself. One or a plurality of secondary virtual memory spaces, designated as the foreign VM space(s), contain foreign data and codes (to be translated into binary translated codes in the primary VM space) only, hence encompassing no native code executable by the host microprocessor directly. In one embodiment, each foreign architecture supported by the host microprocessor through the binary translation process is provided its own secondary VM space; hence the number of the secondary VM spaces supported equals the number of the foreign architectures supported. While all VM spaces are directly supported by the host microprocessor MMU hardware including, for example, corresponding address translation schemes and exception delivery, their properties may differ significantly, allowing for the primary VM to exploit the host microprocessor architecture benefits to the fullest possible extent at the same time as the secondary VM spaces mimic VM spaces of the corresponding foreign microprocessor architectures. After corresponding address translation, addresses from both the primary and the secondary VM space(s) are mapped to a single physical address space of the host microprocessor.
机译:在设计成与一个或多个外部体系结构二进制兼容的计算机系统中实现多个虚拟存储器空间。单个主要虚拟内存空间(称为本机VM空间)包含可由主机微处理器直接执行的本机代码,例如二进制翻译的代码和二进制翻译进程/系统本身。被指定为外部VM空间的一个或多个辅助虚拟内存空间仅包含外部数据和代码(将在主VM空间中转换为二进制翻译的代码),因此不包含主机可执行的本机代码直接微处理器。在一个实施例中,由主机微处理器通过二进制翻译过程支持的每个外部体系结构都被提供了其自己的辅助虚拟机空间。因此,支持的辅助虚拟机空间的数量等于支持的外部体系结构的数量。虽然所有微处理器空间都由主机微处理器MMU硬件直接支持,包括例如相应的地址转换方案和异常传递,但它们的属性可能存在显着差异,从而允许主VM在最大程度上充分利用主机微处理器体系结构的优势。与辅助VM空间同时模拟相应外部微处理器体系结构的VM空间。经过相应的地址转换后,来自主VM空间和辅助VM空间的地址都映射到主机微处理器的单个物理地址空间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号