summaryrefslogtreecommitdiff
path: root/src/kernel/files.h
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-27 18:49:11 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-27 18:49:11 -0500
commit7c7fd36bea1eac4d0fa7bd628a53fff7d2e60917 (patch)
tree9e2fb97dd631170ef6a917740016573231f7634f /src/kernel/files.h
parent58b5c8ba417fe99c01d9a48731b887ce434e797e (diff)
downloadportland-os-7c7fd36bea1eac4d0fa7bd628a53fff7d2e60917.tar.gz
doing iso9660 before gpt, making partition detection expandable
Diffstat (limited to 'src/kernel/files.h')
-rw-r--r--src/kernel/files.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/kernel/files.h b/src/kernel/files.h
index f199306..0a11a71 100644
--- a/src/kernel/files.h
+++ b/src/kernel/files.h
@@ -30,17 +30,22 @@ struct file_info {
};
enum fs_format {
- ISO9660
+ ISO_9660 = 0
};
+#define N_FS_FORMATS 1
+
enum pt_format {
NOT_PRESENT = 0,
UNKNOWN = 1,
DIRECT = 2,
- MBR = 3,
- GPT = 4
+
+ //GPT = 3,
+ //MBR = 4,
};
+#define N_PT_FORMATS 0
+
struct drive_parts {
uint8_t format;
uint8_t n_partitions;