]> git.saurik.com Git - apple/xnu.git/blob - iokit/bsddev/DINetBootHook.h
xnu-792.13.8.tar.gz
[apple/xnu.git] / iokit / bsddev / DINetBootHook.h
1 /*
2 * DINetBootHook.h
3 * DiskImages
4 *
5 * Created by Byron Han on Sat Apr 13 2002.
6 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
7 *
8 * Revision History
9 *
10 * $Log: DINetBootHook.h,v $
11 * Revision 1.3.1582.1 2005/06/24 01:47:25 lindak
12 * Bringing over all of the Karma changes into chardonnay.
13 *
14 * Revision 1.1.1.1 2005/02/24 21:48:06 akosut
15 * Import xnu-764 from Tiger8A395
16 *
17 * Revision 1.3 2002/05/22 18:50:49 aramesh
18 * Kernel API Cleanup
19 * Bug #: 2853781
20 * Changes from Josh(networking), Rick(IOKit), Jim & David(osfmk), Umesh, Dan & Ramesh(BSD)
21 * Submitted by: Ramesh
22 * Reviewed by: Vincent
23 *
24 * Revision 1.2.12.1 2002/05/21 23:08:14 aramesh
25 * Kernel API Cleanup
26 * Bug #: 2853781
27 * Submitted by: Josh, Umesh, Jim, Rick and Ramesh
28 * Reviewed by: Vincent
29 *
30 * Revision 1.2 2002/05/03 18:08:39 lindak
31 * Merged PR-2909558 into Jaguar (siegmund POST WWDC: add support for NetBoot
32 * over IOHDIXController)
33 *
34 * Revision 1.1.2.1 2002/04/24 22:29:12 dieter
35 * Bug #: 2909558
36 * - added IOHDIXController netboot stubs
37 *
38 * Revision 1.2 2002/04/14 22:56:47 han
39 * fixed up comment re dev_t
40 *
41 * Revision 1.1 2002/04/13 19:22:28 han
42 * added stub file DINetBookHook.c
43 *
44 *
45 */
46
47 #ifndef __DINETBOOKHOOK_H__
48 #define __DINETBOOKHOOK_H__
49
50 #include <sys/appleapiopts.h>
51
52 #ifdef __APPLE_API_PRIVATE
53
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57
58 #include <sys/types.h>
59
60 /*
61 Name: di_root_image
62 Function: mount the disk image returning the dev node
63 Parameters: path -> path/url to disk image
64 devname <- dev node used to set the rootdevice global variable
65 dev_p <- combination of major/minor node
66 Comments:
67 */
68 int di_root_image(const char *path, char devname[], dev_t *dev_p);
69
70 #ifdef __cplusplus
71 };
72 #endif
73
74 #endif /* __APPLE_API_PRIVATE */
75
76 #endif __DINETBOOKHOOK_H__