mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
Add 64-bit byte-swapping operations.
This commit is contained in:
@@ -12,8 +12,10 @@
|
||||
#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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user