comment and unify lb_uint64 handling as discussed on the mailinglist

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2086 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2005-11-14 23:04:55 +00:00
parent 8af7998bac
commit 0d304c18e2
4 changed files with 34 additions and 44 deletions

View File

@@ -9,14 +9,6 @@
#include <sys/mman.h>
#include "../../src/include/boot/linuxbios_tables.h"
static inline uint64_t unpack_lb64(struct lb_uint64 value)
{
uint64_t result;
result = value.hi;
result = (result << 32) + value.lo;
return result;
}
void print_lb_records(struct lb_record *rec, struct lb_record *last, unsigned long addr);
unsigned long compute_checksum(void *addr, unsigned long length)