summaryrefslogtreecommitdiff
path: root/src/kernel/drive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/drive.h')
-rw-r--r--src/kernel/drive.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/drive.h b/src/kernel/drive.h
index d09365d..e307324 100644
--- a/src/kernel/drive.h
+++ b/src/kernel/drive.h
@@ -22,6 +22,8 @@ struct directory_content_info {
struct drive {
char *drive_type;
char *fs_type;
+ char *mapped_to;
+ uint32_t uid;
uint32_t (*read_sectors) (const struct drive *d, uint32_t start, uint32_t count, void *buffer);
uint32_t (*write_sectors)(const struct drive *d, uint32_t start, uint32_t count, const void *buffer);
@@ -43,11 +45,14 @@ struct drive {
fs_id_t fs_id;
};
+void map_path(const char *full, struct drive **d, const char **path);
+
extern uint8_t n_drives;
extern struct drive drives[MAX_DRIVES];
void init_drives();
void commit_drive(struct drive data);
+void map_drives();
extern bool ignore_already_open;