From 7c7fd36bea1eac4d0fa7bd628a53fff7d2e60917 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Fri, 27 Dec 2019 18:49:11 -0500 Subject: doing iso9660 before gpt, making partition detection expandable --- src/kernel/files.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/kernel/files.h') 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; -- cgit v1.2.3