Add 64-bit byte-swapping operations.
[people/xl0/gpxe.git] / src / include / byteswap.h
index bed1485..72b5a01 100644 (file)
 #endif
 
 /* Make routines available to all */
+#define swap64(x)      __bswap_64(x)
 #define swap32(x)      __bswap_32(x)
 #define swap16(x)      __bswap_16(x)
+#define bswap_64(x)    __bswap_64(x)
 #define bswap_32(x)    __bswap_32(x)
 #define bswap_16(x)    __bswap_16(x)