disk: Implement new functions for raw disk access
This commit is contained in:
1 parent
eb23177014
commit
e00331fb42
2 files changed
+189
No files matched your search
@@ -29,6 +29,9 @@ enum device disk_get_device(struct usb_device_info * dev);
|
||||
|
||||
int disk_flash_raw(const char * blkdev, const char * file);
|
||||
int disk_dump_raw(const char * blkdev, const char * file);
|
||||
int disk_open_dev(int maj, int min, int partition, int readonly);
|
||||
int disk_dump_dev(int fd, const char * file);
|
||||
int disk_flash_dev(int fd, const char * file);
|
||||
|
||||
int disk_flash_image(struct usb_device_info * dev, struct image * image);
|
||||
int disk_dump_image(struct usb_device_info * dev, enum image_type image, const char * file);
|
||||
|
||||
Reference in new issue
Block a user