svn commit: r343561 - in head/sys: arm64/include riscv/include

Konstantin Belousov kib at freebsd.org
Tue Jan 29 22:11:14 UTC 2019


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.


More information about the svn-src-all mailing list