View | Details | Raw Unified | Return to bug 159654
Collapse All | Expand All

(-)arm/include/frame.h (+1 lines)
Lines 52-57 Link Here
52
#ifndef _LOCORE
52
#ifndef _LOCORE
53
53
54
#include <sys/signal.h>
54
#include <sys/signal.h>
55
#include <sys/types.h>
55
#include <sys/ucontext.h>
56
#include <sys/ucontext.h>
56
57
57
58
(-)arm/include/profile.h (+2 lines)
Lines 37-42 Link Here
37
#ifndef _MACHINE_PROFILE_H_
37
#ifndef _MACHINE_PROFILE_H_
38
#define	_MACHINE_PROFILE_H_
38
#define	_MACHINE_PROFILE_H_
39
39
40
#include <sys/types.h>
41
40
/*
42
/*
41
 * Config generates something to tell the compiler to align functions on 32 
43
 * Config generates something to tell the compiler to align functions on 32 
42
 * byte boundaries.  A strict alignment is good for keeping the tables small.
44
 * byte boundaries.  A strict alignment is good for keeping the tables small.
(-)arm/include/proc.h (+1 lines)
Lines 38-43 Link Here
38
#ifndef	_MACHINE_PROC_H_
38
#ifndef	_MACHINE_PROC_H_
39
#define	_MACHINE_PROC_H_
39
#define	_MACHINE_PROC_H_
40
40
41
#include <sys/types.h>
41
#include <machine/utrap.h>
42
#include <machine/utrap.h>
42
43
43
struct md_utrap {
44
struct md_utrap {
(-)powerpc/include/ucontext.h (+2 lines)
Lines 35-40 Link Here
35
#ifndef	_MACHINE_UCONTEXT_H_
35
#ifndef	_MACHINE_UCONTEXT_H_
36
#define	_MACHINE_UCONTEXT_H_
36
#define	_MACHINE_UCONTEXT_H_
37
37
38
#include <sys/types.h>
39
38
typedef struct __mcontext {
40
typedef struct __mcontext {
39
	int		mc_vers;
41
	int		mc_vers;
40
	int		mc_flags;
42
	int		mc_flags;
(-)powerpc/include/pcb.h (+2 lines)
Lines 35-40 Link Here
35
#ifndef _MACHINE_PCB_H_
35
#ifndef _MACHINE_PCB_H_
36
#define	_MACHINE_PCB_H_
36
#define	_MACHINE_PCB_H_
37
37
38
#include <sys/types.h>
39
38
typedef register_t faultbuf[25];
40
typedef register_t faultbuf[25];
39
41
40
struct pcb {
42
struct pcb {
(-)powerpc/include/spr.h (+2 lines)
Lines 29-34 Link Here
29
#ifndef _POWERPC_SPR_H_
29
#ifndef _POWERPC_SPR_H_
30
#define	_POWERPC_SPR_H_
30
#define	_POWERPC_SPR_H_
31
31
32
#include <sys/types.h>
33
32
#ifndef _LOCORE
34
#ifndef _LOCORE
33
#define	mtspr(reg, val)							\
35
#define	mtspr(reg, val)							\
34
	__asm __volatile("mtspr %0,%1" : : "K"(reg), "r"(val))
36
	__asm __volatile("mtspr %0,%1" : : "K"(reg), "r"(val))
(-)powerpc/include/reg.h (+2 lines)
Lines 4-9 Link Here
4
#ifndef _POWERPC_REG_H_
4
#ifndef _POWERPC_REG_H_
5
#define	_POWERPC_REG_H_
5
#define	_POWERPC_REG_H_
6
6
7
#include <sys/types.h>
8
7
#if defined(_KERNEL) && !defined(KLD_MODULE) && !defined(_STANDALONE)
9
#if defined(_KERNEL) && !defined(KLD_MODULE) && !defined(_STANDALONE)
8
#include "opt_compat.h"
10
#include "opt_compat.h"
9
#endif
11
#endif
(-)powerpc/include/_align.h (+2 lines)
Lines 41-46 Link Here
41
#ifndef _POWERPC_INCLUDE__ALIGN_H_
41
#ifndef _POWERPC_INCLUDE__ALIGN_H_
42
#define	_POWERPC_INCLUDE__ALIGN_H_
42
#define	_POWERPC_INCLUDE__ALIGN_H_
43
43
44
#include <sys/types.h>
45
44
/*
46
/*
45
 * Round p (pointer or byte index) up to a correctly-aligned value
47
 * Round p (pointer or byte index) up to a correctly-aligned value
46
 * for all data types (int, long, ...).   The result is unsigned int
48
 * for all data types (int, long, ...).   The result is unsigned int
(-)powerpc/include/profile.h (+2 lines)
Lines 32-37 Link Here
32
#ifndef _MACHINE_PROFILE_H_
32
#ifndef _MACHINE_PROFILE_H_
33
#define	_MACHINE_PROFILE_H_
33
#define	_MACHINE_PROFILE_H_
34
34
35
#include <sys/types.h>
36
35
#define	_MCOUNT_DECL	void __mcount
37
#define	_MCOUNT_DECL	void __mcount
36
38
37
#define	FUNCTION_ALIGNMENT	4
39
#define	FUNCTION_ALIGNMENT	4
(-)powerpc/include/pcpu.h (+1 lines)
Lines 30-35 Link Here
30
#ifndef	_MACHINE_PCPU_H_
30
#ifndef	_MACHINE_PCPU_H_
31
#define	_MACHINE_PCPU_H_
31
#define	_MACHINE_PCPU_H_
32
32
33
#include <sys/types.h>
33
#include <machine/cpufunc.h>
34
#include <machine/cpufunc.h>
34
#include <machine/slb.h>
35
#include <machine/slb.h>
35
#include <machine/tlb.h>
36
#include <machine/tlb.h>
(-)powerpc/include/pmap.h (+1 lines)
Lines 66-71 Link Here
66
66
67
#include <sys/queue.h>
67
#include <sys/queue.h>
68
#include <sys/tree.h>
68
#include <sys/tree.h>
69
#include <sys/types.h>
69
#include <sys/_cpuset.h>
70
#include <sys/_cpuset.h>
70
#include <sys/_lock.h>
71
#include <sys/_lock.h>
71
#include <sys/_mutex.h>
72
#include <sys/_mutex.h>
(-)powerpc/include/proc.h (+2 lines)
Lines 35-40 Link Here
35
#ifndef _MACHINE_PROC_H_
35
#ifndef _MACHINE_PROC_H_
36
#define	_MACHINE_PROC_H_
36
#define	_MACHINE_PROC_H_
37
37
38
#include <sys/types.h>
39
38
/*
40
/*
39
 * Machine-dependent part of the proc structure
41
 * Machine-dependent part of the proc structure
40
 */
