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