[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:
Justin Miller 2021-10-22 08:52:32 -07:00 committed by GitHub
parent 4b0249e98a
commit be223b9de7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 64 additions and 6 deletions

View file

@ -0,0 +1,19 @@
/* INCLUDES ******************************************************************/
/* We need one of these first! */
/* #include <kxarm64.h> */
/* CODE **********************************************************************/
TEXTAREA
LEAF_ENTRY __chkstk
/* TODO: add an assert fail call, as this is unimplemented */
LEAF_END __chkstk
LEAF_ENTRY __alloca_probe
/* TODO: add an assert fail call, as this is unimplemented */
LEAF_END __alloca_probe
END
/* EOF */

View file

@ -64,6 +64,8 @@ elseif(ARCH STREQUAL "amd64")
list(APPEND CHKSTK_ASM_SOURCE except/amd64/chkstk_ms.s)
elseif(ARCH STREQUAL "arm")
list(APPEND CHKSTK_ASM_SOURCE except/arm/chkstk_asm.s)
elseif(ARCH STREQUAL "arm64")
list(APPEND CHKSTK_ASM_SOURCE except/arm64/chkstk_asm.s)
endif()
add_asm_files(chkstk_lib_asm ${CHKSTK_ASM_SOURCE})