42
 */
(-)sparc64/include/smp.h (+2 lines)
Lines 30-35 Link Here
30
#ifndef	_MACHINE_SMP_H_
30
#ifndef	_MACHINE_SMP_H_
31
#define	_MACHINE_SMP_H_
31
#define	_MACHINE_SMP_H_
32
32
33
#include <sys/types.h>
34
33
#ifdef SMP
35
#ifdef SMP
34
36
35
#define	CPU_TICKSYNC		1
37
#define	CPU_TICKSYNC		1
(-)sparc64/include/profile.h (+2 lines)
Lines 32-37 Link Here
32
#ifndef _MACHINE_PROFILE_H_
32
#ifndef _MACHINE_PROFILE_H_
33
#define	_MACHINE_PROFILE_H_
33
#define	_MACHINE_PROFILE_H_
34
34
35
#include <sys/types.h>
36
35
#if !defined(_KERNEL) && !defined(_SYS_CDEFS_H_)
37
#if !defined(_KERNEL) && !defined(_SYS_CDEFS_H_)
36
#error this file needs sys/cdefs.h as a prerequisite
38
#error this file needs sys/cdefs.h as a prerequisite
37
#endif
39
#endif
(-)sparc64/include/cpufunc.h (+1 lines)
Lines 29-34 Link Here
29
#ifndef	_MACHINE_CPUFUNC_H_
29
#ifndef	_MACHINE_CPUFUNC_H_
30
#define	_MACHINE_CPUFUNC_H_
30
#define	_MACHINE_CPUFUNC_H_
31
31
32
#include <sys/types.h>
32
#include <machine/asi.h>
33
#include <machine/asi.h>
33
#include <machine/pstate.h>
34
#include <machine/pstate.h>
34
35
(-)sparc64/include/proc.h (+1 lines)
Lines 34-39 Link Here
34
#ifndef	_MACHINE_PROC_H_
34
#ifndef	_MACHINE_PROC_H_
35
#define	_MACHINE_PROC_H_
35
#define	_MACHINE_PROC_H_
36
36
37
#include <sys/types.h>
37
#include <machine/utrap.h>
38
#include <machine/utrap.h>
38
39
39
struct md_utrap {
40
struct md_utrap {
(-)ia64/include/profile.h (+2 lines)
Lines 29-34 Link Here
29
#ifndef _MACHINE_PROFILE_H_
29
#ifndef _MACHINE_PROFILE_H_
30
#define	_MACHINE_PROFILE_H_
30
#define	_MACHINE_PROFILE_H_
31
31
32
#include <sys/types.h>
33
32
#define	_MCOUNT_DECL	void __mcount
34
#define	_MCOUNT_DECL	void __mcount
33
#define	MCOUNT
35
#define	MCOUNT
34
36
(-)ia64/include/proc.h (+2 lines)
Lines 29-34 Link Here
29
#ifndef _MACHINE_PROC_H_
29
#ifndef _MACHINE_PROC_H_
30
#define	_MACHINE_PROC_H_
30
#define	_MACHINE_PROC_H_
31
31
32
#include <sys/types.h>
33
32
struct mdthread {
34
struct mdthread {
33
	int	md_spinlock_count;	/* (k) */
35
	int	md_spinlock_count;	/* (k) */
34
	int	md_saved_intr;		/* (k) */
36
	int	md_saved_intr;		/* (k) */
(-)mips/include/sigframe.h (+2 lines)
Lines 32-37 Link Here
32
#ifndef _MACHINE_SIGFRAME_H_
32
#ifndef _MACHINE_SIGFRAME_H_
33
#define	_MACHINE_SIGFRAME_H_
33
#define	_MACHINE_SIGFRAME_H_
34
34
35
#include <sys/types.h>
36
35
/*
37
/*
36
 * WARNING: code in locore.s assumes the layout shown for sf_signum
38
 * WARNING: code in locore.s assumes the layout shown for sf_signum
37
 * thru sf_addr so... don't alter them!
39
 * thru sf_addr so... don't alter them!
(-)mips/include/ucontext.h (+2 lines)
Lines 37-42 Link Here
37
#ifndef _MACHINE_UCONTEXT_H_
37
#ifndef _MACHINE_UCONTEXT_H_
38
#define	_MACHINE_UCONTEXT_H_
38
#define	_MACHINE_UCONTEXT_H_
39
39
40
#include <sys/types.h>
41
40
#ifndef _LOCORE
42
#ifndef _LOCORE
41
43
42
typedef struct	__mcontext {
44
typedef struct	__mcontext {
(-)mips/include/pcb.h (+1 lines)
Lines 42-47 Link Here
42
#ifndef _MACHINE_PCB_H_
42
#ifndef _MACHINE_PCB_H_
43
#define	_MACHINE_PCB_H_
43
#define	_MACHINE_PCB_H_
44
44
45
#include <sys/types.h>
45
#include <machine/frame.h>
46
#include <machine/frame.h>
46
47
47
/*
48
/*
(-)mips/include/db_machdep.h (+1 lines)
Lines 37-42 Link Here
37
#ifndef	_MIPS_DB_MACHDEP_H_
37
#ifndef	_MIPS_DB_MACHDEP_H_
38
#define	_MIPS_DB_MACHDEP_H_
38
#define	_MIPS_DB_MACHDEP_H_
39
39
40
#include <sys/types.h>
40
#include <machine/frame.h>
41
#include <machine/frame.h>
41
#include <machine/trap.h>
42
#include <machine/trap.h>
42
#include <machine/endian.h>
43
#include <machine/endian.h>
(-)mips/include/reg.h (+2 lines)
Lines 42-47 Link Here
42
#ifndef _MACHINE_REG_H_
42
#ifndef _MACHINE_REG_H_
43
#define	_MACHINE_REG_H_
43
#define	_MACHINE_REG_H_
44
44
45
#include <sys/types.h>
46
45
/*
47
/*
46
 * Location of the users' stored registers relative to ZERO.
48
 * Location of the users' stored registers relative to ZERO.
47
 * must be visible to assembly code.
49
 * must be visible to assembly code.
(-)mips/include/frame.h (+2 lines)
Lines 37-42 Link Here
37
#ifndef _MACHINE_FRAME_H_
37
#ifndef _MACHINE_FRAME_H_
38
#define	_MACHINE_FRAME_H_
38
#define	_MACHINE_FRAME_H_
39
39
40
#include <sys/types.h>
41
40
struct trapframe {
42
struct trapframe {
41
	register_t	zero;
43
	register_t	zero;
42
	register_t	ast;
44
	register_t	ast;
(-)mips/include/proc.h (+2 lines)
Lines 39-44 Link Here
39
#ifndef _MACHINE_PROC_H_
39
#ifndef _MACHINE_PROC_H_
40
#define	_MACHINE_PROC_H_
40
#define	_MACHINE_PROC_H_
41
41
42
#include <sys/types.h>
43
42
/*
44
/*
43
 * Machine-dependent part of the proc structure.
45
 * Machine-dependent part of the proc structure.
44
 */
46
 */
(-)mips/include/trap.h (+2 lines)
Lines 42-47 Link Here
42
#ifndef _MACHINE_TRAP_H_
42
#ifndef _MACHINE_TRAP_H_
43
#define	_MACHINE_TRAP_H_
43
#define	_MACHINE_TRAP_H_
44
44
45
#include <sys/types.h>
46
45
/*
47
/*
46
 * Trap codes also known in trap.c for name strings.
48
 * Trap codes also known in trap.c for name strings.
47
 * Used for indexing so modify with care.
49
 * Used for indexing so modify with care.
(-)ofed/include/linux/sched.h (+1 lines)
Lines 33-38 Link Here
33
#include <sys/proc.h>
33
#include <sys/proc.h>
34
#include <sys/sched.h>
34
#include <sys/sched.h>
35
#include <sys/sleepqueue.h>
35
#include <sys/sleepqueue.h>
36
#include <sys/types.h>
36
37
37
#define	MAX_SCHEDULE_TIMEOUT	LONG_MAX
38
#define	MAX_SCHEDULE_TIMEOUT	LONG_MAX
38
39
(-)x86/include/_align.h (+2 lines)
Lines 41-46 Link Here
41
#ifndef _X86_INCLUDE__ALIGN_H_
41
#ifndef _X86_INCLUDE__ALIGN_H_
42
#define	_X86_INCLUDE__ALIGN_H_
42
#define	_X86_INCLUDE__ALIGN_H_
43
43
44
#include <sys/types.h>
45
44
/*
46
/*
45
 * Round p (pointer or byte index) up to a correctly-aligned value
47
 * Round p (pointer or byte index) up to a correctly-aligned value
46
 * for all data types (int, long, ...).   The result is unsigned int
48
 * for all data types (int, long, ...).   The result is unsigned int
(-)i386/include/sigframe.h (+2 lines)
Lines 31-36 Link Here
31
#ifndef _MACHINE_SIGFRAME_H_
31
#ifndef _MACHINE_SIGFRAME_H_
32
#define	_MACHINE_SIGFRAME_H_
32
#define	_MACHINE_SIGFRAME_H_
33
33
34
#include <sys/types.h>
35
34
/*
36
/*
35
 * Signal frames, arguments passed to application signal handlers.
37
 * Signal frames, arguments passed to application signal handlers.
36
 */
38
 */
(-)i386/include/apicvar.h (+2 lines)
Lines 32-37 Link Here
32
#ifndef _MACHINE_APICVAR_H_
32
#ifndef _MACHINE_APICVAR_H_
33
#define _MACHINE_APICVAR_H_
33
#define _MACHINE_APICVAR_H_
34
34
35
#include <sys/types.h>
36
35
/*
37
/*
36
 * Local && I/O APIC variable definitions.
38
 * Local && I/O APIC variable definitions.
37
 */
39
 */
(-)i386/include/profile.h (+2 lines)
Lines 33-38 Link Here
33
#ifndef _MACHINE_PROFILE_H_
33
#ifndef _MACHINE_PROFILE_H_
34
#define	_MACHINE_PROFILE_H_
34
#define	_MACHINE_PROFILE_H_
35
35
36
#include <sys/types.h>
37
36
#ifndef _SYS_CDEFS_H_
38
#ifndef _SYS_CDEFS_H_
37
#error this file needs sys/cdefs.h as a prerequisite
39
#error this file needs sys/cdefs.h as a prerequisite
38
#endif
40
#endif
(-)i386/include/cpufunc.h (+2 lines)
Lines 38-43 Link Here
38
#ifndef _MACHINE_CPUFUNC_H_
38
#ifndef _MACHINE_CPUFUNC_H_
39
#define	_MACHINE_CPUFUNC_H_
39
#define	_MACHINE_CPUFUNC_H_
40
40
41
#include <sys/types.h>
42
41
#ifndef _SYS_CDEFS_H_
43
#ifndef _SYS_CDEFS_H_
42
#error this file needs sys/cdefs.h as a prerequisite
44
#error this file needs sys/cdefs.h as a prerequisite
43
#endif
45
#endif
(-)i386/include/proc.h (+1 lines)
Lines 33-38 Link Here
33
#ifndef _MACHINE_PROC_H_
33
#ifndef _MACHINE_PROC_H_
34
#define	_MACHINE_PROC_H_
34
#define	_MACHINE_PROC_H_
35
35
36
#include <sys/types.h>
36
#include <machine/segments.h>
37
#include <machine/segments.h>
37
38
38
struct proc_ldt {
39
struct proc_ldt {
(-)amd64/include/pcb.h (+1 lines)
Lines 40-45 Link Here
40
/*
40
/*
41
 * AMD64 process control block
41
 * AMD64 process control block
42
 */
42
 */
43
#include <sys/types.h>
43
#include <machine/fpu.h>
44
#include <machine/fpu.h>
44
#include <machine/segments.h>
45
#include <machine/segments.h>
45
46
(-)amd64/include/reg.h (+2 lines)
Lines 37-42 Link Here
37
#ifndef _MACHINE_REG_H_
37
#ifndef _MACHINE_REG_H_
38
#define	_MACHINE_REG_H_
38
#define	_MACHINE_REG_H_
39
39
40
#include <sys/types.h>
41
40
#if defined(_KERNEL) && !defined(_STANDALONE)
42
#if defined(_KERNEL) && !defined(_STANDALONE)
41
#include "opt_compat.h"
43
#include "opt_compat.h"
42
#endif
44
#endif
(-)amd64/include/apicvar.h (+1 lines)
Lines 32-37 Link Here
32
#ifndef _MACHINE_APICVAR_H_
32
#ifndef _MACHINE_APICVAR_H_
33
#define _MACHINE_APICVAR_H_
33
#define _MACHINE_APICVAR_H_
34
34
35
#include <sys/types.h>
35
#include <machine/segments.h>
36
#include <machine/segments.h>
36
37
37
/*
38
/*
(-)amd64/include/frame.h (+2 lines)
Lines 37-42 Link Here
37
#ifndef _MACHINE_FRAME_H_
37
#ifndef _MACHINE_FRAME_H_
38
#define _MACHINE_FRAME_H_ 1
38
#define _MACHINE_FRAME_H_ 1
39
39
40
#include <sys/types.h>
41
40
/*
42
/*
41
 * System stack frames.
43
 * System stack frames.
42
 */
44
 */
(-)amd64/include/intr_machdep.h (+2 lines)
Lines 29-34 Link Here
29
#ifndef __MACHINE_INTR_MACHDEP_H__
29
#ifndef __MACHINE_INTR_MACHDEP_H__
30
#define	__MACHINE_INTR_MACHDEP_H__
30
#define	__MACHINE_INTR_MACHDEP_H__
31
31
32
#include <sys/types.h>
33
32
#ifdef _KERNEL
34
#ifdef _KERNEL
33
35
34
/*
36
/*
(-)amd64/include/profile.h (+2 lines)
Lines 33-38 Link Here
33
#ifndef _MACHINE_PROFILE_H_
33
#ifndef _MACHINE_PROFILE_H_
34
#define	_MACHINE_PROFILE_H_
34
#define	_MACHINE_PROFILE_H_
35
35
36
#include <sys/types.h>
37
36
#ifndef _SYS_CDEFS_H_
38
#ifndef _SYS_CDEFS_H_
37
#error this file needs sys/cdefs.h as a prerequisite
39
#error this file needs sys/cdefs.h as a prerequisite
38
#endif
40
#endif
(-)amd64/include/cpufunc.h (+2 lines)
Lines 39-44 Link Here
39
#ifndef _MACHINE_CPUFUNC_H_
39
#ifndef _MACHINE_CPUFUNC_H_
40
#define	_MACHINE_CPUFUNC_H_
40
#define	_MACHINE_CPUFUNC_H_
41
41
42
#include <sys/types.h>
43
42
#ifndef _SYS_CDEFS_H_
44
#ifndef _SYS_CDEFS_H_
43
#error this file needs sys/cdefs.h as a prerequisite
45
#error this file needs sys/cdefs.h as a prerequisite
44
#endif
46
#endif
(-)amd64/include/pcpu.h (+2 lines)
Lines 29-34 Link Here
29
#ifndef _MACHINE_PCPU_H_
29
#ifndef _MACHINE_PCPU_H_
30
#define	_MACHINE_PCPU_H_
30
#define	_MACHINE_PCPU_H_
31
31
32
#include <sys/types.h>
33
32
#ifndef _SYS_CDEFS_H_
34
#ifndef _SYS_CDEFS_H_
33
#error "sys/cdefs.h is a prerequisite for this file"
35
#error "sys/cdefs.h is a prerequisite for this file"
34
#endif
36
#endif
(-)amd64/include/proc.h (+1 lines)
Lines 33-38 Link Here
33
#ifndef _MACHINE_PROC_H_
33
#ifndef _MACHINE_PROC_H_
34
#define	_MACHINE_PROC_H_
34
#define	_MACHINE_PROC_H_
35
35
36
#include <sys/types.h>
36
#include <machine/segments.h>
37
#include <machine/segments.h>
37
38
38
struct proc_ldt {
39
struct proc_ldt {
(-)sys/sysproto.h (+1 lines)
Lines 14-19 Link Here
14
#include <sys/cpuset.h>
14
#include <sys/cpuset.h>
15
#include <sys/_semaphore.h>
15
#include <sys/_semaphore.h>
16
#include <sys/ucontext.h>
16
#include <sys/ucontext.h>
17
#include <sys/types.h>
17
18
18
#include <bsm/audit_kevents.h>
19
#include <bsm/audit_kevents.h>
19
20
(-)sys/sysent.h (+1 lines)
Lines 33-38 Link Here
33
#define	_SYS_SYSENT_H_
33
#define	_SYS_SYSENT_H_
34
34
35
#include <bsm/audit.h>
35
#include <bsm/audit.h>
36
#include <sys/types.h>
36
37
37
struct rlimit;
38
struct rlimit;
38
struct sysent;
39
struct sysent;
(-)sys/proc.h (+1 lines)
Lines 61-66 Link Here
61
#else
61
#else
62
#include <sys/pcpu.h>
62
#include <sys/pcpu.h>
63
#endif
63
#endif
64
#include <sys/types.h>
64
#include <sys/ucontext.h>
65
#include <sys/ucontext.h>
65
#include <sys/ucred.h>
66
#include <sys/ucred.h>
66
#include <machine/proc.h>		/* Machine-dependent proc substruct. */
67
#include <machine/proc.h>		/* Machine-dependent proc substruct. */
(-)sys/ktrace.h (+2 lines)
Lines 33-38 Link Here
33
#ifndef _SYS_KTRACE_H_
33
#ifndef _SYS_KTRACE_H_
34
#define _SYS_KTRACE_H_
34
#define _SYS_KTRACE_H_
35
35
36
#include <sys/types.h>
37
36
/*
38
/*
37
 * operations to ktrace system call  (KTROP(op))
39
 * operations to ktrace system call  (KTROP(op))
38
 */
40
 */

Return to bug 159654