diff options
author | Stefan Reinauer <stepan@openbios.org> | 2005-11-17 13:45:46 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2005-11-17 13:45:46 +0000 |
commit | 7272fcb2a466d2554b29e082c8e57038bfc4ebe6 (patch) | |
tree | ae6d13aff3f0168f772a68fd6044c1fee60640ed | |
parent | ddab65fda40936a79c014bab0958fa87fcec422c (diff) |
these were factored out.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2088 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/boot/elfboot.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/boot/elfboot.c b/src/boot/elfboot.c index 0bd233a1f5..fb2486382f 100644 --- a/src/boot/elfboot.c +++ b/src/boot/elfboot.c @@ -9,22 +9,6 @@ #include <stdlib.h> #include <string.h> -static inline uint64_t unpack_lb64(struct lb_uint64 value) -{ - uint64_t result; - result = value.hi; - result = (result << 32) + value.lo; - return result; -} - -static inline struct lb_uint64 pack_lb64(uint64_t value) -{ - struct lb_uint64 result; - result.lo = (value >> 0) & 0xffffffff; - result.hi = (value >> 32) & 0xffffffff; - return result; -} - /* Maximum physical address we can use for the linuxBIOS bounce buffer. */ #ifndef MAX_ADDR |