Update syscall stubs

svn path=/branches/ros-amd64-bringup/; revision=35517
This commit is contained in:
Timo Kreuzer
2008-08-21 21:10:17 +00:00
parent d733da9c08
commit 0aaed0f738
+4 -7
View File
@@ -53,9 +53,9 @@
" call *(%%ecx)\n" \
" ret $0x%x\n\n"
#define UserModeStub_amd64 " movq $0x%x, %%rax\n" \
" movq $KUSER_SHARED_SYSCALL, %%rcx\n" \
" call *(%%rcx)\n" \
#define UserModeStub_amd64 " movl $0x%x, %%eax\n" \
" movq %%rcx, %%r10\n" \
" syscall\n" \
" ret $0x%x\n\n"
#define UserModeStub_ppc " stwu 1,-16(1)\n" \
@@ -99,10 +99,7 @@
" call _KiSystemService\n" \
" ret $0x%x\n\n"
#define KernelModeStub_amd64 " movq $0x%x, %%rax\n" \
" leaq 4(%%rsp), %%rdx\n" \
" pushfq\n" \
" pushq $KGDT_R0_CODE\n" \
#define KernelModeStub_amd64 " movl $0x%x, %%eax\n" \
" call _KiSystemService\n" \
" ret $0x%x\n\n"