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 Remove dumb debug code and outdated com...
details: https://anonhg.NetBSD.org/src/rev/9f00858edb68
branches: trunk
changeset: 355662:9f00858edb68
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Aug 08 17:00:42 2017 +0000
description:
Remove dumb debug code and outdated comment.
diffstat:
sys/arch/amd64/amd64/locore.S | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diffs (31 lines):
diff -r 0a3e08f6f3ac -r 9f00858edb68 sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S Tue Aug 08 16:57:32 2017 +0000
+++ b/sys/arch/amd64/amd64/locore.S Tue Aug 08 17:00:42 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.124 2017/07/01 10:44:42 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.125 2017/08/08 17:00:42 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -1082,12 +1082,6 @@
/* Switch to newlwp's stack. */
movq L_PCB(%r12),%r14
-#ifdef XEN /* XXX debug code */
- cmpq $0,PCB_RSP(%r14)
- jne 999f
- callq _C_LABEL(cpu_Debugger);
-999:
-#endif
movq PCB_RSP(%r14),%rsp
movq PCB_RBP(%r14),%rbp
@@ -1236,8 +1230,6 @@
* syscall()
*
* syscall insn entry.
- * This currently isn't much faster, but it can be made faster in the future.
- * (Actually we've already saved a few 100 clocks by not loading the trap gate)
*/
IDTVEC(syscall)
#ifndef XEN
Home |
Main Index |
Thread Index |
Old Index