期刊文献+

基于龙芯的Windows软件二进制移植研究 被引量:1

Research on Windows Software Binary Migration Based on Loongson
下载PDF
导出
摘要 由于龙芯采用无内部互锁流水级的微处理器(MIPS)指令集且主要支持Linux操作系统,但在该平台上的应用软件相对匮乏,且很多传统Windows软件无法在该平台上直接运行。针对该问题,利用Wine仿真Windows系统调用,结合QEMU用户模式实现x86指令向MIPS指令动态翻译的方法,将运行在Intel+Windows上的应用软件向龙芯+Linux平台二进制移植。实验结果表明,相比于Bochs+Wine方案和QEMU全系统仿真方案,该方法虚拟CPU运算速率为Bochs+Wine方案的8.04倍和QEMU全系统仿真方案的1.44倍,I/O读写速率为Bochs+Wine方案的2.44倍和QEM U全系统仿真方案的7.38倍,运行效率明显提高。 Since Loongson adopts Microprocessor without Interlocked Piped Stages (MIPS) instruction set and main supports the Linux operating system, application software on Loongson is still relatively scarce. Many traditional Windows software cannot run directly on the platform. To solve this problem,this paper proposes a method to simulate Windows system call by utilizing Wine emulator and uses QEMU user mode realize the dynamic translation from x86 instructions to MIPS instructions. It achieves software binary migration from Intel + Windows architecture to Loongson + Linux architecture. Experimental results show that this scheme has higher efficiency compared with Bochs + Wine and QEMU full system schemes. The rate of CPU calculation with this method is 8.04 times of Bochs + Wine scheme and 1.44 times of QEMU full system scheme. I/O calculation rate with this scheme is 2.44 times of Bochs + Wine scheme and 7.38 times of QEMU full system scheme.
出处 《计算机工程》 CAS CSCD 北大核心 2016年第10期107-112,共6页 Computer Engineering
基金 国家部委基金资助项目
关键词 QEMU虚拟机 Wine仿真环境 龙芯 指令集翻译 二进制移植 QEMU virtual machine Wine simulation environment Loongson instruction set translation binary migration
  • 相关文献

参考文献14

  • 1Lawton K P. Bochs: A Portable PC Emulator for Unix/x [ J] Linux Journal, 1996,1996 (29) :7.
  • 2Bellard F. QEMU: A Fast and Portable Dynamic Translator [ C ]//Proceedings of Annual Conference on USENIX Annual Technical Conference. Berkeley, USA: USENIX Association ,2005:41-46.
  • 3Smith J, Nair R. Virtual Machines: Versatile Platforms for Systems and Processes [ M ] Amsterdam, Holland : Elsevier, 2005.
  • 4黄聪会,陈靖,罗樵,张黎,郭一辰.面向二进制移植的虚拟化技术[J].计算机应用研究,2012,29(11):4185-4188. 被引量:5
  • 5陈乔,蒋烈辉,董卫宇,徐金龙,方明.基于动态二进制翻译技术的仿真器研究[J].计算机工程,2011,37(20):277-279. 被引量:7
  • 6Wine User' s Guide [ EB/OL ]. (2015-05-25). https :// www. winehq, org/docs/wineusr-guide/index.
  • 7胡嘉杰,蒋乐天.Android系统中Win32环境的高性能虚拟[J].计算机应用,2015,35(3):886-890. 被引量:2
  • 8苏煜,张涛,靳国杰,荣辉,王金双,赵敏.基于龙芯的Windows软件运行环境的设计与实现[J].江苏科技大学学报(自然科学版),2014,28(4):387-391. 被引量:3
  • 9Chiueh T C. A Survey on Virtualization Technologies, Technology Report: 179[ R ]. New York, USA: State University of New York at Stony Brook,2005.
  • 10Wine Developer' s Guide [ EB/OL ]. ( 2015-05-25 ). https ://www. winehq, org/docs/winedev-guide/index.

二级参考文献43

  • 1龚亚东,张辉,叶勇.WINE内核及实现Microsoft Window消息机理分析[J].计算机应用,2005,25(B12):431-433. 被引量:4
  • 2Edgar E. Debugging and Profiling Embedded Linux/CRIS Systems with QEMU[EB/OL]. (2009-10-21). http://tree.celinuxforum. org/ CelfPubWiki/ ELC2009Presentations?action=AttachFile&do= ge t&target=elc2009-qemu-cris.pdf.
  • 3Fabrice B. QEMU: The Open Source Processor Emulator[EB/OL]. (2010-03-31). http://fabrice.Bellard. Free.fr/qemu/zbout.html.
  • 4Chad D, Kersey. QEMU Internals[EB/OL]. (2009-10-21). http:// lugatgt.org/content/qemu_internals/downloads/slides.pdf.RInterna ls.pdf.
  • 5SmithJE,NairR.虚拟机:系统与进程的通用平台[M].北京:机械工业出版社.2009:251-300.
  • 6WIKIPEDIA. Usage share of operating systems [ EB/OL ]. ( 2011 - 08- 22 ) [ 2011 -08-26 ]. http ://en. wikipedia. org/wiki/Usage_share_of_operating_systems.
  • 7SMITH E, NAIR R. The architecture of virtual machines [ J]. Computer,2005,38(5 ) :32-38.
  • 8VIKRAM A, CHRIS L, MICHAEL B, et al. LLVA:a low-level virtual instruction set architecture[ C ]//Proc of the 36th Annual ACM/ IEEE International Symposium on Microarchitecture. Washington DC : IEEE Computer Society,2003:205-216.
  • 9ERIK A, DAVID K, YARON S. Welcome to the opportunities of binary translation [ J ]. Computer,2000,33 (3) :40-45.
  • 10WIKIPEDIA. Application binary interface [ EB/OL ]. (2011- 06- 24 ) [ 2011-08-29 ]. http ://en. wikipedia. org/wiki/ Application_Binary _Interface.

共引文献12

同被引文献7

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部