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.


added DMA write functionality to ide harddisk
[palacios.git] / palacios / include / devices / ide.h
index 8a68222..d299827 100644 (file)
@@ -33,7 +33,6 @@ struct v3_ide_cd_ops {
     uint32_t (*get_capacity)(void * private_data);
     // Reads always operate on 2048 byte blocks
     int (*read)(uint8_t * buf, int block_count, uint64_t lba, void * private_data);
-
 };
 
 
@@ -41,7 +40,7 @@ struct v3_ide_hd_ops {
     uint64_t (*get_capacity)(void * private_data);
     // Reads always operate on 2048 byte blocks
     int (*read)(uint8_t * buf, int sector_count, uint64_t lba, void * private_data);
-
+    int (*write)(uint8_t * buf, int sector_count, uint64_t lba, void * private_data);
 };