summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--CHANGELOG24
2 files changed, 25 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index ff305bd..0ab28fc 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -63,3 +63,4 @@ Torsten Seemann
Garry Belka
Klaus Muth
Antoine Fuselier
+Matthew Garrett
diff --git a/CHANGELOG b/CHANGELOG
index bc16bfe..e19bd91 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,27 @@
+2006-05-10 Jean Delvare <khali@linux-fr.org>
+
+ * dmidecode.c: Don't cast from u8* to dmi_header*, else
+ architectures which do not support unaligned memory accesses
+ may break. Instead, copy the members individually. That's a
+ bit slower, but that's also safer and we only need to do it
+ once per DMI entry, so it's not time critical. So far, we
+ were using a trick to later work around the unaligned memory
+ access, but the compiler would still warn about the risk,
+ which is always confusing.
+ * config.h, types.h, README: Automatically enable the unaligned
+ memory access workaround on ia64.
+ * types.h: Inline U64. It makes sense per se and also lets us
+ get rid of a warning about U64 being unused.
+ * dmidecode.c: Detect EFI at run-time rather than compilation-
+ time. Based on an original patch from Matthew Garrett. This
+ will make x86 binaries work for both PC systems with BIOS and
+ Macintosh systems with EFI. Also prevent a possible, though
+ unlikely, NULL-pointer dereference in the EFI code.
+
+2006-02-25 Jean Delvare <khali@linux-fr.org>
+
+ * dmidecode.c: Fix typo reported by David Wilson (DMI case 3).
+
2006-02-04 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Update lookup table from revision 2006-01-31 of IBM