<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/amd64/include/sigframe.h, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:22Z</updated>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c comment pattern</title>
<updated>2023-08-23T17:43:22Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4fbf14e22d7b83de7080a8e491ba14a5785a0ff4'/>
<id>urn:sha1:4fbf14e22d7b83de7080a8e491ba14a5785a0ff4</id>
<content type='text'>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/

Similar commit in current:
(cherry picked from commit 71625ec9ad2a)
</content>
</entry>
<entry>
<title>Convert machine/elf.h, machine/frame.h, machine/sigframe.h,</title>
<updated>2013-02-20T17:39:52Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2013-02-20T17:39:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=31a53cd03625e31cbbf63b78cf3c9b711301869a'/>
<id>urn:sha1:31a53cd03625e31cbbf63b78cf3c9b711301869a</id>
<content type='text'>
machine/signal.h and machine/ucontext.h into common x86 includes,
copying from amd64 and merging with i386.

Kernel-only compat definitions are kept in the i386/include/sigframe.h
and i386/include/signal.h, to reduce amd64 kernel namespace pollution.
The amd64 compat uses its own definitions so far.

The _MACHINE_ELF_WANT_32BIT definition is to allow the
sys/boot/userboot/userboot/elf32_freebsd.c to use i386 ELF definitions
on the amd64 compile host.  The same hack could be usefully abused by
other code too.
</content>
</entry>
<entry>
<title>Commit MD parts of a loosely functional AMD64 port.  This is based on</title>
<updated>2003-05-01T01:05:25Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2003-05-01T01:05:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=afa8862328041298fe0c059d65cea406f92bad4b'/>
<id>urn:sha1:afa8862328041298fe0c059d65cea406f92bad4b</id>
<content type='text'>
a heavily stripped down FreeBSD/i386 (brutally stripped down actually) to
attempt to get a stable base to start from.  There is a lot missing still.
Worth noting:
- The kernel runs at 1GB in order to cheat with the pmap code.  pmap uses
  a variation of the PAE code in order to avoid having to worry about 4
  levels of page tables yet.
- It boots in 64 bit "long mode" with a tiny trampoline embedded in the
  i386 loader.  This simplifies locore.s greatly.
- There are still quite a few fragments of i386-specific code that have
  not been translated yet, and some that I cheated and wrote dumb C
  versions of (bcopy etc).
- It has both int 0x80 for syscalls (but using registers for argument
  passing, as is native on the amd64 ABI), and the 'syscall' instruction
  for syscalls.  int 0x80 preserves all registers, 'syscall' does not.
- I have tried to minimize looking at the NetBSD code, except in a couple
  of places (eg: to find which register they use to replace the trashed
  %rcx register in the syscall instruction).  As a result, there is not a
  lot of similarity.  I did look at NetBSD a few times while debugging to
  get some ideas about what I might have done wrong in my first attempt.
</content>
</entry>
<entry>
<title>Split 4.x and 5.x signal handling so that we can keep 4.x signal</title>
<updated>2002-10-25T19:10:58Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2002-10-25T19:10:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=23eeeff7bee66bd81fa2d7ec9d648339bd0d041f'/>
<id>urn:sha1:23eeeff7bee66bd81fa2d7ec9d648339bd0d041f</id>
<content type='text'>
handling clean and functional as 5.x evolves.  This allows some of the
nasty bandaids in the 5.x codepaths to be unwound.

Encapsulate 4.x signal handling under COMPAT_FREEBSD4 (there is an
anti-foot-shooting measure in place, 5.x folks need this for a while) and
finish encapsulating the older stuff under COMPAT_43.  Since the ancient
stuff is required on alpha (longjmp(3) passes a 'struct osigcontext *'
to the current sigreturn(2), instead of the 'ucontext_t *' that sigreturn
is supposed to take), add a compile time check to prevent foot shooting
there too.  Add uniform COMPAT_43 stubs for ia64/sparc64/powerpc.

Tested on: i386, alpha, ia64.  Compiled on sparc64 (a few days ago).
Approved by: re
</content>
</entry>
<entry>
<title>Use struct __ucontext in prototypes and associated functions instead of</title>
<updated>2002-02-17T17:40:34Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2002-02-17T17:40:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0270d57aef325fb8d49f29133fa43fee1742240c'/>
<id>urn:sha1:0270d57aef325fb8d49f29133fa43fee1742240c</id>
<content type='text'>
ucontext_t.  Forward declare struct __ucontext in &lt;sys/signal.h&gt; and
remove reliance on &lt;sys/ucontext.h&gt; being included.

While I'm here, also hide osigcontext types from userland; suggested
by bde.

Namespace pollution noticed by: Kevin Day &lt;toasty@shell.dragondata.com&gt;
</content>
</entry>
<entry>
<title>style(9) the structure definitions.</title>
<updated>2001-09-05T01:36:46Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2001-09-05T01:36:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1792335469ba3565828d0eb595a64116ff63abdf'/>
<id>urn:sha1:1792335469ba3565828d0eb595a64116ff63abdf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix type of sf_addr.</title>
<updated>1999-12-04T10:40:24Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>1999-12-04T10:40:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ec1d9fe8ff249ad2aa19189a4600d03a06380a83'/>
<id>urn:sha1:ec1d9fe8ff249ad2aa19189a4600d03a06380a83</id>
<content type='text'>
Pointed out by: bde
</content>
</entry>
<entry>
<title>Change the type of sf_addr in struct {o}sigframe from char* to</title>
<updated>1999-11-12T11:21:34Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>1999-11-12T11:21:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c53edc53b7245cb057299c8e3536e2c75b9a5e1'/>
<id>urn:sha1:4c53edc53b7245cb057299c8e3536e2c75b9a5e1</id>
<content type='text'>
register_t.

Fix some style bugs and bitrotted comments.

Submitted by: bde
</content>
</entry>
<entry>
<title>Simplification of the signal trampoline and other cleanups.</title>
<updated>1999-10-07T12:40:34Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>1999-10-07T12:40:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=210430fd8dfe9d1097cc0d5b59887ad3b18dc0c0'/>
<id>urn:sha1:210430fd8dfe9d1097cc0d5b59887ad3b18dc0c0</id>
<content type='text'>
o  Remove unused defines from genassym.c that were needed
   by the trampoline.
o  Add load_gs_param function to support.s that catches
   a fault when %gs is loaded with an invalid descriptor.
   The function returns EFAULT in that case.
o  Remove struct trapframe from mcontext_t and replace it
   with the list of registers.
o  Modify sendsig and sigreturn accordingly.

This commit contains a patch by bde.

Reviewed by: luoqi, jdp
</content>
</entry>
<entry>
<title>Fix style bugs caused by using the wrong file to copy from. That one</title>
<updated>1999-10-03T12:55:58Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>1999-10-03T12:55:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0afa439d45662de1edfaabbe6d1b418804dc230e'/>
<id>urn:sha1:0afa439d45662de1edfaabbe6d1b418804dc230e</id>
<content type='text'>
gets fixed later on.

Reinstate the mysterious 4th argument to signal handlers and add some
comments on that.
</content>
</entry>
</feed>
