Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 fix comment, rdx, not edx
details: https://anonhg.NetBSD.org/src/rev/2d39268a09b4
branches: trunk
changeset: 356851:2d39268a09b4
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Oct 17 07:02:50 2017 +0000
description:
fix comment, rdx, not edx
diffstat:
sys/arch/amd64/amd64/copy.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 588ba1ff0bf0 -r 2d39268a09b4 sys/arch/amd64/amd64/copy.S
--- a/sys/arch/amd64/amd64/copy.S Tue Oct 17 06:58:15 2017 +0000
+++ b/sys/arch/amd64/amd64/copy.S Tue Oct 17 07:02:50 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copy.S,v 1.25 2017/10/17 06:58:15 maxv Exp $ */
+/* $NetBSD: copy.S,v 1.26 2017/10/17 07:02:50 maxv Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -343,7 +343,7 @@
xorq %rax,%rax
jmp copystr_return
-2: /* edx is zero -- return EFAULT or ENAMETOOLONG. */
+2: /* rdx is zero -- return EFAULT or ENAMETOOLONG. */
callq smap_enable
movq $VM_MAXUSER_ADDRESS,%r11
cmpq %r11,%rsi
@@ -384,7 +384,7 @@
xorl %eax,%eax
jmp 6f
-4: /* edx is zero -- return ENAMETOOLONG. */
+4: /* rdx is zero -- return ENAMETOOLONG. */
movl $ENAMETOOLONG,%eax
6: /* Set *lencopied and return %eax. */
Home |
Main Index |
Thread Index |
Old Index