summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorkhali <khali>2015-04-21 07:11:14 +0000
committerkhali <khali>2015-04-21 07:11:14 +0000
commit5b0396acbcb739f6e1437baf1ba96cf73557b5d4 (patch)
tree981e85139b0009e11f5096274aef9c834650b642 /CHANGELOG
parentb4f32bd3341060d1ee2b3424e9e73b679299a98b (diff)
downloaddmidecode-5b0396acbcb739f6e1437baf1ba96cf73557b5d4.tar.gz
dmidecode: Add passing of flags parameter to dmi_table()
This allows dmi_table() to print the address that the table was read from, even when reading from a sysfs file. Previous to sysfs support, the address of the table was always the same as the offset within the file it was read from (usually /dev/mem.) For sysfs files that contain just the table at offset 0, we still want to pass the address and display that as normal, but read from offset 0 in the file. If the flag FLAG_NO_FILE_OFFSET is passed, dmi_table() uses 'base' as the DMI table address for display, but uses 0 as the file offset. Contributed by Roy Franz.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 3fc9573..c6830e9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,7 @@
* util.c, util.h: Add utility function read_file, which reads an
entire binary file into a buffer.
+ * dmidecode.c: Add passing of flags parameter to dmi_table.
2015-04-20 Jean Delvare <jdelvare@suse.de>