mirror of
https://github.com/reactos/reactos.git
synced 2025-07-06 06:31:24 +00:00
- Clear the direction flag previous each 'rep string' instruction.
svn path=/trunk/; revision=4837
This commit is contained in:
parent
b841a51945
commit
b49e2bc450
2 changed files with 7 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: syscall.S,v 1.10 2003/05/28 18:09:10 chorns Exp $
|
/* $Id: syscall.S,v 1.11 2003/06/04 18:11:16 hbirr Exp $
|
||||||
*
|
*
|
||||||
* FILE: ntoskrnl/hal/x86/syscall.s
|
* FILE: ntoskrnl/hal/x86/syscall.s
|
||||||
* PURPOSE: 2E trap handler
|
* PURPOSE: 2E trap handler
|
||||||
|
@ -141,6 +141,7 @@ new_serviceInRange:
|
||||||
|
|
||||||
/* Copy the arguments from the user stack to the kernel stack */
|
/* Copy the arguments from the user stack to the kernel stack */
|
||||||
movl %esp,%edi
|
movl %esp,%edi
|
||||||
|
cld
|
||||||
rep movsb
|
rep movsb
|
||||||
|
|
||||||
/* DS is now also kernel segment */
|
/* DS is now also kernel segment */
|
||||||
|
@ -190,6 +191,7 @@ new_shadowServiceInRange:
|
||||||
|
|
||||||
/* Copy the arguments from the user stack to the kernel stack */
|
/* Copy the arguments from the user stack to the kernel stack */
|
||||||
movl %esp,%edi
|
movl %esp,%edi
|
||||||
|
cld
|
||||||
rep movsb
|
rep movsb
|
||||||
|
|
||||||
/* DS is now also kernel segment */
|
/* DS is now also kernel segment */
|
||||||
|
|
|
@ -30,7 +30,8 @@ _MmSafeCopyFromUserUnsafeStart:
|
||||||
/*
|
/*
|
||||||
* This is really a synthetic instruction since if we incur a
|
* This is really a synthetic instruction since if we incur a
|
||||||
* pagefault then eax will be set to an appropiate STATUS code
|
* pagefault then eax will be set to an appropiate STATUS code
|
||||||
*/
|
*/
|
||||||
|
cld
|
||||||
rep movsb
|
rep movsb
|
||||||
|
|
||||||
_MmSafeCopyFromUserRestart:
|
_MmSafeCopyFromUserRestart:
|
||||||
|
@ -69,7 +70,8 @@ _MmSafeCopyToUserUnsafeStart:
|
||||||
/*
|
/*
|
||||||
* This is really a synthetic instruction since if we incur a
|
* This is really a synthetic instruction since if we incur a
|
||||||
* pagefault then eax will be set to an appropiate STATUS code
|
* pagefault then eax will be set to an appropiate STATUS code
|
||||||
*/
|
*/
|
||||||
|
cld
|
||||||
rep movsb
|
rep movsb
|
||||||
|
|
||||||
_MmSafeCopyToUserRestart:
|
_MmSafeCopyToUserRestart:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue