Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Remove assert that Debug Registers are not ...
details: https://anonhg.NetBSD.org/src/rev/607948e9df91
branches: trunk
changeset: 820983:607948e9df91
user: kamil <kamil%NetBSD.org@localhost>
date: Wed Jan 18 05:48:16 2017 +0000
description:
Remove assert that Debug Registers are not mixed with Debug Trap Flag
New code is designed to mix them.
Sponsored by <The NetBSD Foundation>
diffstat:
sys/arch/x86/x86/dbregs.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diffs (23 lines):
diff -r 9383c16754e9 -r 607948e9df91 sys/arch/x86/x86/dbregs.c
--- a/sys/arch/x86/x86/dbregs.c Wed Jan 18 05:14:34 2017 +0000
+++ b/sys/arch/x86/x86/dbregs.c Wed Jan 18 05:48:16 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dbregs.c,v 1.2 2017/01/18 05:12:00 kamil Exp $ */
+/* $NetBSD: dbregs.c,v 1.3 2017/01/18 05:48:16 kamil Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -93,13 +93,6 @@
{
size_t i;
- /* Assert that Debug Registers are not mixed with Debug Trap Flag */
-#ifdef __x86_64__
- KASSERT((l->l_md.md_regs->tf_rflags & PSL_T) == 0);
-#else
- KASSERT((l->l_md.md_regs->tf_eflags & PSL_T) == 0);
-#endif
-
/* Assert that there are available watchpoints */
KASSERT(l->l_md.md_flags & MDL_X86_HW_WATCHPOINTS);
Home |
Main Index |
Thread Index |
Old Index