]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/bsddev/DINetBootHook.h
xnu-6153.11.26.tar.gz
[apple/xnu.git] / iokit / bsddev / DINetBootHook.h
index 2f44361b0105a68dde6b7422af63786a44f70290..3f3a0e3318990d1a40bc8fde2aa6a34b194e4802 100644 (file)
  *
  *     Revision 1.3.1582.1  2005/06/24 01:47:25  lindak
  *     Bringing over all of the Karma changes into chardonnay.
- *     
+ *
  *     Revision 1.1.1.1  2005/02/24 21:48:06  akosut
  *     Import xnu-764 from Tiger8A395
- *     
+ *
  *     Revision 1.3  2002/05/22 18:50:49  aramesh
  *     Kernel API Cleanup
  *     Bug #: 2853781
  *     Changes from Josh(networking), Rick(IOKit), Jim & David(osfmk), Umesh, Dan & Ramesh(BSD)
  *     Submitted by: Ramesh
  *     Reviewed by: Vincent
- *     
+ *
  *     Revision 1.2.12.1  2002/05/21 23:08:14  aramesh
  *     Kernel API Cleanup
  *     Bug #: 2853781
  *     Submitted by: Josh, Umesh, Jim, Rick and Ramesh
  *     Reviewed by: Vincent
- *     
+ *
  *     Revision 1.2  2002/05/03 18:08:39  lindak
  *     Merged PR-2909558 into Jaguar (siegmund POST WWDC: add support for NetBoot
  *     over IOHDIXController)
- *     
+ *
  *     Revision 1.1.2.1  2002/04/24 22:29:12  dieter
  *     Bug #: 2909558
  *     - added IOHDIXController netboot stubs
- *     
+ *
  *     Revision 1.2  2002/04/14 22:56:47  han
  *     fixed up comment re dev_t
- *     
+ *
  *     Revision 1.1  2002/04/13 19:22:28  han
  *     added stub file DINetBookHook.c
- *     
+ *
  *
  */
 
@@ -78,7 +78,7 @@
 
 #include <sys/appleapiopts.h>
 
-#ifdef __APPLE_API_PRIVATE 
+#ifdef __APPLE_API_PRIVATE
 
 #ifdef __cplusplus
 extern "C" {
@@ -87,15 +87,16 @@ extern "C" {
 #include <sys/types.h>
 
 /*
      Name:           di_root_image
      Function:       mount the disk image returning the dev node
      Parameters:     path    ->              path/url to disk image
                              devname <-              dev node used to set the rootdevice global variable
                              dev_p   <-              combination of major/minor node
-       Comments:       
-*/
-int di_root_image(const char *path, char devname[], dev_t *dev_p);
*       Name:         di_root_image
*       Function:     mount the disk image returning the dev node
*       Parameters:   path    ->              path/url to disk image
*                               devname       <-              dev node used to set the rootdevice global variable
*                               dev_p <-              combination of major/minor node
+ *       Comments:
+ */
+int di_root_image(const char *path, char *devname, size_t devsz, dev_t *dev_p);
 void di_root_ramfile( IORegistryEntry * entry );
+int di_root_ramfile_buf(void *buf, size_t bufsz, char *devname, size_t devsz, dev_t *dev_p);
 
 #ifdef __cplusplus
 };