]>
Commit | Line | Data |
---|---|---|
9bccf70c A |
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 2002/05/22 18:50:49 aramesh | |
12 | * Kernel API Cleanup | |
13 | * Bug #: 2853781 | |
14 | * Changes from Josh(networking), Rick(IOKit), Jim & David(osfmk), Umesh, Dan & Ramesh(BSD) | |
15 | * Submitted by: Ramesh | |
16 | * Reviewed by: Vincent | |
8f6c56a5 | 17 | * |
9bccf70c A |
18 | * Revision 1.2.12.1 2002/05/21 23:08:14 aramesh |
19 | * Kernel API Cleanup | |
20 | * Bug #: 2853781 | |
21 | * Submitted by: Josh, Umesh, Jim, Rick and Ramesh | |
22 | * Reviewed by: Vincent | |
23 | * | |
24 | * Revision 1.2 2002/05/03 18:08:39 lindak | |
25 | * Merged PR-2909558 into Jaguar (siegmund POST WWDC: add support for NetBoot | |
26 | * over IOHDIXController) | |
27 | * | |
28 | * Revision 1.1.2.1 2002/04/24 22:29:12 dieter | |
29 | * Bug #: 2909558 | |
30 | * - added IOHDIXController netboot stubs | |
31 | * | |
32 | * Revision 1.2 2002/04/14 22:56:47 han | |
33 | * fixed up comment re dev_t | |
34 | * | |
35 | * Revision 1.1 2002/04/13 19:22:28 han | |
36 | * added stub file DINetBookHook.c | |
37 | * | |
38 | * | |
39 | */ | |
40 | ||
41 | #ifndef __DINETBOOKHOOK_H__ | |
42 | #define __DINETBOOKHOOK_H__ | |
43 | ||
44 | #include <sys/appleapiopts.h> | |
45 | ||
46 | #ifdef __APPLE_API_PRIVATE | |
47 | ||
48 | #ifdef __cplusplus | |
49 | extern "C" { | |
50 | #endif | |
51 | ||
52 | #include <sys/types.h> | |
53 | ||
54 | /* | |
55 | Name: di_root_image | |
56 | Function: mount the disk image returning the dev node | |
57 | Parameters: path -> path/url to disk image | |
58 | devname <- dev node used to set the rootdevice global variable | |
59 | dev_p <- combination of major/minor node | |
60 | Comments: | |
61 | */ | |
62 | int di_root_image(const char *path, char devname[], dev_t *dev_p); | |
63 | ||
64 | #ifdef __cplusplus | |
65 | }; | |
66 | #endif | |
67 | ||
68 | #endif /* __APPLE_API_PRIVATE */ | |
69 | ||
70 | #endif __DINETBOOKHOOK_H__ |