From f57e2eabe0a10c9732c83532e01654a499fb8dcf Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 21 Jun 2021 17:47:13 -0400 Subject: many, many changes; settings is broken --- src/kernel/drive.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/kernel/drive.h') 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; -- cgit v1.2.3