freebsd-dev/sys/arm
Andrew Turner 548a2ec49b Add PT_GETREGSET
This adds the PT_GETREGSET and PT_SETREGSET ptrace types. These can be
used to access all the registers from a specified core dump note type.
The NT_PRSTATUS and NT_FPREGSET notes are initially supported. Other
machine-dependant types are expected to be added in the future.

The ptrace addr points to a struct iovec pointing at memory to hold the
registers along with its length. On success the length in the iovec is
updated to tell userspace the actual length the kernel wrote or, if the
base address is NULL, the length the kernel would have written.

Because the data field is an int the arguments are backwards when
compared to the Linux PTRACE_GETREGSET call.

Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D19831
2022-01-27 11:40:34 +00:00
..
allwinner aw_spi: improve I/O stability 2021-12-20 12:40:17 +02:00
altera/socfpga arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
annapurna/alpine Remove versatile support 2021-04-12 06:16:31 +00:00
arm Add PT_GETREGSET 2022-01-27 11:40:34 +00:00
broadcom/bcm2835 Add the missing terminator to the bcm_xhci methods 2021-12-29 12:20:01 +00:00
conf qcom_dwc3: add initial Qualcomm SoC DWC3 controller glue 2021-12-27 18:25:32 -08:00
freescale arm/freescale: remove FBIOSCURSOR 2021-12-09 17:00:43 +00:00
include Remove Arm barriers for pre-armv6 CPUs 2022-01-11 11:22:29 +00:00
mv Add driver for marvell, a37x0 peripheral clocks 2022-01-04 13:26:35 +01:00
nvidia tegra/ahci: do not advertise enclosure management facility 2021-12-24 20:36:46 +01:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
qualcomm ipq4018_usb_phy: remove old debugging routine 2021-12-27 18:33:06 -08:00
rockchip Add support for RK3288 SoC. 2020-12-04 16:24:44 +00:00
ti omap4: Fix a few typos in source code comments 2021-12-04 12:13:27 +01:00
xilinx arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00