*
* @(#)err.h 8.1 (Berkeley) 6/2/93
* $FreeBSD: src/include/err.h,v 1.8 1999/08/27 23:44:49 peter Exp $
- * $DragonFly: src/include/err.h,v 1.4 2003/11/14 01:01:43 dillon Exp $
*/
#ifndef _ERR_H_
* __va_list from <machine/stdint.h> and use it.
*/
#include <sys/cdefs.h>
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
-#ifndef _MACHINE_STDARG_H_
#include <machine/stdarg.h>
-#endif
__BEGIN_DECLS
void err (int, const char *, ...) __dead2 __printf0like(2, 3);
#include <sys/cdefs.h>
#include <sys/_posix.h>
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
#include <sys/signal.h>
#include <sys/time.h>
* 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.
- *
- * $DragonFly: src/include/stdarg.h,v 1.4 2006/01/24 21:43:33 joerg Exp $
*/
#ifndef _STDARG_H_
#include <sys/cdefs.h>
#endif
-#ifndef _MACHINE_STDARG_H_
#include <machine/stdarg.h>
-#endif
#ifndef _VA_LIST_DECLARED
typedef __va_list va_list;
* SUCH DAMAGE.
*
* @(#)time.h 8.3 (Berkeley) 1/21/94
- * $DragonFly: src/include/time.h,v 1.7 2008/06/05 17:53:10 swildner Exp $
*/
#ifndef _TIME_H_
#include <sys/cdefs.h>
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
#include <machine/uvparam.h>
#include <sys/_posix.h>
* SUCH DAMAGE.
*
* @(#)utime.h 8.1 (Berkeley) 6/2/93
- * $DragonFly: src/include/utime.h,v 1.2 2003/11/14 01:01:43 dillon Exp $
*/
#ifndef _UTIME_H_
#define _UTIME_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
#ifndef _TIME_T_DECLARED
#define _TIME_T_DECLARED
* SUCH DAMAGE.
*
* $FreeBSD: src/lib/libstand/stand.h,v 1.18.2.8 2002/06/17 11:22:39 sobomax Exp $
- * $DragonFly: src/lib/libstand/stand.h,v 1.11 2008/09/13 11:38:58 corecode Exp $
* From $NetBSD: stand.h,v 1.22 1997/06/26 19:17:40 drochner Exp $
*/
* @(#)stand.h 8.1 (Berkeley) 6/11/93
*/
-#ifndef _MACHINE_STDARG_H_
#include <machine/stdarg.h> /* __va_list */
-#endif
#include <sys/types.h>
#include <sys/cdefs.h>
#include <sys/stat.h>
#ifndef _VM_VM_PAGE_H_
#include <vm/vm_page.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
#if !defined(_KERNEL) && !defined(_KERNEL_STRUCTURES)
#error "This file should not be included by userland programs."
*
* @(#)signal.h 8.1 (Berkeley) 6/11/93
* $FreeBSD: src/sys/i386/include/signal.h,v 1.12 1999/11/12 13:52:11 marcel Exp $
- * $DragonFly: src/sys/cpu/i386/include/signal.h,v 1.9 2007/01/13 21:15:55 dillon Exp $
*/
#ifndef _CPU_SIGNAL_H_
#ifndef _SYS_SIGNAL_H_
#include <sys/signal.h>
#endif
-#ifndef _MACHINE_TRAP_H_
#include <machine/trap.h> /* codes for SIGILL, SIGFPE */
-#endif
/*
* Information pushed on stack when a signal is delivered.
*
* @(#)types.h 8.3 (Berkeley) 1/5/94
* $FreeBSD: src/sys/i386/include/types.h,v 1.19.2.1 2001/03/21 10:50:58 peter Exp $
- * $DragonFly: src/sys/cpu/i386/include/types.h,v 1.11 2006/11/07 06:43:23 dillon Exp $
*/
#ifndef _CPU_TYPES_H_
#define _CPU_TYPES_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
typedef unsigned long vm_offset_t; /* address space bounded offset */
typedef unsigned long vm_size_t; /* address space bounded size */
* 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.
- *
- * $DragonFly: src/sys/cpu/i386/include/vframe.h,v 1.2 2007/01/09 23:34:01 dillon Exp $
*/
#ifndef _CPU_VFRAME_H_
#define _CPU_VFRAME_H_
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
/*
* Virtualized external frame. This is used by the virtual kernel in
#ifndef _VM_VM_PAGE_H_
#include <vm/vm_page.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
#ifndef _MACHINE_VMPARAM_H_
#include <machine/vmparam.h>
#endif
#ifndef _CPU_TYPES_H_
#define _CPU_TYPES_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
#if defined(__x86_64__)
typedef __int64_t __segsz_t; /* segment size */
#ifndef _CPU_VFRAME_H_
#define _CPU_VFRAME_H_
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
/*
* Virtualized external frame. This is used by the virtual kernel in
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/ddb/ddb.h,v 1.24.2.2 2002/08/30 22:27:49 gibbs Exp $
- * $DragonFly: src/sys/ddb/ddb.h,v 1.12 2007/05/07 05:21:38 dillon Exp $
*/
/*
#include <sys/queue.h>
#endif
-#ifndef _MACHINE_DB_MACHDEP_H_
#include <machine/db_machdep.h> /* type definitions */
-#endif
#ifndef _MACHINE_GLOBALDATA_H_
#include <machine/globaldata.h>
/* $FreeBSD: src/sys/netinet/icmp6.h,v 1.2.2.5 2002/06/29 18:31:11 ume Exp $ */
-/* $DragonFly: src/sys/netinet/icmp6.h,v 1.8 2008/09/04 09:08:22 hasso Exp $ */
/* $KAME: icmp6.h,v 1.46 2001/04/27 15:09:48 itojun Exp $ */
/*
#ifndef _NETINET6_IN6_H_
#include <netinet/in.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
#define ICMPV6_PLD_MAXLEN 1232 /* IPV6_MMTU - sizeof(struct ip6_hdr)
- sizeof(struct icmp6_hdr) */
*
* @(#)ip.h 8.2 (Berkeley) 6/1/94
* $FreeBSD: src/sys/netinet/ip.h,v 1.17 1999/12/22 19:13:20 shin Exp $
- * $DragonFly: src/sys/netinet/ip.h,v 1.5 2006/05/20 02:42:12 dillon Exp $
*/
#ifndef _NETINET_IP_H_
#ifndef _NETINET_IN_SYSTM_H_
#include <netinet/in_systm.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
* Definitions for internet protocol version 4.
/* $FreeBSD: src/sys/netinet/ip6.h,v 1.2.2.2 2001/07/03 11:01:46 ume Exp $ */
-/* $DragonFly: src/sys/netinet/ip6.h,v 1.8 2008/09/04 09:08:22 hasso Exp $ */
/* $KAME: ip6.h,v 1.18 2001/03/29 05:34:30 itojun Exp $ */
/*
#ifndef _NETINET_IN_H_
#include <netinet/in.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
*
* @(#)ip_var.h 8.2 (Berkeley) 1/9/95
* $FreeBSD: src/sys/netinet/ip_var.h,v 1.50.2.13 2003/08/24 08:24:38 hsu Exp $
- * $DragonFly: src/sys/netinet/ip_var.h,v 1.27 2008/09/13 08:48:42 sephe Exp $
*/
#ifndef _NETINET_IP_VAR_H_
#ifdef _KERNEL
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
#ifndef _MACHINE_PARAM_H_
#include <machine/param.h>
#endif
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/netinet/pim.h,v 1.1.2.1 2003/08/24 17:04:44 hsu Exp $
- * $DragonFly: src/sys/netinet/pim.h,v 1.4 2006/05/20 02:42:12 dillon Exp $
*/
#ifndef _NETINET_PIM_H_
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
*
* @(#)tcp.h 8.1 (Berkeley) 6/10/93
* $FreeBSD: src/sys/netinet/tcp.h,v 1.13.2.3 2001/03/01 22:08:42 jlemon Exp $
- * $DragonFly: src/sys/netinet/tcp.h,v 1.7 2006/05/20 02:42:12 dillon Exp $
*/
#ifndef _NETINET_TCP_H_
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
typedef u_int32_t tcp_seq;
typedef int32_t tcp_seq_diff_t;
/* $FreeBSD: src/sys/netinet6/pim6.h,v 1.1.2.1 2000/07/15 07:14:36 kris Exp $ */
-/* $DragonFly: src/sys/netinet6/pim6.h,v 1.4 2006/05/20 02:42:12 dillon Exp $ */
/* $KAME: pim6.h,v 1.3 2000/03/25 07:23:58 sumikawa Exp $ */
/*
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
* Protocol Independent Multicast (PIM) definitions
* should not include this file.
*
* $FreeBSD: src/sys/i386/include/globaldata.h,v 1.11.2.1 2000/05/16 06:58:10 dillon Exp $
- * $DragonFly: src/sys/platform/pc32/include/globaldata.h,v 1.29 2006/10/23 21:50:31 dillon Exp $
*/
#ifndef _MACHINE_GLOBALDATA_H_
#ifndef _SYS_THREAD_H_
#include <sys/thread.h> /* struct thread */
#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h> /* struct segment_descriptor */
-#endif
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h> /* struct i386tss */
-#endif
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
/*
* Note on interrupt control. Pending interrupts not yet dispatched are
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/i386/include/pcb_ext.h,v 1.4 1999/12/29 04:33:04 peter Exp $
- * $DragonFly: src/sys/platform/pc32/include/pcb_ext.h,v 1.9 2007/01/08 03:33:42 dillon Exp $
*/
#ifndef _MACHINE_PCB_EXT_H_
/*
* Extension to the 386 process control block
*/
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h>
-#endif
-#ifndef _MACHINE_VM86_H_
#include <machine/vm86.h>
-#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
struct pcb_ext {
struct segment_descriptor ext_tssd; /* tss descriptor */
* SUCH DAMAGE.
*
* Machine independant code should not directly include this file.
- *
- * $DragonFly: src/sys/platform/pc32/include/thread.h,v 1.17 2007/01/08 03:33:42 dillon Exp $
*/
#ifndef _MACHINE_THREAD_H_
#define _MACHINE_THREAD_H_
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
union savefpu;
*
* @(#)types.h 8.3 (Berkeley) 1/5/94
* $FreeBSD: src/sys/i386/include/types.h,v 1.19.2.1 2001/03/21 10:50:58 peter Exp $
- * $DragonFly: src/sys/platform/pc32/include/types.h,v 1.1 2006/11/07 06:43:24 dillon Exp $
*/
#ifndef _MACHINE_TYPES_H_
#define _MACHINE_TYPES_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
-
#include <cpu/types.h>
/* Interrupt mask (spl, xxx_imask, etc) */
* should not include this file.
*
* $FreeBSD: src/sys/i386/include/globaldata.h,v 1.11.2.1 2000/05/16 06:58:10 dillon Exp $
- * $DragonFly: src/sys/platform/pc64/include/globaldata.h,v 1.2 2008/08/29 17:07:17 dillon Exp $
*/
#ifndef _MACHINE_GLOBALDATA_H_
#ifndef _SYS_THREAD_H_
#include <sys/thread.h> /* struct thread */
#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h> /* struct user_segment_descriptor */
-#endif
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h> /* struct x86_64tss */
-#endif
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
/*
* Note on interrupt control. Pending interrupts not yet dispatched are
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/i386/include/pcb_ext.h,v 1.4 1999/12/29 04:33:04 peter Exp $
- * $DragonFly: src/sys/platform/pc64/include/pcb_ext.h,v 1.3 2008/08/29 17:07:17 dillon Exp $
*/
#ifndef _MACHINE_PCB_EXT_H_
/*
* Extension to the 386 process control block
*/
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h>
-#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
struct pcb_ext {
struct user_segment_descriptor ext_tssd; /* tss descriptor */
* SUCH DAMAGE.
*
* Machine independant code should not directly include this file.
- *
- * $DragonFly: src/sys/platform/pc64/include/thread.h,v 1.3 2008/08/29 17:07:17 dillon Exp $
*/
#ifndef _MACHINE_THREAD_H_
#define _MACHINE_THREAD_H_
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
struct md_thread {
unsigned int mtd_cpl;
*
* @(#)types.h 8.3 (Berkeley) 1/5/94
* $FreeBSD: src/sys/i386/include/types.h,v 1.19.2.1 2001/03/21 10:50:58 peter Exp $
- * $DragonFly: src/sys/platform/pc64/include/types.h,v 1.2 2007/09/23 04:29:31 yanyh Exp $
*/
#ifndef _MACHINE_TYPES_H_
#define _MACHINE_TYPES_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
-
#include <cpu/types.h>
/* Interrupt mask (spl, xxx_imask, etc) */
* should not include this file.
*
* $FreeBSD: src/sys/i386/include/globaldata.h,v 1.11.2.1 2000/05/16 06:58:10 dillon Exp $
- * $DragonFly: src/sys/platform/vkernel/include/globaldata.h,v 1.8 2008/04/28 07:05:07 dillon Exp $
*/
#ifndef _MACHINE_GLOBALDATA_H_
#ifndef _SYS_VKERNEL_H_
#include <sys/vkernel.h> /* vpte_t */
#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h> /* struct segment_descriptor */
-#endif
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h> /* struct i386tss */
-#endif
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
/*
* Note on interrupt control. Pending interrupts not yet dispatched are
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/i386/include/pcb_ext.h,v 1.4 1999/12/29 04:33:04 peter Exp $
- * $DragonFly: src/sys/platform/vkernel/include/pcb_ext.h,v 1.2 2007/01/08 03:33:43 dillon Exp $
*/
#ifndef _MACHINE_PCB_EXT_H_
/*
* Extension to the 386 process control block
*/
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h>
-#endif
-#ifndef _MACHINE_VM86_H_
#include <machine/vm86.h>
-#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
struct pcb_ext {
struct segment_descriptor ext_tssd; /* tss descriptor */
* 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.
- *
- * $DragonFly: src/sys/platform/vkernel/include/thread.h,v 1.2 2007/01/08 03:33:43 dillon Exp $
*/
#ifndef _MACHINE_THREAD_H_
#define _MACHINE_THREAD_H_
-#ifndef _MACHINE_VFRAME_H_
#include <machine/vframe.h>
-#endif
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
struct md_thread {
unsigned int mtd_unused; /* used to be mtd_cpl */
* should not include this file.
*
* $FreeBSD: src/sys/i386/include/globaldata.h,v 1.11.2.1 2000/05/16 06:58:10 dillon Exp $
- * $DragonFly: src/sys/platform/vkernel/include/globaldata.h,v 1.8 2008/04/28 07:05:07 dillon Exp $
*/
#ifndef _MACHINE_GLOBALDATA_H_
#ifndef _SYS_VKERNEL_H_
#include <sys/vkernel.h> /* vpte_t */
#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h> /* struct segment_descriptor */
-#endif
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h> /* struct i386tss */
-#endif
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
/*
* Note on interrupt control. Pending interrupts not yet dispatched are
/*
* Extension to the 386 process control block
*/
-#ifndef _MACHINE_TSS_H_
#include <machine/tss.h>
-#endif
-#ifndef _MACHINE_SEGMENTS_H_
#include <machine/segments.h>
-#endif
struct pcb_ext {
struct user_segment_descriptor ext_tssd; /* tss descriptor */
* 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.
- *
- * $DragonFly: src/sys/platform/vkernel/include/thread.h,v 1.2 2007/01/08 03:33:43 dillon Exp $
*/
#ifndef _MACHINE_THREAD_H_
#define _MACHINE_THREAD_H_
-#ifndef _MACHINE_VFRAME_H_
#include <machine/vframe.h>
-#endif
-#ifndef _MACHINE_NPX_H_
#include <machine/npx.h>
-#endif
struct md_thread {
unsigned int mtd_unused; /* used to be mtd_cpl */
/*
* $NetBSD: bus.h,v 1.12 1997/10/01 08:25:15 fvdl Exp $
* $FreeBSD: src/sys/i386/include/bus_dma.h,v 1.15.2.2 2002/11/21 23:36:01 sam Exp $
- * $DragonFly: src/sys/sys/bus_dma.h,v 1.1 2006/10/25 20:56:03 dillon Exp $
*/
#ifndef _SYS_BUS_DMA_H_
/*
* Include machine-specific bus stuff
*/
-#ifndef _MACHINE_BUS_DMA_H_
#include <machine/bus_dma.h> /* bus_addr_t */
-#endif
/*
* Flags used in various bus DMA methods.
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/sys/elf_generic.h,v 1.4 1999/08/28 00:51:42 peter Exp $
- * $DragonFly: src/sys/sys/elf_generic.h,v 1.6 2006/10/23 21:50:33 dillon Exp $
*/
#ifndef _SYS_ELF_GENERIC_H_
#ifndef _SYS_CDEFS_H_
#include <sys/cdefs.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
* Definitions of generic ELF names which relieve applications from
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/sys/endian.h,v 1.2.2.1 2002/09/09 05:45:04 imp Exp $
- * $DragonFly: src/sys/sys/endian.h,v 1.5 2006/05/20 02:42:13 dillon Exp $
*/
#ifndef _SYS_ENDIAN_H_
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
* General byte order swapping functions.
*
* @(#)gmon.h 8.2 (Berkeley) 1/4/94
* $FreeBSD: src/sys/sys/gmon.h,v 1.15 1999/08/28 00:51:45 peter Exp $
- * $DragonFly: src/sys/sys/gmon.h,v 1.3 2006/05/21 03:43:47 dillon Exp $
*/
#ifndef _SYS_GMON_H_
#define _SYS_GMON_H_
-#ifndef _MACHINE_PROFILE_H_
#include <machine/profile.h>
-#endif
/*
* Structure prepended to gmon.out profiling data file.
/* $NetBSD: ieee754.h,v 1.3 2003/10/27 01:11:47 kleink Exp $ */
-/* $DragonFly: src/sys/sys/ieee754.h,v 1.3 2006/05/20 02:42:13 dillon Exp $ */
/*
* Copyright (c) 1992, 1993
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
* from: @(#)in_cksum.c 1.3 (Berkeley) 1/19/91
* from: Id: in_cksum.c,v 1.8 1995/12/03 18:35:19 bde Exp
* $FreeBSD: src/sys/i386/include/in_cksum.h,v 1.7.2.2 2002/07/02 04:03:04 jdp Exp $
- * $DragonFly: src/sys/sys/in_cksum.h,v 1.4 2006/05/20 02:42:13 dillon Exp $
*/
#ifndef _SYS_IN_CKSUM_H_
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
#ifdef _KERNEL
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/sys/linker.h,v 1.17.2.1 2002/03/11 01:13:53 dd Exp $
- * $DragonFly: src/sys/sys/linker.h,v 1.11 2008/02/06 22:37:46 nth Exp $
*/
#ifndef _SYS_LINKER_H_
#ifndef _SYS_QUEUE_H_
#include <sys/queue.h>
#endif
-#ifndef _MACHINE_ELF_H_
#include <machine/elf.h>
-#endif
#include <sys/module.h>
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/sys/mchain.h,v 1.1.2.1 2001/05/18 11:01:23 bp Exp $
- * $DragonFly: src/sys/sys/mchain.h,v 1.4 2006/05/20 02:42:13 dillon Exp $
*/
#ifndef _SYS_MCHAIN_H_
#define _SYS_MCHAIN_H_
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
* This macros probably belongs to the endian.h
#ifndef _SYS_MPLOCK2_H_
#define _SYS_MPLOCK2_H_
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
#ifndef _SYS_THREAD_H_
#include <sys/thread.h>
#endif
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
-#ifndef _MACHINE_CPUFUNC_H_
#include <machine/cpufunc.h>
-#endif
/*
* The general mutex structure provides recursive shared and exclusive
#ifndef _SYS_GLOBALDATA_H_
#include <sys/globaldata.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
/*
* Initialize a new mutex, placing it in an unlocked state with no refs.
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $FreeBSD: src/sys/sys/sbuf.h,v 1.7.2.2 2002/03/12 01:00:28 archie Exp $
- * $DragonFly: src/sys/sys/sbuf.h,v 1.4 2006/05/20 02:42:13 dillon Exp $
*/
#ifndef _SYS_SBUF_H_
#ifndef _SYS_CDEFS_H_
#include <sys/cdefs.h>
#endif
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
-#ifndef _MACHINE_STDARG_H_
#include <machine/stdarg.h>
-#endif
/*
* Structure definition
* This API is designed to be used whenever low level serialization is
* required. Unlike tokens this serialization is not safe from deadlocks
* nor is it recursive, and care must be taken when using it.
- *
- * $DragonFly: src/sys/sys/serialize.h,v 1.9 2008/05/14 11:59:24 sephe Exp $
*/
#ifndef _SYS_SERIALIZE_H_
#define _SYS_SERIALIZE_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
struct thread;
*
* @(#)signal.h 8.4 (Berkeley) 5/4/95
* $FreeBSD: src/sys/sys/signal.h,v 1.23.2.2 2001/04/19 01:38:35 alfred Exp $
- * $DragonFly: src/sys/sys/signal.h,v 1.6 2007/01/14 07:59:08 dillon Exp $
*/
#ifndef _SYS_SIGNAL_H_
#define _SYS_SIGNAL_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h> /* for __ types */
-#endif
#include <sys/cdefs.h>
#include <sys/_posix.h>
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
#define _NO_NAMESPACE_POLLUTION
#include <machine/param.h>
*
* @(#)socketvar.h 8.3 (Berkeley) 2/19/95
* $FreeBSD: src/sys/sys/socketvar.h,v 1.46.2.10 2003/08/24 08:24:39 hsu Exp $
- * $DragonFly: src/sys/sys/socketvar2.h,v 1.1 2007/11/07 18:24:04 dillon Exp $
*/
#ifndef _SYS_SOCKETVAR2_H_
#ifndef _SYS_MALLOC_H_
#include <sys/malloc.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
/*
* Acquire a lock on a signalsockbuf, sleep if the lock is already held.
* 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.
- *
- * $DragonFly: src/sys/sys/spinlock2.h,v 1.12 2008/06/04 04:34:54 nth Exp $
*/
#ifndef _SYS_SPINLOCK2_H_
#ifndef _SYS_GLOBALDATA_H_
#include <sys/globaldata.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
-#ifndef _MACHINE_CPUFUNC_H_
#include <machine/cpufunc.h>
-#endif
#ifdef SMP
* 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.
- *
- * $DragonFly: src/sys/sys/syslink_msg.h,v 1.11 2007/08/13 17:47:20 dillon Exp $
*/
/*
* The syslink infrastructure implements an optimized RPC mechanism across a
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
typedef int32_t sl_auxdata_t; /* auxillary data element */
typedef u_int32_t sl_rlabel_t; /* reply label routing id */
* 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.
- *
- * $DragonFly: src/sys/sys/sysref2.h,v 1.2 2007/05/06 19:23:33 dillon Exp $
*/
/*
* System resource registration, reference counter, and allocation
#ifndef _SYS_SYSREF_H_
#include <sys/sysref.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
void _sysref_put(struct sysref *);
*
* @(#)systm.h 8.7 (Berkeley) 3/29/95
* $FreeBSD: src/sys/sys/systm.h,v 1.111.2.18 2002/12/17 18:04:02 sam Exp $
- * $DragonFly: src/sys/sys/systm.h,v 1.81 2008/09/11 00:35:49 dillon Exp $
*/
#ifndef _SYS_SYSTM_H_
#ifndef _MACHINE_TYPES_H_
#include <machine/types.h>
#endif
-#ifndef _MACHINE_STDARG_H_
#include <machine/stdarg.h>
-#endif
#include <machine/atomic.h>
#include <machine/cpufunc.h>
#include <sys/callout.h>
*
* Types which must already be defined when this header is included by
* userland: struct md_thread
- *
- * $DragonFly: src/sys/sys/thread.h,v 1.97 2008/09/20 04:31:02 sephe Exp $
*/
#ifndef _SYS_THREAD_H_
#ifndef _SYS_IOSCHED_H_
#include <sys/iosched.h>
#endif
-#ifndef _MACHINE_THREAD_H_
#include <machine/thread.h>
-#endif
struct globaldata;
struct lwp;
* with the current cpu. For example, a higher priority thread pending
* on a different cpu will not be immediately scheduled by a yield() on
* this cpu.
- *
- * $DragonFly: src/sys/sys/thread2.h,v 1.28 2006/12/23 00:27:03 swildner Exp $
*/
#ifndef _SYS_THREAD2_H_
#ifndef _SYS_GLOBALDATA_H_
#include <sys/globaldata.h>
#endif
-#ifndef _MACHINE_CPUFUNC_H_
#include <machine/cpufunc.h>
-#endif
/*
* Is a token held by the specified thread?
*
* @(#)times.h 8.4 (Berkeley) 1/21/94
* $FreeBSD: src/sys/sys/times.h,v 1.6 1999/12/29 04:24:48 peter Exp $
- * $DragonFly: src/sys/sys/times.h,v 1.5 2003/11/15 19:28:42 asmodai Exp $
*/
#ifndef _SYS_TIMES_H_
#define _SYS_TIMES_H_
-#ifndef _MACHINE_STDINT_H_
#include <machine/stdint.h>
-#endif
#ifndef _CLOCK_T_DECLARED
#define _CLOCK_T_DECLARED
*
* @(#)types.h 8.6 (Berkeley) 2/19/95
* $FreeBSD: src/sys/sys/types.h,v 1.40.2.2 2001/04/21 14:53:06 ume Exp $
- * $DragonFly: src/sys/sys/types.h,v 1.24 2008/08/10 22:09:51 dillon Exp $
*/
#ifndef _SYS_TYPES_H_
#ifndef _STDINT_H_
#include <stdint.h>
#endif
-#ifndef _MACHINE_STDARG_H_
#include <machine/stdarg.h>
-#endif
#ifndef _MACHINE_ENDIANT_H_
#include <machine/endian.h>
#endif
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $FreeBSD: src/sys/sys/ucontext.h,v 1.4 1999/10/11 20:33:17 luoqi Exp $
- * $DragonFly: src/sys/sys/ucontext.h,v 1.5 2007/01/16 09:58:02 swildner Exp $
*/
#ifndef _SYS_UCONTEXT_H_
#ifndef _SYS_SIGNAL_H_
#include <sys/signal.h>
#endif
-#ifndef _MACHINE_UCONTEXT_H_
#include <machine/ucontext.h>
-#endif
typedef struct __ucontext {
/*
*
* @(#)user.h 8.2 (Berkeley) 9/23/93
* $FreeBSD: src/sys/sys/user.h,v 1.24.2.1 2001/10/11 08:20:18 peter Exp $
- * $DragonFly: src/sys/sys/user.h,v 1.18 2007/02/25 23:17:13 corecode Exp $
*/
#ifndef _SYS_USER_H_
#ifndef _MACHINE_PCB_H_
#include <machine/pcb.h>
#endif
-#ifndef _MACHINE_COREDUMP_H_
#include <machine/coredump.h>
-#endif
#include <sys/kinfo.h>
#endif
* 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.
- *
- * $DragonFly: src/sys/sys/vkernel.h,v 1.10 2007/07/01 01:11:37 dillon Exp $
*/
#ifndef _SYS_VKERNEL_H_
#ifndef _SYS_THREAD_H_
#include <sys/thread.h>
#endif
-#ifndef _MACHINE_FRAME_H_
#include <machine/frame.h>
-#endif
-#ifndef _MACHINE_VFRAME_H_
#include <machine/vframe.h>
-#endif
-#ifndef _MACHINE_LIMITS_H_
#include <machine/limits.h>
-#endif
struct vmspace_rb_tree;
struct vmspace_entry;
*
* @(#)wait.h 8.2 (Berkeley) 7/10/94
* $FreeBSD: src/sys/sys/wait.h,v 1.11 1999/12/29 04:24:50 peter Exp $
- * $DragonFly: src/sys/sys/wait.h,v 1.6 2007/08/30 20:41:00 pavalos Exp $
*/
#ifndef _SYS_WAIT_H_
#define WAIT_ANY (-1) /* any process */
#define WAIT_MYPGRP 0 /* any process in my process group */
-#ifndef _MACHINE_ENDIAN_H_
#include <machine/endian.h>
-#endif
/*
* Deprecated:
* rights to redistribute these changes.
*
* $FreeBSD: src/sys/vm/vm_object.h,v 1.63.2.3 2003/05/26 19:17:56 alc Exp $
- * $DragonFly: src/sys/vm/vm_object.h,v 1.14 2007/06/08 02:00:47 dillon Exp $
*/
/*
#ifndef _SYS_THREAD_H_
#include <sys/thread.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
#ifndef _VM_VM_H_
#include <vm/vm.h>
#endif
* rights to redistribute these changes.
*
* $FreeBSD: src/sys/vm/vm_page.h,v 1.75.2.8 2002/03/06 01:07:09 dillon Exp $
- * $DragonFly: src/sys/vm/vm_page.h,v 1.28 2008/05/09 07:24:48 dillon Exp $
*/
/*
#ifndef _VM_PMAP_H_
#include <vm/pmap.h>
#endif
-#ifndef _MACHINE_ATOMIC_H_
#include <machine/atomic.h>
-#endif
#ifdef _KERNEL