Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
090f7ac5
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,发现更多精彩内容 >>
提交
090f7ac5
编写于
10月 24, 2012
作者:
P
Paolo Bonzini
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
net: move Bluetooth stuff out of net.h
Signed-off-by:
N
Paolo Bonzini
<
pbonzini@redhat.com
>
上级
f8fe7964
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
17 addition
and
21 deletion
+17
-21
bt-host.c
bt-host.c
+0
-1
bt-host.h
bt-host.h
+12
-1
bt-vhci.c
bt-vhci.c
+1
-1
hw/bt-hci-csr.c
hw/bt-hci-csr.c
+1
-1
hw/bt-hci.c
hw/bt-hci.c
+1
-1
hw/bt.c
hw/bt.c
+1
-1
hw/usb/dev-bluetooth.c
hw/usb/dev-bluetooth.c
+1
-1
net.h
net.h
+0
-14
未找到文件。
bt-host.c
浏览文件 @
090f7ac5
...
...
@@ -18,7 +18,6 @@
*/
#include "qemu-common.h"
#include "net.h"
#include "bt-host.h"
#include "main-loop.h"
...
...
bt-host.h
浏览文件 @
090f7ac5
#ifndef BT_HOST_H
#define BT_HOST_H
struct
HCIInfo
;
/* BT HCI info */
struct
HCIInfo
{
int
(
*
bdaddr_set
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
bd_addr
);
void
(
*
cmd_send
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
data
,
int
len
);
void
(
*
sco_send
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
data
,
int
len
);
void
(
*
acl_send
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
data
,
int
len
);
void
*
opaque
;
void
(
*
evt_recv
)(
void
*
opaque
,
const
uint8_t
*
data
,
int
len
);
void
(
*
acl_recv
)(
void
*
opaque
,
const
uint8_t
*
data
,
int
len
);
};
/* bt-host.c */
struct
HCIInfo
*
bt_host_hci
(
const
char
*
id
);
struct
HCIInfo
*
qemu_next_hci
(
void
);
#endif
bt-vhci.c
浏览文件 @
090f7ac5
...
...
@@ -18,7 +18,7 @@
*/
#include "qemu-common.h"
#include "
ne
t.h"
#include "
bt-hos
t.h"
#include "hw/bt.h"
#include "main-loop.h"
...
...
hw/bt-hci-csr.c
浏览文件 @
090f7ac5
...
...
@@ -22,7 +22,7 @@
#include "qemu-char.h"
#include "qemu-timer.h"
#include "irq.h"
#include "
ne
t.h"
#include "
bt-hos
t.h"
#include "bt.h"
struct
csrhci_s
{
...
...
hw/bt-hci.c
浏览文件 @
090f7ac5
...
...
@@ -21,7 +21,7 @@
#include "qemu-common.h"
#include "qemu-timer.h"
#include "usb.h"
#include "
ne
t.h"
#include "
bt-hos
t.h"
#include "bt.h"
struct
bt_hci_s
{
...
...
hw/bt.c
浏览文件 @
090f7ac5
...
...
@@ -18,7 +18,7 @@
*/
#include "qemu-common.h"
#include "
ne
t.h"
#include "
bt-hos
t.h"
#include "bt.h"
/* Slave implementations can ignore this */
...
...
hw/usb/dev-bluetooth.c
浏览文件 @
090f7ac5
...
...
@@ -21,7 +21,7 @@
#include "qemu-common.h"
#include "hw/usb.h"
#include "hw/usb/desc.h"
#include "
ne
t.h"
#include "
bt-hos
t.h"
#include "hw/bt.h"
struct
USBBtState
{
...
...
net.h
浏览文件 @
090f7ac5
...
...
@@ -133,20 +133,6 @@ extern int nb_nics;
extern
NICInfo
nd_table
[
MAX_NICS
];
extern
int
default_net
;
/* BT HCI info */
struct
HCIInfo
{
int
(
*
bdaddr_set
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
bd_addr
);
void
(
*
cmd_send
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
data
,
int
len
);
void
(
*
sco_send
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
data
,
int
len
);
void
(
*
acl_send
)(
struct
HCIInfo
*
hci
,
const
uint8_t
*
data
,
int
len
);
void
*
opaque
;
void
(
*
evt_recv
)(
void
*
opaque
,
const
uint8_t
*
data
,
int
len
);
void
(
*
acl_recv
)(
void
*
opaque
,
const
uint8_t
*
data
,
int
len
);
};
struct
HCIInfo
*
qemu_next_hci
(
void
);
/* from net.c */
extern
const
char
*
legacy_tftp_prefix
;
extern
const
char
*
legacy_bootp_filename
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录