aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/support.S
diff options
context:
space:
mode:
authorBrian S. Dean <bsd@FreeBSD.org>2001-06-28 02:08:13 +0000
committerBrian S. Dean <bsd@FreeBSD.org>2001-06-28 02:08:13 +0000
commit6eda157eaa3f7dc35ff109a4981eb4110e530b5d (patch)
tree5be0ec8cce68f03e921e4e1d2e96c1d0d9b6b38d /sys/amd64/amd64/support.S
parentffabd150130aa2c505d94100cc75e6ca14a7fa30 (diff)
downloadsrc-6eda157eaa3f7dc35ff109a4981eb4110e530b5d.tar.gz
src-6eda157eaa3f7dc35ff109a4981eb4110e530b5d.zip
Provide access to the IA32 hardware debug registers from the ddb
kernel debugger. Proper use of these registers allows setting hardware watchpoints for use in kernel debugging. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=78903
Diffstat (limited to 'sys/amd64/amd64/support.S')
-rw-r--r--sys/amd64/amd64/support.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 70cc1441fc1b..321877432488 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -1627,12 +1627,6 @@ ENTRY(load_cr4)
movl %eax,%cr4
ret
-/* void load_dr6(u_int dr6) */
-ENTRY(load_dr6)
- movl 4(%esp),%eax
- movl %eax,%dr6
- ret
-
/* void reset_dbregs() */
ENTRY(reset_dbregs)
movl $0,%eax