aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/linux/linux_sigframe.h
Commit message (Collapse)AuthorAgeFilesLines
* arm64: Use the Linux sigframe to restore registersAndrew Turner2023-10-271-1/+0
| | | | | | | | | | | When returning from a Linux signal use the Linux sigframe to find the register values to restore. Remove the FreeBSD ucontext from the stack as it's now unneeded. Reviewed by: dchagin, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D42360
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* linux(4): Add AT_MINSIGSTKSZ to arm64 portDmitry Chagin2022-05-151-0/+2
| | | | MFC after: 2 weeks
* linux(4): Implement signal trampoline for arm64 in a FreeBSD-wayDmitry Chagin2022-05-151-11/+51
| | | | | | | | | | | | | | | The implemenation differs from others Linuxulators. For unwinders Linux ucontext_t is stored, however native machine context is used to store/restore process state to avoid code duplication. As DWARF Aarch64 does not define a register number for PC and provides no direct way to encode the PC of the previous frame, CFI cannot describe a signal trampoline frame. So, modified the vdso linker script to discard unused sections. Extensions are not implemented. MFC after: 2 weeks
* linux(4): Move sigframe definitions to separate headersDmitry Chagin2022-05-151-0/+44
The signal trampoine-related definitions are used only in the MD part of code, wherefore moved from everywhere used linux.h to separate MD headers. MFC after: 2 weeks