| version 1.32, 2005/03/02 12:00:25 |
version 1.33, 2005/03/14 21:50:59 |
| 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 |