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