Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 00:11:06 +0200
From:      Konstantin Belousov <kib@freebsd.org>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r343561 - in head/sys: arm64/include riscv/include
Message-ID:  <20190129221106.GN24863@kib.kiev.ua>
In-Reply-To: <201901292010.x0TKAR6G090826@repo.freebsd.org>
References:  <201901292010.x0TKAR6G090826@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 29, 2019 at 08:10:27PM +0000, David E. O'Brien wrote:
> Author: obrien
> Date: Tue Jan 29 20:10:27 2019
> New Revision: 343561
> URL: https://svnweb.freebsd.org/changeset/base/343561
> 
> Log:
>   Follow arm[32] and sparc64 KAPI and provide the FreeBSD standard spelling
>   across all architectures for this header.
>   
>   Reviewed by:	stevek
>   Obtained from:	Juniper Networks
> 
> Added:
>   head/sys/arm64/include/sigframe.h
>      - copied unchanged from r343560, head/sys/arm/include/sigframe.h
>   head/sys/riscv/include/sigframe.h
>      - copied unchanged from r343560, head/sys/arm/include/sigframe.h
> 
> Copied: head/sys/arm64/include/sigframe.h (from r343560, head/sys/arm/include/sigframe.h)
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/sys/arm64/include/sigframe.h	Tue Jan 29 20:10:27 2019	(r343561, copy of r343560, head/sys/arm/include/sigframe.h)
> @@ -0,0 +1,2 @@
> +/* $FreeBSD$ */
> +#include <machine/frame.h>
> 
> Copied: head/sys/riscv/include/sigframe.h (from r343560, head/sys/arm/include/sigframe.h)
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/sys/riscv/include/sigframe.h	Tue Jan 29 20:10:27 2019	(r343561, copy of r343560, head/sys/arm/include/sigframe.h)
> @@ -0,0 +1,2 @@
> +/* $FreeBSD$ */
> +#include <machine/frame.h>

All other architectures are careful to only provide sigframe definition
in machine/sigframe.h.  For instance trapframes are not exposed.

This is the main reason why frame.h and sigframe.h both exist.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190129221106.GN24863>