summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/trap.c
diff options
context:
space:
mode:
authorbsd <bsd@FreeBSD.org>2000-07-01 02:40:13 +0000
committerbsd <bsd@FreeBSD.org>2000-07-01 02:40:13 +0000
commitf4c833b228809b75d4a8eea76e9ab5645d74bd13 (patch)
tree43fcd79458307751a682ba81c081780f39a11d67 /sys/amd64/amd64/trap.c
parent13b4933d9e622b14283bd869e4ced912cd17a5a5 (diff)
downloadFreeBSD-src-f4c833b228809b75d4a8eea76e9ab5645d74bd13.zip
FreeBSD-src-f4c833b228809b75d4a8eea76e9ab5645d74bd13.tar.gz
Fix my own style bugs (use of spaces instead of tabs for indentation).
This is a style-only change.
Diffstat (limited to 'sys/amd64/amd64/trap.c')
-rw-r--r--sys/amd64/amd64/trap.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 703d48d..83c83b4 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -522,24 +522,24 @@ kernel_trap:
frame.tf_eflags &= ~PSL_T;
return;
}
- /*
- * Ignore debug register trace traps due to
- * accesses in the user's address space, which
- * can happen under several conditions such as
- * if a user sets a watchpoint on a buffer and
- * then passes that buffer to a system call.
- * We still want to get TRCTRAPS for addresses
- * in kernel space because that is useful when
- * debugging the kernel.
- */
- if (user_dbreg_trap()) {
- /*
- * Reset breakpoint bits because the
- * processor doesn't
- */
- load_dr6(rdr6() & 0xfffffff0);
- return;
- }
+ /*
+ * Ignore debug register trace traps due to
+ * accesses in the user's address space, which
+ * can happen under several conditions such as
+ * if a user sets a watchpoint on a buffer and
+ * then passes that buffer to a system call.
+ * We still want to get TRCTRAPS for addresses
+ * in kernel space because that is useful when
+ * debugging the kernel.
+ */
+ if (user_dbreg_trap()) {
+ /*
+ * Reset breakpoint bits because the
+ * processor doesn't
+ */
+ load_dr6(rdr6() & 0xfffffff0);
+ return;
+ }
/*
* Fall through (TRCTRAP kernel mode, kernel address)
*/
OpenPOWER on IntegriCloud