mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
Properly define WORDS_BIGENDIAN in wrapped environments.
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): New definition. * grub-core/lib/posix_wrap/sys/types.h (WORDS_BIGENDIAN): Likewise. Reported by: Manoel Rebelo Abranches. Tested by: Manoel Rebelo Abranches.
This commit is contained in:
1 parent
bc5dd0b9ca
commit
de1a024fff
3 files changed
+23
No files matched your search
@@ -1,3 +1,14 @@
|
|||||||
|
2010-11-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Properly define WORDS_BIGENDIAN in wrapped environments.
|
||||||
|
|
||||||
|
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): New
|
||||||
|
definition.
|
||||||
|
* grub-core/lib/posix_wrap/sys/types.h (WORDS_BIGENDIAN): Likewise.
|
||||||
|
|
||||||
|
Reported by: Manoel Rebelo Abranches.
|
||||||
|
Tested by: Manoel Rebelo Abranches.
|
||||||
|
|
||||||
2010-11-13 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-11-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub-mkconfig.in: Fix quoting.
|
* util/grub-mkconfig.in: Fix quoting.
|
||||||
|
|||||||
@@ -25,6 +25,12 @@
|
|||||||
#include <grub/dl.h>
|
#include <grub/dl.h>
|
||||||
#include <grub/crypto.h>
|
#include <grub/crypto.h>
|
||||||
|
|
||||||
|
#ifdef GRUB_CPU_WORDS_BIGENDIAN
|
||||||
|
#define WORDS_BIGENDIAN
|
||||||
|
#else
|
||||||
|
#undef WORDS_BIGENDIAN
|
||||||
|
#endif
|
||||||
|
|
||||||
#define __GNU_LIBRARY__
|
#define __GNU_LIBRARY__
|
||||||
|
|
||||||
#define DIM ARRAY_SIZE
|
#define DIM ARRAY_SIZE
|
||||||
|
|||||||
@@ -32,4 +32,10 @@ typedef grub_uint16_t uint16_t;
|
|||||||
typedef grub_uint32_t uint32_t;
|
typedef grub_uint32_t uint32_t;
|
||||||
typedef grub_uint64_t uint64_t;
|
typedef grub_uint64_t uint64_t;
|
||||||
|
|
||||||
|
#ifdef GRUB_CPU_WORDS_BIGENDIAN
|
||||||
|
#define WORDS_BIGENDIAN
|
||||||
|
#else
|
||||||
|
#undef WORDS_BIGENDIAN
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user