- 27 8月, 2014 1 次提交
-
-
由 Bernard Xiong 提交于
-
- 13 7月, 2014 1 次提交
-
-
由 bernard 提交于
-
- 23 10月, 2013 1 次提交
-
-
由 Grissiom 提交于
-
- 22 8月, 2013 2 次提交
-
-
由 Grissiom 提交于
When forwarding rx/tx callback from the underlaying device(pipe), the "dev" argument should be the portal. So the portal callback could think itself as called.
-
由 Grissiom 提交于
It does not make sense to open portal without a flag. One should open a portal with RT_DEVICE_OFLAG_RDWR in most cases.
-
- 20 8月, 2013 2 次提交
-
-
由 Grissiom 提交于
Portal is a device that connect devices. Currently, you can only connect pipes in portal. Pipes are unidirectional. But with portal, you can construct a bidirectional device with two pipes.
-
由 Grissiom 提交于
Pipe have many differences with char device. The main difference is altough pipe have both read and write, it is unidirectional in nature.
-
- 19 8月, 2013 6 次提交
-
-
由 Grissiom 提交于
-
由 Grissiom 提交于
Some reader(FinSh again) would like to block on a semaphore which is released in rx_indicate. So we should invoke rx_indicate in _rt_pipe_resume_reader.
-
由 Grissiom 提交于
The previous implementation will always blocks the reader/writer. However, at least FinSh would expect the device to be nonblocking --- read should return 0 when there is no data in it.
-
由 Grissiom 提交于
Add the APIs that will discard the old data when rb is full.
-
由 Grissiom 提交于
RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size of the empty space" or "the size of the data". Moreover, it's never a micro anymore. Change it to rt_ringbuffer_data_len before it's too late. Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
-
由 Grissiom 提交于
This provide the possibility that allocate the buffer of the ringbuffer on a specific region, instead of always mallocing it. It also bring us the benefit of using pipe device on the systems without heap.
-
- 28 6月, 2013 1 次提交
-
-
由 yiyue.fang 提交于
-
- 08 5月, 2013 2 次提交
- 08 1月, 2013 1 次提交
-
-
由 Ming, Bai 提交于
-
- 26 12月, 2012 1 次提交
-
-
由 dzzxzz@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2529 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 22 11月, 2012 1 次提交
-
-
由 dzzxzz@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2431 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 02 11月, 2012 1 次提交
-
-
由 dzzxzz@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2384 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 01 11月, 2012 1 次提交
-
-
由 dzzxzz@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2382 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 12 10月, 2012 1 次提交
-
-
由 qiuyiuestc 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 30 9月, 2012 2 次提交
-
-
由 bernard.xiong@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2314 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
由 bernard.xiong@gmail.com 提交于
Add pipe, data queue implementation; Fix the issue which leaks one item in the available data of ring buffer. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2313 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 02 7月, 2012 1 次提交
-
-
由 bernard.xiong@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2199 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 02 5月, 2012 1 次提交
-
-
由 qiuyiuestc 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2107 bbd45198-f89e-11dd-88c7-29a3b14d5316
-
- 23 4月, 2012 1 次提交
-
-
由 bernard.xiong@gmail.com 提交于
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2098 bbd45198-f89e-11dd-88c7-29a3b14d5316
-