<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/io/src/io.c, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2019-11-13T22:25:03Z</updated>
<entry>
<title>io: Fix printing 4 bytes memory on 64 bit systems</title>
<updated>2019-11-13T22:25:03Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2019-11-07T21:13:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=9936e16b724b4388204e21e2d4c3f49283d980eb'/>
<id>urn:sha1:9936e16b724b4388204e21e2d4c3f49283d980eb</id>
<content type='text'>
On 64 bit Linux systems long is 8 bytes long, on 32 bit Linux systems it
is 4 bytes long. Here we want to print 4 bytes and not 8 bytes, use int
instead of long.

This fixes printing 4 bytes on 64 bit systems.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>io: Open /dev/mem with O_SYNC for uncached access</title>
<updated>2019-07-24T11:57:09Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2019-07-22T13:03:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=90df0f3e241dc233c3121dfc5e1be937c6c987bc'/>
<id>urn:sha1:90df0f3e241dc233c3121dfc5e1be937c6c987bc</id>
<content type='text'>
Only when /dev/mem is opened with O_SYNC the write and *read* is done
uncached. We saw wrong values read out from the hardware without setting
O_SYNC, the busybox devmem tool showed different values, when O_SYNC is
also set for the io tool, it reads out the same values as devmem.
When looking at the drivers/char/mem.c file in the kernel it is behaving
differently based on the O_DSYNC flag.

Signed-off-by: Hauke Mehrtens &lt;hauke.mehrtens@intel.com&gt;
</content>
</entry>
<entry>
<title>io: add io-tool</title>
<updated>2016-12-17T14:20:05Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2016-12-11T23:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5f54e6c61e54d5fbcf7a61155b8f95092d648094'/>
<id>urn:sha1:5f54e6c61e54d5fbcf7a61155b8f95092d648094</id>
<content type='text'>
This add the io tool from the old package feed.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
</feed>
