diff options
Diffstat (limited to 'src/kernel/files.h')
-rw-r--r-- | src/kernel/files.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/files.h b/src/kernel/files.h index 31ad21f..38e59f1 100644 --- a/src/kernel/files.h +++ b/src/kernel/files.h @@ -22,14 +22,14 @@ OF THIS SOFTWARE. #ifndef FILES_H #define FILES_H -struct file_handle_info { +struct file_info { uint16_t first_sector; uint16_t current_sector; uint8_t *io_buffer; uint32_t position; }; -#define FILE_HANDLES ((struct file_handle_info *)*(uint32_t *)0x0000050c) +struct file_info *file_table; uint16_t open_file(uint8_t *name); void close_file(uint16_t handle); void read_file(uint16_t handle, uint32_t length, void *buffer); |