1 /* minix/u64.h Author: Kees J. Bot 2 * 7 Dec 1995 3 * Functions to manipulate 64 bit disk addresses. 4 */ 5 #ifndef _MINIX__U64_H 6 #define _MINIX__U64_H 7 8 #include <sys/types.h> 9 ex64lo(u64_t i)10static inline unsigned long ex64lo(u64_t i) 11 { 12 return (unsigned long)i; 13 } 14 ex64hi(u64_t i)15static inline unsigned long ex64hi(u64_t i) 16 { 17 return (unsigned long)(i>>32); 18 } 19 make64(unsigned long lo,unsigned long hi)20static inline u64_t make64(unsigned long lo, unsigned long hi) 21 { 22 return ((u64_t)hi << 32) | (u64_t)lo; 23 } 24 25 #endif /* _MINIX__U64_H */ 26