Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dmidecode: Add support for 64-bit addresses | khali | 2015-04-27 | 1 | -2/+2 |
| | | | | | | | | 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. | ||||
* | util: Add read_file() function for reading sysfs files | khali | 2015-04-21 | 1 | -0/+1 |
| | | | | | | | | | | | 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. | ||||
* | Update my e-mail address | khali | 2014-02-03 | 1 | -1/+1 |
| | |||||
* | Update copyright year. | khali | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | Add utility function u64_range, which computes the range between two | khali | 2010-11-24 | 1 | -0/+1 |
| | | | | u64 values. | ||||
* | When dumping the DMI table to a binary file, truncate the file first. | khali | 2008-10-28 | 1 | -1/+1 |
| | |||||
* | Update copyright statements. | khali | 2008-02-16 | 1 | -0/+20 |
| | |||||
* | New option --dump-bin, dump the DMI data to a sparse binary file. | khali | 2008-02-16 | 1 | -0/+1 |
| | |||||
* | Define an ARRAY_SIZE macro which computes the size of a static array, and | khali | 2007-02-11 | 1 | -0/+2 |
| | | | | use it where relevant. | ||||
* | Use size_t instead of off_t when handling memory addresses. This prevents | khali | 2005-02-11 | 1 | -1/+1 |
| | | | | dmidecode from crashing on some systems with more than 2 GB of memory. | ||||
* | Function myread() has no more user outside of util.c. | khali | 2004-11-21 | 1 | -1/+0 |
| | |||||
* | New mem_chunk function. It returns a buffer containing a copy of a given | khali | 2004-05-02 | 1 | -0/+1 |
| | | | | chunk of the physical memory. | ||||
* | Common "util" functions. | khali | 2003-06-17 | 1 | -0/+6 |