mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:12:58 +00:00
[SDK] Allow ARM64 MSVC to complete configuration (#4045)
- Add some of the missing CMake adjustments to continue the configure and compile process with ARM64 MSVC - Created quick stubs for the functions in SDK needed to finish the configuration process - Put in an ARM64 option for spec2def CORE-17518 CORE-17615
This commit is contained in:
parent
4b0249e98a
commit
be223b9de7
10 changed files with 64 additions and 6 deletions
|
@ -18,7 +18,7 @@
|
|||
#endif
|
||||
|
||||
#if !defined(_X86_) && !defined(_AMD64_) && !defined(_IA64_) && !defined(_ALPHA_) && \
|
||||
!defined(_ARM_) && !defined(_PPC_) && !defined(_MIPS_) && !defined(_68K_) && !defined(_SH_)
|
||||
!defined(_ARM_) && !defined(_ARM64_) && !defined(_PPC_) && !defined(_MIPS_) && !defined(_68K_) && !defined(_SH_)
|
||||
|
||||
#if defined(_M_AMD64) || defined(__x86_64__)
|
||||
#define _AMD64_
|
||||
|
@ -30,6 +30,8 @@
|
|||
#define _ALPHA_
|
||||
#elif defined(_M_ARM) || defined(__arm__)
|
||||
#define _ARM_
|
||||
#elif defined(_M_ARM64) || defined(__arm64__) || defined(__aarch64__)
|
||||
#define _ARM64_
|
||||
#elif defined(_M_PPC) || defined(__powerpc__)
|
||||
#define _PPC_
|
||||
#elif defined(_M_MRX000) || defined(__mips__)
|
||||
|
|
|
@ -26,6 +26,13 @@
|
|||
#if !defined(_M_ARM)
|
||||
#define _M_ARM 1
|
||||
#endif
|
||||
#elif defined(__arm64__)
|
||||
#if !defined(_ARM64_)
|
||||
#define _ARM64_ 1
|
||||
#endif
|
||||
#if !defined(_M_ARM64)
|
||||
#define _M_ARM64 1
|
||||
#endif
|
||||
#elif defined(__ia64__)
|
||||
#if !defined(_IA64_)
|
||||
#define _IA64_ 1
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
|
||||
#if defined(_AMD64_) || defined(_X86_)
|
||||
#define PROBE_ALIGNMENT(_s) TYPE_ALIGNMENT($ULONG)
|
||||
#elif defined(_IA64_) || defined(_ARM_)
|
||||
#elif defined(_IA64_) || defined(_ARM_) || defined(_ARM64_)
|
||||
#define PROBE_ALIGNMENT(_s) max((TYPE_ALIGNMENT(_s), TYPE_ALIGNMENT($ULONG))
|
||||
#elif !defined(RC_INVOKED)
|
||||
#error "Unknown architecture"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue