| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: systm.h,v 1.246 2011/01/21 17:46:19 dyoung Exp $ */ | | 1 | /* $NetBSD: systm.h,v 1.247 2011/01/22 09:40:50 mrg Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 1982, 1988, 1991, 1993 | | 4 | * Copyright (c) 1982, 1988, 1991, 1993 |
5 | * The Regents of the University of California. All rights reserved. | | 5 | * The Regents of the University of California. All rights reserved. |
6 | * (c) UNIX System Laboratories, Inc. | | 6 | * (c) UNIX System Laboratories, Inc. |
7 | * All or some portions of this file are derived from material licensed | | 7 | * All or some portions of this file are derived from material licensed |
8 | * to the University of California by American Telephone and Telegraph | | 8 | * to the University of California by American Telephone and Telegraph |
9 | * Co. or Unix System Laboratories, Inc. and are reproduced herein with | | 9 | * Co. or Unix System Laboratories, Inc. and are reproduced herein with |
10 | * the permission of UNIX System Laboratories, Inc. | | 10 | * the permission of UNIX System Laboratories, Inc. |
11 | * | | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | | 12 | * Redistribution and use in source and binary forms, with or without |
13 | * modification, are permitted provided that the following conditions | | 13 | * modification, are permitted provided that the following conditions |
14 | * are met: | | 14 | * are met: |
| @@ -38,29 +38,30 @@ | | | @@ -38,29 +38,30 @@ |
38 | | | 38 | |
39 | #ifndef _SYS_SYSTM_H_ | | 39 | #ifndef _SYS_SYSTM_H_ |
40 | #define _SYS_SYSTM_H_ | | 40 | #define _SYS_SYSTM_H_ |
41 | | | 41 | |
42 | #if defined(_KERNEL_OPT) | | 42 | #if defined(_KERNEL_OPT) |
43 | #include "opt_ddb.h" | | 43 | #include "opt_ddb.h" |
44 | #include "opt_multiprocessor.h" | | 44 | #include "opt_multiprocessor.h" |
45 | #endif | | 45 | #endif |
46 | | | 46 | |
47 | #include <machine/endian.h> | | 47 | #include <machine/endian.h> |
48 | | | 48 | |
49 | #ifdef _KERNEL | | 49 | #ifdef _KERNEL |
50 | #include <sys/types.h> | | 50 | #include <sys/types.h> |
51 | #include <sys/device_if.h> | | | |
52 | #endif | | 51 | #endif |
53 | | | 52 | |
| | | 53 | #include <sys/device_if.h> |
| | | 54 | |
54 | struct clockframe; | | 55 | struct clockframe; |
55 | struct lwp; | | 56 | struct lwp; |
56 | struct proc; | | 57 | struct proc; |
57 | struct timeval; | | 58 | struct timeval; |
58 | struct tty; | | 59 | struct tty; |
59 | struct uio; | | 60 | struct uio; |
60 | struct vnode; | | 61 | struct vnode; |
61 | struct vmspace; | | 62 | struct vmspace; |
62 | struct vm_map; | | 63 | struct vm_map; |
63 | | | 64 | |
64 | extern const char *panicstr; /* panic message */ | | 65 | extern const char *panicstr; /* panic message */ |
65 | extern int doing_shutdown; /* shutting down */ | | 66 | extern int doing_shutdown; /* shutting down */ |
66 | | | 67 | |