Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


more updates
[palacios.git] / palacios / include / devices / ide.h
index ee6f2c5..b778f1e 100644 (file)
 #define __DEVICES_IDE_H__
 
 #ifdef __V3VEE__
-#include <palacios/vm_dev.h>
 
+#include <devices/block_dev.h>
 
-struct vm_device * v3_create_ide();
+struct ide_cfg {
+    char pci[32];
+    char southbridge[32];
+};
 
 
+int v3_ide_register_cdrom(struct vm_device * ide, 
+                         uint_t bus_num, 
+                         uint_t drive_num, 
+                         char * drive_name,
+                         struct v3_cd_ops * ops, 
+                         void * private_data);
+
+int v3_ide_register_harddisk(struct vm_device * ide, 
+                            uint_t bus_num, 
+                            uint_t drive_num, 
+                            char * drive_name,
+                            struct v3_hd_ops * ops, 
+                            void * private_data);
+
+
+
+
+
+int v3_ide_get_geometry(struct vm_device * ide_dev, int channel_num, int drive_num, 
+                       uint32_t * cylinders, uint32_t * heads, uint32_t * sectors);
+
 
 #endif // ! __V3VEE__