mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
boot: Add be32toh
This commit is contained in:
parent
8caae05174
commit
60c75a2a41
@ -188,3 +188,9 @@ static inline bool efi_guid_equal(const EFI_GUID *a, const EFI_GUID *b) {
|
||||
void *find_configuration_table(const EFI_GUID *guid);
|
||||
|
||||
char16_t *get_extra_dir(const EFI_DEVICE_PATH *file_path);
|
||||
|
||||
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||
# define be32toh(x) __builtin_bswap32(x)
|
||||
#else
|
||||
# error "Unexpected byte order in EFI mode?"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user