From 43207b5d5afa78ddb39354628a11c4f450fb8f52 Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 14 Oct 2024 23:08:40 +0200 Subject: [PATCH] Mon 14 Oct 23:06:38 CEST 2024 --- kernel/cdromfs.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 kernel/cdromfs.h diff --git a/kernel/cdromfs.h b/kernel/cdromfs.h new file mode 100644 index 0000000..e234b87 --- /dev/null +++ b/kernel/cdromfs.h @@ -0,0 +1,26 @@ +/* +Copyright (C) 2016-2019 The University of Notre Dame +This software is distributed under the GNU General Public License. +See the file LICENSE for details. +*/ + +#ifndef CDROMFS_H +#define CDROMFS_H + +#include "kernel/types.h" + +#define CDROMFS_BLOCK_SIZE 2048 + +struct cdrom_volume { + int root_sector; + int root_length; + int total_sectors; +}; + +struct cdrom_dirent { + int sector; +}; + +int cdrom_init(); + +#endif