]> git.saurik.com Git - apple/xnu.git/blob - osfmk/i386/AT386/misc_protos.h
xnu-344.34.tar.gz
[apple/xnu.git] / osfmk / i386 / AT386 / misc_protos.h
1 /*
2 * Copyright (c) 2000 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 /*
23 * @OSF_COPYRIGHT@
24 */
25
26 #ifndef _AT386_MISC_PROTOS_H_
27 #define _AT386_MISC_PROTOS_H_
28
29 #include <types.h> /* for dev_t */
30 #include <mach/machine/vm_types.h> /* for vm_offset_t */
31
32 /*
33 * i386/AT386/model_dep.c
34 */
35
36 extern void i386_init(void);
37 extern void machine_init(void);
38 extern void machine_startup(void);
39
40 /*
41 * i386/AT386/kd.c
42 */
43
44 extern void cninit(void);
45 extern void kdreboot(void);
46
47 /*
48 * i386/locore.s
49 */
50
51 extern void kdb_kintr(void);
52 extern void kgdb_kintr(void);
53
54 /*
55 * i386/db_interface.c
56 */
57
58 extern void kdb_console(void);
59
60 /*
61 * i386/bcopy.s
62 */
63
64 extern void bcopy16(
65 char * from,
66 char * to,
67 int count);
68
69 typedef void (*i386_intr_t)(void);
70 #endif
71