Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/include Regen usermode headers
details: https://anonhg.NetBSD.org/src/rev/3bdb852999a4
branches: trunk
changeset: 319095:3bdb852999a4
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed May 16 12:40:43 2018 +0000
description:
Regen usermode headers
diffstat:
sys/arch/usermode/include/asm.h | 4 +-
sys/arch/usermode/include/bswap.h | 4 +-
sys/arch/usermode/include/byte_swap.h | 4 +-
sys/arch/usermode/include/cdefs.h | 4 +-
sys/arch/usermode/include/disklabel.h | 4 +-
sys/arch/usermode/include/elf_machdep.h | 4 +-
sys/arch/usermode/include/endian.h | 4 +-
sys/arch/usermode/include/endian_machdep.h | 4 +-
sys/arch/usermode/include/frame_regs.h | 20 +++++++++
sys/arch/usermode/include/int_const.h | 4 +-
sys/arch/usermode/include/int_fmtio.h | 4 +-
sys/arch/usermode/include/int_limits.h | 4 +-
sys/arch/usermode/include/int_mwgwtypes.h | 4 +-
sys/arch/usermode/include/int_types.h | 4 +-
sys/arch/usermode/include/limits.h | 4 +-
sys/arch/usermode/include/mcontext.h | 58 ++++++++-------------------
sys/arch/usermode/include/netbsd32_machdep.h | 4 +-
sys/arch/usermode/include/param.h | 4 +-
sys/arch/usermode/include/ptrace.h | 4 +-
sys/arch/usermode/include/wchar_limits.h | 4 +-
20 files changed, 74 insertions(+), 76 deletions(-)
diffs (truncated from 322 to 300 lines):
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/asm.h
--- a/sys/arch/usermode/include/asm.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/asm.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/bswap.h
--- a/sys/arch/usermode/include/bswap.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/bswap.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/byte_swap.h
--- a/sys/arch/usermode/include/byte_swap.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/byte_swap.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/cdefs.h
--- a/sys/arch/usermode/include/cdefs.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/cdefs.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/disklabel.h
--- a/sys/arch/usermode/include/disklabel.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/disklabel.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/elf_machdep.h
--- a/sys/arch/usermode/include/elf_machdep.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/elf_machdep.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/endian.h
--- a/sys/arch/usermode/include/endian.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/endian.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/endian_machdep.h
--- a/sys/arch/usermode/include/endian_machdep.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/endian_machdep.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/frame_regs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/usermode/include/frame_regs.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/int_const.h
--- a/sys/arch/usermode/include/int_const.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/int_const.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/int_fmtio.h
--- a/sys/arch/usermode/include/int_fmtio.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/int_fmtio.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/int_limits.h
--- a/sys/arch/usermode/include/int_limits.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/int_limits.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/int_mwgwtypes.h
--- a/sys/arch/usermode/include/int_mwgwtypes.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/int_mwgwtypes.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/int_types.h
--- a/sys/arch/usermode/include/int_types.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/int_types.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/limits.h
--- a/sys/arch/usermode/include/limits.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/limits.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/mcontext.h
--- a/sys/arch/usermode/include/mcontext.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/mcontext.h Wed May 16 12:40:43 2018 +0000
@@ -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 $ */
+
+/*
+ * 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
-/*-
- * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
- * 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.
- */
+#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
-#ifndef _ARCH_USERMODE_INCLUDE_MCONTEXT_H
-#define _ARCH_USERMODE_INCLUDE_MCONTEXT_H
-
-#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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/netbsd32_machdep.h
--- a/sys/arch/usermode/include/netbsd32_machdep.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/netbsd32_machdep.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/param.h
--- a/sys/arch/usermode/include/param.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/param.h Wed May 16 12:40:43 2018 +0000
@@ -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
diff -r 59298bd45ebf -r 3bdb852999a4 sys/arch/usermode/include/ptrace.h
--- a/sys/arch/usermode/include/ptrace.h Wed May 16 12:40:26 2018 +0000
+++ b/sys/arch/usermode/include/ptrace.h Wed May 16 12:40:43 2018 +0000
@@ -1,7 +1,7 @@
Home |
Main Index |
Thread Index |
Old Index