Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
70f24fb6
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
70f24fb6
编写于
8月 15, 2011
作者:
A
Anthony Liguori
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
char: rename qemu_chr_close() -> qemu_chr_delete()
Signed-off-by:
N
Anthony Liguori
<
aliguori@us.ibm.com
>
上级
f69554b9
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
8 addition
and
8 deletion
+8
-8
gdbstub.c
gdbstub.c
+2
-2
hw/ccid-card-passthru.c
hw/ccid-card-passthru.c
+1
-1
hw/usb-serial.c
hw/usb-serial.c
+1
-1
qemu-char.c
qemu-char.c
+2
-2
qemu-char.h
qemu-char.h
+1
-1
usb-redir.c
usb-redir.c
+1
-1
未找到文件。
gdbstub.c
浏览文件 @
70f24fb6
...
...
@@ -2499,7 +2499,7 @@ void gdb_exit(CPUState *env, int code)
#ifndef CONFIG_USER_ONLY
if
(
s
->
chr
)
{
qemu_chr_
clos
e
(
s
->
chr
);
qemu_chr_
delet
e
(
s
->
chr
);
}
#endif
}
...
...
@@ -2785,7 +2785,7 @@ int gdbserver_start(const char *device)
monitor_init
(
mon_chr
,
0
);
}
else
{
if
(
s
->
chr
)
qemu_chr_
clos
e
(
s
->
chr
);
qemu_chr_
delet
e
(
s
->
chr
);
mon_chr
=
s
->
mon_chr
;
memset
(
s
,
0
,
sizeof
(
GDBState
));
}
...
...
hw/ccid-card-passthru.c
浏览文件 @
70f24fb6
...
...
@@ -198,7 +198,7 @@ static void ccid_card_vscard_handle_message(PassthruState *card,
static
void
ccid_card_vscard_drop_connection
(
PassthruState
*
card
)
{
qemu_chr_
clos
e
(
card
->
cs
);
qemu_chr_
delet
e
(
card
->
cs
);
card
->
vscard_in_pos
=
card
->
vscard_in_hdr
=
0
;
}
...
...
hw/usb-serial.c
浏览文件 @
70f24fb6
...
...
@@ -428,7 +428,7 @@ static void usb_serial_handle_destroy(USBDevice *dev)
{
USBSerialState
*
s
=
(
USBSerialState
*
)
dev
;
qemu_chr_
clos
e
(
s
->
cs
);
qemu_chr_
delet
e
(
s
->
cs
);
}
static
int
usb_serial_can_read
(
void
*
opaque
)
...
...
qemu-char.c
浏览文件 @
70f24fb6
...
...
@@ -2370,7 +2370,7 @@ QString *qemu_chr_mem_to_qs(CharDriverState *chr)
return
qstring_from_substr
((
char
*
)
d
->
outbuf
,
0
,
d
->
outbuf_size
-
1
);
}
/* NOTE: this driver can not be closed with qemu_chr_
clos
e()! */
/* NOTE: this driver can not be closed with qemu_chr_
delet
e()! */
void
qemu_chr_close_mem
(
CharDriverState
*
chr
)
{
MemoryDriver
*
d
=
chr
->
opaque
;
...
...
@@ -2646,7 +2646,7 @@ void qemu_chr_fe_close(struct CharDriverState *chr)
}
}
void
qemu_chr_
clos
e
(
CharDriverState
*
chr
)
void
qemu_chr_
delet
e
(
CharDriverState
*
chr
)
{
QTAILQ_REMOVE
(
&
chardevs
,
chr
,
next
);
if
(
chr
->
chr_close
)
...
...
qemu-char.h
浏览文件 @
70f24fb6
...
...
@@ -84,7 +84,7 @@ CharDriverState *qemu_chr_new(const char *label, const char *filename, void (*in
void
qemu_chr_fe_set_echo
(
struct
CharDriverState
*
chr
,
bool
echo
);
void
qemu_chr_fe_open
(
struct
CharDriverState
*
chr
);
void
qemu_chr_fe_close
(
struct
CharDriverState
*
chr
);
void
qemu_chr_
clos
e
(
CharDriverState
*
chr
);
void
qemu_chr_
delet
e
(
CharDriverState
*
chr
);
void
qemu_chr_fe_printf
(
CharDriverState
*
s
,
const
char
*
fmt
,
...)
GCC_FMT_ATTR
(
2
,
3
);
int
qemu_chr_fe_write
(
CharDriverState
*
s
,
const
uint8_t
*
buf
,
int
len
);
...
...
usb-redir.c
浏览文件 @
70f24fb6
...
...
@@ -837,7 +837,7 @@ static void usbredir_handle_destroy(USBDevice *udev)
{
USBRedirDevice
*
dev
=
DO_UPCAST
(
USBRedirDevice
,
dev
,
udev
);
qemu_chr_
clos
e
(
dev
->
cs
);
qemu_chr_
delet
e
(
dev
->
cs
);
/* Note must be done after qemu_chr_close, as that causes a close event */
qemu_bh_delete
(
dev
->
open_close_bh
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录