Mon 14 Oct 23:06:38 CEST 2024
This commit is contained in:
parent
5ad6ce606b
commit
43207b5d5a
26
kernel/cdromfs.h
Normal file
26
kernel/cdromfs.h
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user