mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 02:01:57 +00:00
[MKISOFS] Add ARM64 processor support
Also changed a "shouldn't-ever-happen" deliberate syntax error into a proper #error. CORE-17518
This commit is contained in:
parent
b922b6d7fc
commit
21bd607758
|
@ -61,7 +61,7 @@ extern "C" {
|
||||||
__BYTE_ORDER == __LITTLE_ENDIAN) || \
|
__BYTE_ORDER == __LITTLE_ENDIAN) || \
|
||||||
defined(CPU_IA32) || defined(CPU_X64) || \
|
defined(CPU_IA32) || defined(CPU_X64) || \
|
||||||
defined(__ia64) || defined(__ia64__) || defined(__alpha__) || defined(_M_ALPHA) || \
|
defined(__ia64) || defined(__ia64__) || defined(__alpha__) || defined(_M_ALPHA) || \
|
||||||
defined(vax) || defined(MIPSEL) || defined(_ARM_)
|
defined(vax) || defined(MIPSEL) || defined(_ARM_) || defined(__arm64__)
|
||||||
#define CPU_LITTLE_ENDIAN
|
#define CPU_LITTLE_ENDIAN
|
||||||
#define IS_BIG_ENDIAN 0
|
#define IS_BIG_ENDIAN 0
|
||||||
#define IS_LITTLE_ENDIAN 1
|
#define IS_LITTLE_ENDIAN 1
|
||||||
|
@ -77,7 +77,7 @@ extern "C" {
|
||||||
#define IS_BIG_ENDIAN 1
|
#define IS_BIG_ENDIAN 1
|
||||||
#define IS_LITTLE_ENDIAN 0
|
#define IS_LITTLE_ENDIAN 0
|
||||||
#else
|
#else
|
||||||
error "Can't detect CPU architechture"
|
#error "Can't detect CPU architechture"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* HAVE_C_BIGENDIAN */
|
#endif /* HAVE_C_BIGENDIAN */
|
||||||
|
@ -169,7 +169,7 @@ static inline UInt64_t bswap_64(x)
|
||||||
return (r.ll);
|
return (r.ll);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
error "bswap_64 unsupported"
|
#error "bswap_64 unsupported"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CPU_BIG_ENDIAN
|
#ifdef CPU_BIG_ENDIAN
|
||||||
|
|
Loading…
Reference in a new issue