<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dmidecode-git.git/util.h, branch dmidecode-3-1</title>
<subtitle>git.savannah.gnu.org: git/dmidecode.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/'/>
<entry>
<title>util: Let callers pass an offset to read_file</title>
<updated>2017-04-11T09:41:43+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2017-04-11T09:41:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=6d0486c40d1a68fa5c4c730531cbf32bfd9f76c4'/>
<id>6d0486c40d1a68fa5c4c730531cbf32bfd9f76c4</id>
<content type='text'>
When reading from a dump file, read_file would be more convenient to
use than mem_chunk, but it lacks an offset parameter.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When reading from a dump file, read_file would be more convenient to
use than mem_chunk, but it lacks an offset parameter.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Let read_file return the actual data size</title>
<updated>2015-11-02T08:45:26+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2015-11-02T08:45:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=de9a74e1c60210bee229fcf55b1678a99d1b44dd'/>
<id>de9a74e1c60210bee229fcf55b1678a99d1b44dd</id>
<content type='text'>
Let read_file return the actual data size to the caller. This gives
the caller the possibility to check that the data size is as expected
and large enough for the purpose, and report to the user if not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let read_file return the actual data size to the caller. This gives
the caller the possibility to check that the data size is as expected
and large enough for the purpose, and report to the user if not.
</pre>
</div>
</content>
</entry>
<entry>
<title>dmidecode: Add support for 64-bit addresses</title>
<updated>2015-04-27T08:36:16+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2015-04-27T08:36:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=aaf09f62ce6a8925239bf588521388be5fa6c2db'/>
<id>aaf09f62ce6a8925239bf588521388be5fa6c2db</id>
<content type='text'>
We can easily support 64-bit addresses by compiling dmidecode with
-D_FILE_OFFSET_BITS=64. This looks reasonably portable.

Also add support for 32-bit long tables, as SMBIOS 3.0.0 allows it,
even though I don't expect to see such a long DMI table any time soon.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can easily support 64-bit addresses by compiling dmidecode with
-D_FILE_OFFSET_BITS=64. This looks reasonably portable.

Also add support for 32-bit long tables, as SMBIOS 3.0.0 allows it,
even though I don't expect to see such a long DMI table any time soon.
</pre>
</div>
</content>
</entry>
<entry>
<title>util: Add read_file() function for reading sysfs files</title>
<updated>2015-04-21T07:04:27+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2015-04-21T07:04:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=2339e722b49efda38bdfe4a4b9996efc440c5567'/>
<id>2339e722b49efda38bdfe4a4b9996efc440c5567</id>
<content type='text'>
Add a function that can read a complete, unknown size file for
reading entry point files from sysfs.  This function models its signature
on the mem_chunk() funtion, so it also allocates memory that the caller
needs to free.  The files that we are interested in reading are very small,
and have a known upper bound on the size.  The EINTR handling is based
on the myread() function.

Contributed by Roy Franz.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a function that can read a complete, unknown size file for
reading entry point files from sysfs.  This function models its signature
on the mem_chunk() funtion, so it also allocates memory that the caller
needs to free.  The files that we are interested in reading are very small,
and have a known upper bound on the size.  The EINTR handling is based
on the myread() function.

Contributed by Roy Franz.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update my e-mail address</title>
<updated>2014-02-03T09:33:56+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2014-02-03T09:33:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=c92efe3e23afc94a5cb8ec6f6390fe83f00f71f2'/>
<id>c92efe3e23afc94a5cb8ec6f6390fe83f00f71f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year.</title>
<updated>2010-11-24T13:42:21+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2010-11-24T13:42:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=bbe7d7bee5e5abe55d96ba67d1d8efdaea87f4cb'/>
<id>bbe7d7bee5e5abe55d96ba67d1d8efdaea87f4cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add utility function u64_range, which computes the range between two</title>
<updated>2010-11-24T12:48:17+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2010-11-24T12:48:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=79e46469093fc5bbbf4e358822e1e9ac9a1d1638'/>
<id>79e46469093fc5bbbf4e358822e1e9ac9a1d1638</id>
<content type='text'>
u64 values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
u64 values.
</pre>
</div>
</content>
</entry>
<entry>
<title>When dumping the DMI table to a binary file, truncate the file first.</title>
<updated>2008-10-28T10:17:50+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2008-10-28T10:17:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=98d7d95d3a6d10a00838ad95d892ad9e936dc8ee'/>
<id>98d7d95d3a6d10a00838ad95d892ad9e936dc8ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright statements.</title>
<updated>2008-02-16T18:55:52+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2008-02-16T18:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=2ed993701d289f89e04865da3d9b69e4abd3d5ea'/>
<id>2ed993701d289f89e04865da3d9b69e4abd3d5ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>New option --dump-bin, dump the DMI data to a sparse binary file.</title>
<updated>2008-02-16T18:12:35+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2008-02-16T18:12:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/dmidecode-git.git/commit/?id=4e721204a471e64c041a4c260707d0d52d1811e6'/>
<id>4e721204a471e64c041a4c260707d0d52d1811e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
