freebsd-skq/sys/i386
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
..
acpica acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
bios Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
conf smbios: Move smbios driver out from x86 machdep code 2021-02-23 21:17:09 +00:00
i386 x86: consolidate hw watchpoint logic into new file 2021-03-19 16:51:52 -03:00
include smbios: Move smbios driver out from x86 machdep code 2021-02-23 21:17:09 +00:00
linux Rename linux_set_upcall_kse() to linux_set_upcall(). 2021-03-18 12:14:34 -07:00
pci i386: clean up empty lines in .c and .h files 2020-09-01 21:19:39 +00:00
Makefile Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00