<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/src/device.c, branch v3.0.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/src/device.c?h=v3.0.4</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/src/device.c?h=v3.0.4'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2017-12-31T06:45:16Z</updated>
<entry>
<title>[Kernel] fix the compiling warning.</title>
<updated>2017-12-31T06:45:16Z</updated>
<author>
<name>BernardXiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2017-12-31T06:45:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=992e10ae08077fb11f4a125721c353aa1123916f'/>
<id>urn:sha1:992e10ae08077fb11f4a125721c353aa1123916f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Kernel] Add device_create/destroy api</title>
<updated>2017-12-23T16:06:29Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2017-12-23T16:00:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8ff8436fcde1d525cea6719b1f16cd29bc22c617'/>
<id>urn:sha1:8ff8436fcde1d525cea6719b1f16cd29bc22c617</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libc] Add RT_USING_POSIX macro.</title>
<updated>2017-10-17T14:27:06Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@rt-thread.com</email>
</author>
<published>2017-10-17T14:27:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8a38307e2cce628017e9eb7153ae7a2430a3d9ef'/>
<id>urn:sha1:8a38307e2cce628017e9eb7153ae7a2430a3d9ef</id>
<content type='text'>
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
</content>
</entry>
<entry>
<title>[Kernel] Add signal implementation.</title>
<updated>2017-10-15T14:31:53Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@rt-thread.com</email>
</author>
<published>2017-10-15T14:31:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b27c7e482648535760e012cd6f1afef1d800e2d2'/>
<id>urn:sha1:b27c7e482648535760e012cd6f1afef1d800e2d2</id>
<content type='text'>
1. Add signal implementation;
2. Change the 'rt_uint8_t' of cmd to 'int';
</content>
</entry>
<entry>
<title>fix the open_flag initialization issue.</title>
<updated>2016-04-02T06:42:38Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2016-04-02T06:42:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=daf488ca7736b4fb940277121f852c3037e26934'/>
<id>urn:sha1:daf488ca7736b4fb940277121f852c3037e26934</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update device.c</title>
<updated>2014-09-19T06:29:03Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2014-09-19T06:29:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bd6b39cace67fcefccb105e0e6f7609973bbb7ce'/>
<id>urn:sha1:bd6b39cace67fcefccb105e0e6f7609973bbb7ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Kernel] Better documentation for doxygen.</title>
<updated>2014-07-20T22:29:15Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2014-07-20T22:29:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=33fed1b167e1b2a653d9e58853537e40628f4e2e'/>
<id>urn:sha1:33fed1b167e1b2a653d9e58853537e40628f4e2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Kernel] Remove rt_device_init_all implemetation.</title>
<updated>2014-07-10T05:34:52Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2014-07-10T05:34:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1e7b0894949be4fe86c31ddf3c1bd754908459aa'/>
<id>urn:sha1:1e7b0894949be4fe86c31ddf3c1bd754908459aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>device: only increase the ref_count when device is truly opened</title>
<updated>2014-06-18T03:16:21Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2014-06-18T03:16:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=dc366ecf7a2946c8f071735f5f2065d51000240a'/>
<id>urn:sha1:dc366ecf7a2946c8f071735f5f2065d51000240a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>device: add ref_count support</title>
<updated>2013-07-09T07:44:55Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-07-09T03:54:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7bcce9e87fa987d4bb88d48d3f7d0aca58963e74'/>
<id>urn:sha1:7bcce9e87fa987d4bb88d48d3f7d0aca58963e74</id>
<content type='text'>
This is a simple work around to the current device stack design. A
ref_count could let different modules to open/close the same device
independently without interfere others in some degree.

But there is still some data shared between the modules, like flag,
open_flag and user_data. Moreover, it won't yield an error if A open a
device, and B read from it before open it in B. Maybe alloc a new handle
in rt_device_open will be the ultimate solution. But that is much bigger
change and we may leave it to future development.
</content>
</entry>
</feed>
