<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/src/portal.c, branch v1.2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/src/portal.c?h=v1.2.2</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/src/portal.c?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2013-08-22T08:43:06Z</updated>
<entry>
<title>dev/portal: fix bug in portal callback forwarding</title>
<updated>2013-08-22T08:43:06Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-22T08:43:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=246bdde8de4167065b4a52530a9c7be85c189dd8'/>
<id>urn:sha1:246bdde8de4167065b4a52530a9c7be85c189dd8</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>dev/portal: add checks on oflag</title>
<updated>2013-08-22T07:12:00Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-22T07:12:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=824261d3bc8467f6220061f43d22321f1ce50bc3'/>
<id>urn:sha1:824261d3bc8467f6220061f43d22321f1ce50bc3</id>
<content type='text'>
It does not make sense to open portal without a flag. One should open a
portal with RT_DEVICE_OFLAG_RDWR in most cases.
</content>
</entry>
<entry>
<title>dev/portal: implement portal device</title>
<updated>2013-08-20T04:54:43Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-20T02:48:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6e676e7754e9042c333ff7f3826766c6462f92be'/>
<id>urn:sha1:6e676e7754e9042c333ff7f3826766c6462f92be</id>
<content type='text'>
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.
</content>
</entry>
</feed>
