commit | be24d8198c56f8d2d6dc67c40a78c64b46860819 | [log] [tgz] |
---|---|---|
author | Anti Sullin <anti.sullin@artecdesign.ee> | Mon May 17 23:19:22 2010 +0000 |
committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | Mon May 17 23:19:22 2010 +0000 |
tree | c26570ac185a8f1571728dfef2495f0b679dc43e | |
parent | 8841d3e703e3d3f7c7920b7f9439fc9333c15638 [diff] |
Write MSRs in a platform and compiler-independent form Msr_t memory layout may depend on compiler; with optimizations this may lead to writing incorrect data to MSR. Create a temporary buffer with correct layout to avoid this problem. Corresponding to flashrom svn r999. Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>