diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2011-03-08 07:17:44 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2011-03-08 07:17:44 +0000 |
commit | d9b2044f9981b420119032717ca39cd5ef572781 (patch) | |
tree | 726389fc8d2e3875645d8a3774f9899c4009faf0 /physmap.c | |
parent | 2fdef8e551b6c1c3f9b82372a497ba7f3240c097 (diff) | |
download | flashrom-d9b2044f9981b420119032717ca39cd5ef572781.zip flashrom-d9b2044f9981b420119032717ca39cd5ef572781.tar.gz |
Fix and improve libpayload platform support
- Fix various minor compile issues (eg. include necessary standard headers)
- Fix compilation of libpayload code paths
- Provide libpayload support in Makefile
- Add make target "libflashrom.a" which links non-CLI code to static
library
Tested-with-DOS-crosscompiler-by: Idwer Vollering <vidwer@gmail.com>
Corresponding to flashrom svn r1280.
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'physmap.c')
-rw-r--r-- | physmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -492,6 +492,7 @@ msr_t libpayload_rdmsr(int addr) int libpayload_wrmsr(int addr, msr_t msr) { _wrmsr(addr, msr.lo | ((unsigned long long)msr.hi << 32)); + return 0; } #else msr_t rdmsr(int addr) |