Commit 171c9a53 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntdll: Add ARM support.

parent ee3a6770
......@@ -37,6 +37,7 @@ C_SRCS = \
sec.c \
serial.c \
server.c \
signal_arm.c \
signal_i386.c \
signal_powerpc.c \
signal_sparc.c \
......
......@@ -920,6 +920,8 @@ void fill_cpu_info(void)
cached_sci.Architecture = PROCESSOR_ARCHITECTURE_AMD64;
#elif defined(__powerpc__)
cached_sci.Architecture = PROCESSOR_ARCHITECTURE_PPC;
#elif defined(__arm__)
cached_sci.Architecture = PROCESSOR_ARCHITECTURE_ARM;
#elif defined(__ALPHA__)
cached_sci.Architecture = PROCESSOR_ARCHITECTURE_ALPHA;
#elif defined(__sparc__)
......
......@@ -90,6 +90,8 @@ static const enum cpu_type client_cpu = CPU_ALPHA;
static const enum cpu_type client_cpu = CPU_POWERPC;
#elif defined(__sparc__)
static const enum cpu_type client_cpu = CPU_SPARC;
#elif defined(__arm__)
static const enum cpu_type client_cpu = CPU_ARM;
#else
#error Unsupported CPU
#endif
......
......@@ -1314,13 +1314,14 @@ typedef struct _CONTEXT {
ULONG R8;
ULONG R9;
ULONG R10;
ULONG R11;
ULONG R12;
ULONG Fp;
ULONG Ip;
/* These are selected by CONTEXT_CONTROL */
ULONG Sp;
ULONG Lr;
ULONG Pc;
ULONG Psr;
ULONG Cpsr;
} CONTEXT;
#endif /* __arm__ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment