]> git.saurik.com Git - apple/xnu.git/blob - iokit/IOKit/system.h
xnu-792.6.56.tar.gz
[apple/xnu.git] / iokit / IOKit / system.h
1 /*
2 * Copyright (c) 1998-2004 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23 #ifndef __IOKIT_SYSTEM_H
24 #define __IOKIT_SYSTEM_H
25
26 #ifndef __STDC_LIMIT_MACROS
27 #define __STDC_LIMIT_MACROS
28 #endif
29
30 #include <sys/cdefs.h>
31
32 __BEGIN_DECLS
33
34 #include <mach/mach_types.h>
35 #include <mach/mach_interface.h>
36 #include <mach/memory_object_types.h>
37
38 #include <stdarg.h>
39 #include <stdint.h>
40 #include <string.h>
41
42 #include <IOKit/assert.h> /* Must be before other includes of kern/assert.h */
43
44 #include <kern/kern_types.h>
45 #include <kern/thread.h>
46 #include <kern/debug.h>
47 #include <kern/task.h>
48 #include <kern/sched_prim.h>
49 #include <kern/locks.h>
50 #include <kern/queue.h>
51 #include <kern/ipc_mig.h>
52 #ifndef MACH_KERNEL_PRIVATE
53 #include <libkern/libkern.h>
54 #endif
55
56 #ifdef KERNEL_PRIVATE
57 #include <kern/kalloc.h>
58 #include <vm/pmap.h>
59 #include <vm/vm_map.h>
60 #include <vm/vm_kern.h>
61 #endif /* KERNEL_PRIVATE */
62
63
64 extern void _doprnt( const char *format, va_list *arg,
65 void (*putc)(char), int radix );
66
67
68 __END_DECLS
69
70 #endif /* !__IOKIT_SYSTEM_H */