mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 05:46:19 +00:00
[CMAKE]
move the EXTERN _KiSystemService:PROC from syscalls.inc to zw.S. Fixes build of ntdll with MSVC svn path=/branches/cmake-bringup/; revision=51180
This commit is contained in:
parent
baa1116143
commit
4346778201
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
#ifdef _M_IX86
|
#ifdef _M_IX86
|
||||||
EXTERN _KiSystemService:PROC
|
|
||||||
#define KUSER_SHARED_SYSCALL HEX(7ffe0300)
|
#define KUSER_SHARED_SYSCALL HEX(7ffe0300)
|
||||||
#define KGDT_R0_CODE 8
|
#define KGDT_R0_CODE 8
|
||||||
MACRO(STUBCODE_U, SyscallId, StackBytes)
|
MACRO(STUBCODE_U, SyscallId, StackBytes)
|
||||||
|
@ -18,7 +17,6 @@ MACRO(STUBCODE_K, SyscallId, StackBytes)
|
||||||
ret StackBytes
|
ret StackBytes
|
||||||
ENDM
|
ENDM
|
||||||
#elif defined(_M_AMD64)
|
#elif defined(_M_AMD64)
|
||||||
EXTERN KiSystemService:PROC
|
|
||||||
MACRO(STUBCODE_U, SyscallId, StackBytes)
|
MACRO(STUBCODE_U, SyscallId, StackBytes)
|
||||||
mov eax, SyscallId
|
mov eax, SyscallId
|
||||||
mov r10, rcx
|
mov r10, rcx
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
#include <asm.inc>
|
#include <asm.inc>
|
||||||
#include <syscalls.inc>
|
#include <syscalls.inc>
|
||||||
|
|
||||||
|
#ifdef _M_IX86
|
||||||
|
EXTERN _KiSystemService:PROC
|
||||||
|
#elif defined(_M_AMD64)
|
||||||
|
EXTERN KiSystemService:PROC
|
||||||
|
#endif
|
||||||
|
|
||||||
.code
|
.code
|
||||||
|
|
||||||
SyscallId = 0
|
SyscallId = 0
|
||||||
|
|
Loading…
Reference in a new issue