freebsd-dev/sys
Mitchell Horne c02c04f113 x86: consolidate hw watchpoint logic into new file
This is a prerequisite to using these functions outside of ddb, but also
provides some cleanup and minor refactoring. This code is almost
entirely duplicated between the two implementations, the only
significant difference being the lack of dbreg synchronization on i386.

Cleanups are:
 - demote some internal functions to static
 - use the constant NDBREGS instead of a '4' literal
 - remove K&R definitions
 - some added comments

Reviewed by:	kib, jhb
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D29153
2021-03-19 16:51:52 -03:00
..
amd64 x86: consolidate hw watchpoint logic into new file 2021-03-19 16:51:52 -03:00
arm mvebu_gpio: Fix settings of gpio pin direction. 2021-03-07 11:41:30 +01:00
arm64 Rename linux_set_upcall_kse() to linux_set_upcall(). 2021-03-18 12:14:34 -07:00
bsm
cam cam: Run all XPT_ASYNC ccbs in a dedicated thread 2021-03-12 13:29:42 -07:00
cddl Handle functions that use a nop in the arm64 fbt 2021-03-03 14:18:03 +00:00
compat Rename linux_set_upcall_kse() to linux_set_upcall(). 2021-03-18 12:14:34 -07:00
conf x86: consolidate hw watchpoint logic into new file 2021-03-19 16:51:52 -03:00
contrib vfs: fix vnlru marker handling for filtered/unfiltered cases 2021-03-18 14:59:03 +00:00
crypto armv8crypto: note derivation in armv8_crypto_wrap.c 2021-03-19 10:53:49 -03:00
ddb ddb: enable the use of ^C and ^S/^Q 2021-03-14 16:04:27 -07:00
dev cxgbe(4): make it safe to call setup_memwin repeatedly. 2021-03-19 12:37:44 -07:00
dts
fs fusefs: fix two bugs regarding fcntl file locks 2021-03-18 17:09:10 -06:00
gdb
geom gmirror: Pre-allocate the timeout event structure 2021-03-11 15:45:15 -05:00
gnu
i386 x86: consolidate hw watchpoint logic into new file 2021-03-19 16:51:52 -03:00
isa Move back the isa non-PNP driver deadline to FreeBSD 14. 2021-03-08 16:00:23 -07:00
kern Unbreak MSG_CMSG_CLOEXEC 2021-03-18 20:52:20 +00:00
kgssapi
libkern
mips nlmrsa: Mark deprecated for 14. 2021-03-16 14:43:03 -07:00
modules base: remove if_wg(4) and associated utilities, manpage 2021-03-17 09:14:48 -05:00
net base: remove if_wg(4) and associated utilities, manpage 2021-03-17 09:14:48 -05:00
net80211 net80211: split up ieee80211_probereq() 2021-03-18 11:02:45 +00:00
netgraph
netinet fix panic when rescue retransmission and FIN overlap 2021-03-17 17:12:04 +01:00
netinet6 base: remove if_wg(4) and associated utilities, manpage 2021-03-17 09:14:48 -05:00
netipsec
netpfil pfsync: Unconditionally push packets when requesting state updates 2021-03-17 19:18:14 +01:00
netsmb
nfs nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nfsclient nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nfsserver nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nlm
ofed
opencrypto ktls: Fix non-inplace TLS 1.3 encryption. 2021-03-10 11:07:40 -08:00
powerpc SPDX: Spell 4 clause BSD license correctly 2021-03-11 14:17:54 -07:00
riscv riscv: fix errors in some atomic type aliases 2021-03-04 16:59:58 -04:00
rpc
security Add a comment on why the call to mac_vnode_relabel() might be in the wrong 2021-02-27 16:25:26 +00:00
sys vfs: fix vnlru marker handling for filtered/unfiltered cases 2021-03-18 14:59:03 +00:00
teken
tests
tools
ufs softdep_unmount: assert that no dandling dependencies are left 2021-03-12 13:31:08 +02:00
vm Remove unused obj variable missed in r354870. 2021-03-17 15:29:15 -07:00
x86 x86: consolidate hw watchpoint logic into new file 2021-03-19 16:51:52 -03:00
xdr
xen xen: move x86-specific xen_vector_callback_enabled to sys/x86 2021-03-15 14:20:21 +01:00
Makefile