- Clear the direction flag previous each 'rep string' instruction.

svn path=/trunk/; revision=4837
This commit is contained in:
Hartmut Birr 2003-06-04 18:11:16 +00:00
parent b841a51945
commit b49e2bc450
2 changed files with 7 additions and 3 deletions

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* 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
* PURPOSE: 2E trap handler
@ -141,6 +141,7 @@ new_serviceInRange:
/* Copy the arguments from the user stack to the kernel stack */
movl %esp,%edi
cld
rep movsb
/* DS is now also kernel segment */
@ -190,6 +191,7 @@ new_shadowServiceInRange:
/* Copy the arguments from the user stack to the kernel stack */
movl %esp,%edi
cld
rep movsb
/* DS is now also kernel segment */

View file

@ -31,6 +31,7 @@ _MmSafeCopyFromUserUnsafeStart:
* This is really a synthetic instruction since if we incur a
* pagefault then eax will be set to an appropiate STATUS code
*/
cld
rep movsb
_MmSafeCopyFromUserRestart:
@ -70,6 +71,7 @@ _MmSafeCopyToUserUnsafeStart:
* This is really a synthetic instruction since if we incur a
* pagefault then eax will be set to an appropiate STATUS code
*/
cld
rep movsb
_MmSafeCopyToUserRestart: