block: ioctl, read and write

This commit is contained in:
Matheus
2023-07-20 20:42:02 -03:00
parent 09ad42eb04
commit c1e7ef84ce
2 changed files with 104 additions and 3 deletions
+2
View File
@@ -7,6 +7,8 @@
#define BLOCK_TYPE_DISK 0
#define BLOCK_TYPE_PART 1
#define BLOCK_IOCTL_GETDESC 0xb10ccd35c
typedef struct {
void *private;
int type;