File tree Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,6 @@ CONFIG_RT_VBUS_USING_FLOW_CONTROL=y
183183CONFIG_RT_VBUS_USING_TESTS=y
184184CONFIG__RT_VBUS_RING_BASE=0x6f800000
185185CONFIG__RT_VBUS_RING_SZ=2097152
186- CONFIG_RT_VMM_RB_BLK_NR=32767
187186CONFIG_RT_VBUS_GUEST_VIRQ=14
188187CONFIG_RT_VBUS_HOST_VIRQ=15
189188CONFIG_RT_VBUS_SHELL_DEV_NAME="vbser0"
Original file line number Diff line number Diff line change 166166#define RT_VBUS_USING_TESTS
167167#define _RT_VBUS_RING_BASE 0x6f800000
168168#define _RT_VBUS_RING_SZ 2097152
169- #define RT_VMM_RB_BLK_NR 32767
170169#define RT_VBUS_GUEST_VIRQ 14
171170#define RT_VBUS_HOST_VIRQ 15
172171#define RT_VBUS_SHELL_DEV_NAME "vbser0"
Original file line number Diff line number Diff line change @@ -39,11 +39,6 @@ if RT_USING_VBUS
3939 help
4040 VBUS size of the ring buffer.
4141
42- config RT_VMM_RB_BLK_NR
43- int "RT_VMM_RB_BLK_NR"
44- help
45- Number of ring buffer.
46-
4742 config RT_VBUS_GUEST_VIRQ
4843 int "RT_VBUS_GUEST_VIRQ"
4944 help
Original file line number Diff line number Diff line change 66#define RT_VBUS_BLK_HEAD_SZ 4
77#define RT_VBUS_MAX_PKT_SZ (256 - RT_VBUS_BLK_HEAD_SZ)
88
9+ #define RT_VMM_RB_BLK_NR (_RT_VBUS_RING_SZ / 64 - 1)
10+
911#ifndef __ASSEMBLY__
1012#include <stddef.h> /* For size_t */
1113
You can’t perform that action at this time.
0 commit comments