<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/arm64/linux/linux_sigframe.h, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>arm64: Use the Linux sigframe to restore registers</title>
<updated>2024-02-19T12:41:40+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2023-10-25T09:50:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=72b242ac15af15bea2c6989bb911d2dd6ab11651'/>
<id>72b242ac15af15bea2c6989bb911d2dd6ab11651</id>
<content type='text'>
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

(cherry picked from commit 070a4ff82a34652d533f9315ae9ad0aa8f1fdeb2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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

(cherry picked from commit 070a4ff82a34652d533f9315ae9ad0aa8f1fdeb2)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:20+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f8167e0404dab9ffeaca95853dd237ab7c587f82'/>
<id>f8167e0404dab9ffeaca95853dd237ab7c587f82</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in current:
(cherry picked from commit 95ee2897e98f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in current:
(cherry picked from commit 95ee2897e98f)
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Add AT_MINSIGSTKSZ to arm64 port</title>
<updated>2022-06-17T19:35:23+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2022-05-15T18:12:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d30b87879ba43e47d86b57d66a33e3edd3948110'/>
<id>d30b87879ba43e47d86b57d66a33e3edd3948110</id>
<content type='text'>
MFC after:	2 weeks

(cherry picked from commit 390c9ea029fdd3fb2ce61fc6b48617f0f7cd8754)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	2 weeks

(cherry picked from commit 390c9ea029fdd3fb2ce61fc6b48617f0f7cd8754)
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Implement signal trampoline for arm64 in a FreeBSD-way</title>
<updated>2022-06-17T19:35:22+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2022-05-15T18:10:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=98b737c9f1b4b5f19a648a39e008ca3934c95b85'/>
<id>98b737c9f1b4b5f19a648a39e008ca3934c95b85</id>
<content type='text'>
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

(cherry picked from commit c56480a832354aff995f9d0bc5da4ccf27dfe78a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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

(cherry picked from commit c56480a832354aff995f9d0bc5da4ccf27dfe78a)
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Move sigframe definitions to separate headers</title>
<updated>2022-06-17T19:35:20+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2022-05-15T18:03:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f3bfb826601d0d5581438c357a5dabd35aef9d2'/>
<id>3f3bfb826601d0d5581438c357a5dabd35aef9d2</id>
<content type='text'>
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

(cherry picked from commit 21f246174184742ba8952aeb1dadbf58d48d54b4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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

(cherry picked from commit 21f246174184742ba8952aeb1dadbf58d48d54b4)
</pre>
</div>
</content>
</entry>
</feed>
