From 7272fcb2a466d2554b29e082c8e57038bfc4ebe6 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 17 Nov 2005 13:45:46 +0000 Subject: these were factored out. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2088 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/boot/elfboot.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src') 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 #include -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 -- cgit v1.2.3