mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:12:58 +00:00
[REACTOS] Finally get some ARM64 applications building (#4517)
- Add some missing ARM64 exports to ntdll, kernel32 and user32 - Create mmtypes header file based on WoA debug symbols - Get the remaining headers in order, so we can build ARM64 apps - Adjust subsystem version for binaries so they can run on WoA host - Get calc, notepad and more base apps to build for ARM64 platform CORE-17518 Reviewed-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
This commit is contained in:
parent
3464df8c28
commit
4363e74ddc
21 changed files with 529 additions and 17 deletions
|
@ -16,6 +16,8 @@ elseif(ARCH STREQUAL "amd64")
|
|||
set(_filename ksamd64.inc)
|
||||
elseif(ARCH STREQUAL "arm")
|
||||
set(_filename ksarm.h)
|
||||
elseif(ARCH STREQUAL "arm64")
|
||||
set(_filename ksarm64.h)
|
||||
endif()
|
||||
|
||||
add_custom_command(
|
||||
|
|
|
@ -67,6 +67,8 @@ ASMGENDATA Table[] =
|
|||
#include "ksamd64.template.h"
|
||||
#elif defined(_M_ARM)
|
||||
#include "ksarm.template.h"
|
||||
#elif defined(_M_ARM64)
|
||||
#include "ksarm64.template.h"
|
||||
#endif
|
||||
|
||||
/* PORTABLE CONSTANTS ********************************************************/
|
||||
|
|
8
sdk/include/asm/ksarm64.template.h
Normal file
8
sdk/include/asm/ksarm64.template.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
#define CONTEXT_ARM64 0x00400000L
|
||||
#define CONTEXT_CONTROL (CONTEXT_ARM64 | 0x1L)
|
||||
#define CONTEXT_INTEGER (CONTEXT_ARM64 | 0x2L)
|
||||
#define CONTEXT_FLOATING_POINT (CONTEXT_ARM64 | 0x4L)
|
||||
#define CONTEXT_DEBUG_REGISTERS (CONTEXT_ARM64 | 0x8L)
|
||||
#define CONTEXT_X18 (CONTEXT_ARM64 | 0x10L)
|
||||
#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_FLOATING_POINT)
|
|
@ -332,7 +332,7 @@ CONSTANT(DBG_STATUS_CONTROL_C),
|
|||
//CONSTANT(KI_SLIST_FAULT_COUNT_MAXIMUM), // i386
|
||||
//CONSTANTUSER_CALLBACK_FILTER),
|
||||
|
||||
#ifndef _M_ARM
|
||||
#if !defined(_M_ARM) && !defined(_M_ARM64)
|
||||
CONSTANT(MAXIMUM_IDTVECTOR),
|
||||
//CONSTANT(MAXIMUM_PRIMARY_VECTOR),
|
||||
CONSTANT(PRIMARY_VECTOR_BASE),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue