loading ...
loading...

2007-06-29 | 运行于龙芯的 QEMU——target-i386

分享
标签: loongson  qemu 

运行于龙芯的 QEMU——target-i386

在龙芯上模拟 x86 CPU。使用的版本: qemu 20070623 cvs 版加上一个 loongson patch。

target机器描述:

CPU:x86/x86_64,最多 255 颗 SMP;

i440FX host PCI bridge and PIIX3 PCI to ISA bridge
Cirrus CLGD 5446 PCI VGA card or dummy VGA card with Bochs VESA extensions (hardware level, including all non standard modes).
PS/2 mouse and keyboard
2 PCI IDE interfaces with hard disk and CD-ROM support
Floppy disk
NE2000 PCI network adapters
Serial ports
Creative SoundBlaster 16 sound card
ENSONIQ AudioPCI ES1370 sound card
Adlib(OPL2) - Yamaha YM3812 compatible chip
PCI UHCI USB controller and a virtual USB hub.

全系统模拟:

使用的命令:

qemu -hda win98_hda.img -m 64M -soundhw sb16

运行截图:

用户模式模拟:

命令输出如下:

debian:~/qemu/test/user# uname -a
Linux debian 2.6.18.1lemote #1 Sat Jan 13 16:02:26 CST 2007 mips GNU/Linux
debian:~/qemu/test/user# file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
debian:~/qemu/test/user# ./hello
Hello, world!
debian:~/qemu/test/user#

 

分享 分享 |  评论 (1) |  阅读 (?)  |  固定链接 |  发表于 10:41
搜狐博客温馨提示:搜狐博客官方不会要求参加活动的各位博友缴纳任何的手续费用。请勿轻信留言、评论中的中奖信息,更不要拨打陌生电话及向陌生帐户汇款,谨防受骗!识别更多网络骗术,请 点击查看详情
正在读取评论信息...
您还未登录,只能匿名发表评论。或者您可以 登录 后发表。
 
  *中国人爱国心,搜狗输入法爱国主题皮肤下载>>
表  情:
加载中...
回复通知: 同时用小纸条通知对方该回复