Module Name: src Committed By: reinoud Date: Wed May 16 12:40:43 UTC 2018
Modified Files: src/sys/arch/usermode/include: asm.h bswap.h byte_swap.h cdefs.h disklabel.h elf_machdep.h endian.h endian_machdep.h int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h limits.h mcontext.h netbsd32_machdep.h param.h ptrace.h wchar_limits.h Added Files: src/sys/arch/usermode/include: frame_regs.h Log Message: Regen usermode headers To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/usermode/include/asm.h \ src/sys/arch/usermode/include/bswap.h \ src/sys/arch/usermode/include/byte_swap.h \ src/sys/arch/usermode/include/elf_machdep.h \ src/sys/arch/usermode/include/endian.h \ src/sys/arch/usermode/include/endian_machdep.h \ src/sys/arch/usermode/include/int_const.h \ src/sys/arch/usermode/include/int_fmtio.h \ src/sys/arch/usermode/include/int_limits.h \ src/sys/arch/usermode/include/int_mwgwtypes.h \ src/sys/arch/usermode/include/int_types.h \ src/sys/arch/usermode/include/limits.h \ src/sys/arch/usermode/include/netbsd32_machdep.h \ src/sys/arch/usermode/include/wchar_limits.h cvs rdiff -u -r1.6 -r1.7 src/sys/arch/usermode/include/cdefs.h cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/include/disklabel.h \ src/sys/arch/usermode/include/ptrace.h cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/include/frame_regs.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/include/mcontext.h cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/include/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/usermode/include/asm.h diff -u src/sys/arch/usermode/include/asm.h:1.11 src/sys/arch/usermode/include/asm.h:1.12 --- src/sys/arch/usermode/include/asm.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/asm.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: asm.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: asm.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_ASM_H Index: src/sys/arch/usermode/include/bswap.h diff -u src/sys/arch/usermode/include/bswap.h:1.11 src/sys/arch/usermode/include/bswap.h:1.12 --- src/sys/arch/usermode/include/bswap.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/bswap.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: bswap.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: bswap.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_BSWAP_H Index: src/sys/arch/usermode/include/byte_swap.h diff -u src/sys/arch/usermode/include/byte_swap.h:1.11 src/sys/arch/usermode/include/byte_swap.h:1.12 --- src/sys/arch/usermode/include/byte_swap.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/byte_swap.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: byte_swap.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: byte_swap.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_BYTE_SWAP_H Index: src/sys/arch/usermode/include/elf_machdep.h diff -u src/sys/arch/usermode/include/elf_machdep.h:1.11 src/sys/arch/usermode/include/elf_machdep.h:1.12 --- src/sys/arch/usermode/include/elf_machdep.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/elf_machdep.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: elf_machdep.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: elf_machdep.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_ELF_MACHDEP_H Index: src/sys/arch/usermode/include/endian.h diff -u src/sys/arch/usermode/include/endian.h:1.11 src/sys/arch/usermode/include/endian.h:1.12 --- src/sys/arch/usermode/include/endian.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/endian.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: endian.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: endian.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_ENDIAN_H Index: src/sys/arch/usermode/include/endian_machdep.h diff -u src/sys/arch/usermode/include/endian_machdep.h:1.11 src/sys/arch/usermode/include/endian_machdep.h:1.12 --- src/sys/arch/usermode/include/endian_machdep.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/endian_machdep.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: endian_machdep.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: endian_machdep.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_ENDIAN_MACHDEP_H Index: src/sys/arch/usermode/include/int_const.h diff -u src/sys/arch/usermode/include/int_const.h:1.11 src/sys/arch/usermode/include/int_const.h:1.12 --- src/sys/arch/usermode/include/int_const.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/int_const.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: int_const.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: int_const.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_INT_CONST_H Index: src/sys/arch/usermode/include/int_fmtio.h diff -u src/sys/arch/usermode/include/int_fmtio.h:1.11 src/sys/arch/usermode/include/int_fmtio.h:1.12 --- src/sys/arch/usermode/include/int_fmtio.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/int_fmtio.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: int_fmtio.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: int_fmtio.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_INT_FMTIO_H Index: src/sys/arch/usermode/include/int_limits.h diff -u src/sys/arch/usermode/include/int_limits.h:1.11 src/sys/arch/usermode/include/int_limits.h:1.12 --- src/sys/arch/usermode/include/int_limits.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/int_limits.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: int_limits.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: int_limits.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_INT_LIMITS_H Index: src/sys/arch/usermode/include/int_mwgwtypes.h diff -u src/sys/arch/usermode/include/int_mwgwtypes.h:1.11 src/sys/arch/usermode/include/int_mwgwtypes.h:1.12 --- src/sys/arch/usermode/include/int_mwgwtypes.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/int_mwgwtypes.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: int_mwgwtypes.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: int_mwgwtypes.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_INT_MWGWTYPES_H Index: src/sys/arch/usermode/include/int_types.h diff -u src/sys/arch/usermode/include/int_types.h:1.11 src/sys/arch/usermode/include/int_types.h:1.12 --- src/sys/arch/usermode/include/int_types.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/int_types.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: int_types.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: int_types.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_INT_TYPES_H Index: src/sys/arch/usermode/include/limits.h diff -u src/sys/arch/usermode/include/limits.h:1.11 src/sys/arch/usermode/include/limits.h:1.12 --- src/sys/arch/usermode/include/limits.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/limits.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: limits.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: limits.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_LIMITS_H Index: src/sys/arch/usermode/include/netbsd32_machdep.h diff -u src/sys/arch/usermode/include/netbsd32_machdep.h:1.11 src/sys/arch/usermode/include/netbsd32_machdep.h:1.12 --- src/sys/arch/usermode/include/netbsd32_machdep.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/netbsd32_machdep.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: netbsd32_machdep.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: netbsd32_machdep.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_NETBSD32_MACHDEP_H Index: src/sys/arch/usermode/include/wchar_limits.h diff -u src/sys/arch/usermode/include/wchar_limits.h:1.11 src/sys/arch/usermode/include/wchar_limits.h:1.12 --- src/sys/arch/usermode/include/wchar_limits.h:1.11 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/wchar_limits.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: wchar_limits.h,v 1.11 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: wchar_limits.h,v 1.12 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_WCHAR_LIMITS_H Index: src/sys/arch/usermode/include/cdefs.h diff -u src/sys/arch/usermode/include/cdefs.h:1.6 src/sys/arch/usermode/include/cdefs.h:1.7 --- src/sys/arch/usermode/include/cdefs.h:1.6 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/cdefs.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: cdefs.h,v 1.6 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: cdefs.h,v 1.7 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_CDEFS_H Index: src/sys/arch/usermode/include/disklabel.h diff -u src/sys/arch/usermode/include/disklabel.h:1.13 src/sys/arch/usermode/include/disklabel.h:1.14 --- src/sys/arch/usermode/include/disklabel.h:1.13 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/disklabel.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: disklabel.h,v 1.13 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: disklabel.h,v 1.14 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:57 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_DISKLABEL_H Index: src/sys/arch/usermode/include/ptrace.h diff -u src/sys/arch/usermode/include/ptrace.h:1.13 src/sys/arch/usermode/include/ptrace.h:1.14 --- src/sys/arch/usermode/include/ptrace.h:1.13 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/ptrace.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: ptrace.h,v 1.13 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: ptrace.h,v 1.14 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_PTRACE_H Index: src/sys/arch/usermode/include/mcontext.h diff -u src/sys/arch/usermode/include/mcontext.h:1.3 src/sys/arch/usermode/include/mcontext.h:1.4 --- src/sys/arch/usermode/include/mcontext.h:1.3 Sat Aug 13 14:51:58 2011 +++ src/sys/arch/usermode/include/mcontext.h Wed May 16 12:40:43 2018 @@ -1,42 +1,20 @@ -/* $NetBSD: mcontext.h,v 1.3 2011/08/13 14:51:58 jmcneill Exp $ */ +/* $NetBSD: mcontext.h,v 1.4 2018/05/16 12:40:43 reinoud Exp $ */ -/*- - * Copyright (c) 2007 Jared D. McNeill <jmcne...@invisible.ca> - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. +/* + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 + * Do not modify directly! */ +#ifndef _USERMODE_MCONTEXT_H +#define _USERMODE_MCONTEXT_H -#ifndef _ARCH_USERMODE_INCLUDE_MCONTEXT_H -#define _ARCH_USERMODE_INCLUDE_MCONTEXT_H +#if defined(__i386__) +#include "../../i386/include/mcontext.h" +#elif defined(__x86_64__) +#include "../../amd64/include/mcontext.h" +#elif defined(__arm__) +#include "../../arm/include/mcontext.h" +#else +#error port me +#endif -#include <machine/vmparam.h> - -typedef struct { - uint8_t __unknown[PAGE_SIZE]; -} mcontext_t; - -typedef struct { - uint8_t __unknown[PAGE_SIZE]; -} mcontext32_t; - -#endif /* !_ARCH_USERMODE_INCLUDE_MCONTEXT_H */ +#endif Index: src/sys/arch/usermode/include/param.h diff -u src/sys/arch/usermode/include/param.h:1.12 src/sys/arch/usermode/include/param.h:1.13 --- src/sys/arch/usermode/include/param.h:1.12 Sun Nov 10 19:52:01 2013 +++ src/sys/arch/usermode/include/param.h Wed May 16 12:40:43 2018 @@ -1,7 +1,7 @@ -/* $NetBSD: param.h,v 1.12 2013/11/10 19:52:01 jmcneill Exp $ */ +/* $NetBSD: param.h,v 1.13 2018/05/16 12:40:43 reinoud Exp $ */ /* - * Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013 + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_PARAM_H Added files: Index: src/sys/arch/usermode/include/frame_regs.h diff -u /dev/null src/sys/arch/usermode/include/frame_regs.h:1.1 --- /dev/null Wed May 16 12:40:43 2018 +++ src/sys/arch/usermode/include/frame_regs.h Wed May 16 12:40:43 2018 @@ -0,0 +1,20 @@ +/* $NetBSD: frame_regs.h,v 1.1 2018/05/16 12:40:43 reinoud Exp $ */ + +/* + * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 + * Do not modify directly! + */ +#ifndef _USERMODE_FRAME_REGS_H +#define _USERMODE_FRAME_REGS_H + +#if defined(__i386__) +#include "../../i386/include/frame_regs.h" +#elif defined(__x86_64__) +#include "../../amd64/include/frame_regs.h" +#elif defined(__arm__) +#include "../../arm/include/frame_regs.h" +#else +#error port me +#endif + +#endif