boot: Add bswap_{16,32}

This commit is contained in:
anonymix007
2024-10-11 14:37:30 +03:00
parent 60c75a2a41
commit 53443e8176
+3
View File
@@ -194,3 +194,6 @@ char16_t *get_extra_dir(const EFI_DEVICE_PATH *file_path);
#else
# error "Unexpected byte order in EFI mode?"
#endif
#define bswap_16(x) __builtin_bswap16(x)
#define bswap_32(x) __builtin_bswap32(x)