Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mirror_resources
Qemu
提交
9195b2c2
Q
Qemu
项目概览
mirror_resources
/
Qemu
12 个月 前同步成功
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
Qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9195b2c2
编写于
10月 19, 2011
作者:
S
Stefan Weil
提交者:
Stefan Weil
10月 31, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tcg: Add tcg interpreter to configure / make
Signed-off-by:
N
Stefan Weil
<
sw@weilnetz.de
>
上级
5826e519
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
36 addition
and
2 deletion
+36
-2
Makefile.target
Makefile.target
+4
-0
configure
configure
+32
-2
未找到文件。
Makefile.target
浏览文件 @
9195b2c2
...
...
@@ -69,6 +69,7 @@ all: $(PROGS) stap
# cpu emulator library
libobj-y
=
exec.o translate-all.o cpu-exec.o translate.o
libobj-y
+=
tcg/tcg.o tcg/optimize.o
libobj-$(CONFIG_TCG_INTERPRETER)
+=
tci.o
libobj-y
+=
fpu/softfloat.o
libobj-y
+=
op_helper.o helper.o
ifeq
($(TARGET_BASE_ARCH), i386)
...
...
@@ -85,6 +86,9 @@ libobj-$(TARGET_SPARC) += int32_helper.o
libobj-$(TARGET_SPARC64)
+=
int64_helper.o
libobj-y
+=
disas.o
libobj-$(CONFIG_TCI_DIS)
+=
tci-dis.o
tci-dis.o
:
QEMU_CFLAGS += -I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/tci
$(libobj-y)
:
$(GENERATED_HEADERS)
...
...
configure
浏览文件 @
9195b2c2
...
...
@@ -138,6 +138,7 @@ debug_tcg="no"
debug_mon
=
"no"
debug
=
"no"
strip_opt
=
"yes"
tcg_interpreter
=
"no"
bigendian
=
"no"
mingw32
=
"no"
EXESUF
=
""
...
...
@@ -654,6 +655,10 @@ for opt do
;;
--enable-kvm
)
kvm
=
"yes"
;;
--disable-tcg-interpreter
)
tcg_interpreter
=
"no"
;;
--enable-tcg-interpreter
)
tcg_interpreter
=
"yes"
;;
--disable-spice
)
spice
=
"no"
;;
--enable-spice
)
spice
=
"yes"
...
...
@@ -1009,6 +1014,7 @@ echo " --enable-bluez enable bluez stack connectivity"
echo
" --disable-slirp disable SLIRP userspace network connectivity"
echo
" --disable-kvm disable KVM acceleration support"
echo
" --enable-kvm enable KVM acceleration support"
echo
" --enable-tcg-interpreter enable TCG with bytecode interpreter (TCI)"
echo
" --disable-nptl disable usermode NPTL support"
echo
" --enable-nptl enable usermode NPTL support"
echo
" --enable-system enable all system emulation targets"
...
...
@@ -2755,6 +2761,7 @@ echo "Linux AIO support $linux_aio"
echo
"ATTR/XATTR support
$attr
"
echo
"Install blobs
$blobs
"
echo
"KVM support
$kvm
"
echo
"TCG interpreter
$tcg_interpreter
"
echo
"fdt support
$fdt
"
echo
"preadv support
$preadv
"
echo
"fdatasync
$fdatasync
"
...
...
@@ -2803,6 +2810,15 @@ case "$cpu" in
armv4b|armv4l
)
ARCH
=
arm
;;
*
)
if
test
"
$tcg_interpreter
"
=
"yes"
;
then
echo
"Unsupported CPU =
$cpu
, will use TCG with TCI (experimental)"
ARCH
=
tci
else
echo
"Unsupported CPU =
$cpu
, try --enable-tcg-interpreter"
exit
1
fi
;;
esac
echo
"ARCH=
$ARCH
"
>>
$config_host_mak
if
test
"
$debug_tcg
"
=
"yes"
;
then
...
...
@@ -3036,6 +3052,9 @@ fi
if
test
"
$signalfd
"
=
"yes"
;
then
echo
"CONFIG_SIGNALFD=y"
>>
$config_host_mak
fi
if
test
"
$tcg_interpreter
"
=
"yes"
;
then
echo
"CONFIG_TCG_INTERPRETER=y"
>>
$config_host_mak
fi
if
test
"
$need_offsetof
"
=
"yes"
;
then
echo
"CONFIG_NEED_OFFSETOF=y"
>>
$config_host_mak
fi
...
...
@@ -3508,7 +3527,9 @@ cflags=""
includes
=
""
ldflags
=
""
if
test
"
$ARCH
"
=
"sparc64"
;
then
if
test
"
$tcg_interpreter
"
=
"yes"
;
then
includes
=
"-I
\$
(SRC_PATH)/tcg/tci
$includes
"
elif
test
"
$ARCH
"
=
"sparc64"
;
then
includes
=
"-I
\$
(SRC_PATH)/tcg/sparc
$includes
"
elif
test
"
$ARCH
"
=
"s390x"
;
then
includes
=
"-I
\$
(SRC_PATH)/tcg/s390
$includes
"
...
...
@@ -3585,6 +3606,10 @@ for i in $ARCH $TARGET_BASE_ARCH ; do
;;
esac
done
if
test
"
$tcg_interpreter
"
=
"yes"
;
then
echo
"CONFIG_TCI_DIS=y"
>>
$config_target_mak
echo
"CONFIG_TCI_DIS=y"
>>
$libdis_config_mak
fi
case
"
$ARCH
"
in
alpha
)
...
...
@@ -3631,7 +3656,12 @@ if test "$gprof" = "yes" ; then
fi
fi
linker_script
=
"-Wl,-T../config-host.ld -Wl,-T,
\$
(SRC_PATH)/
\$
(ARCH).ld"
if
test
"
$ARCH
"
=
"tci"
;
then
linker_script
=
""
else
linker_script
=
"-Wl,-T../config-host.ld -Wl,-T,
\$
(SRC_PATH)/
\$
(ARCH).ld"
fi
if
test
"
$target_linux_user
"
=
"yes"
-o
"
$target_bsd_user
"
=
"yes"
;
then
case
"
$ARCH
"
in
sparc
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录