version 1.31, 2004/08/26 10:12:33 |
version 1.33, 2005/03/14 21:50:59 |
|
|
/* $NetBSD$ */ |
/* $NetBSD$ */ |
|
|
/*- |
/*- |
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. |
* Copyright (c) 1998, 2000, 2004 The NetBSD Foundation, Inc. |
* All rights reserved. |
* All rights reserved. |
* |
* |
* This code is derived from software contributed to The NetBSD Foundation |
* This code is derived from software contributed to The NetBSD Foundation |
Line 1162 ENTRY(copyoutstr) |
|
Line 1162 ENTRY(copyoutstr) |
|
*/ |
*/ |
movl $VM_MAXUSER_ADDRESS,%eax |
movl $VM_MAXUSER_ADDRESS,%eax |
subl %edi,%eax |
subl %edi,%eax |
|
jc _C_LABEL(copystr_efault) |
cmpl %edx,%eax |
cmpl %edx,%eax |
jae 1f |
jae 1f |
movl %eax,%edx |
movl %eax,%edx |
Line 1216 ENTRY(copyinstr) |
|
Line 1217 ENTRY(copyinstr) |
|
*/ |
*/ |
movl $VM_MAXUSER_ADDRESS,%eax |
movl $VM_MAXUSER_ADDRESS,%eax |
subl %esi,%eax |
subl %esi,%eax |
|
jc _C_LABEL(copystr_efault) |
cmpl %edx,%eax |
cmpl %edx,%eax |
jae 1f |
jae 1f |
movl %eax,%edx |
movl %eax,%edx |