summaryrefslogtreecommitdiff
path: root/src/kernel/files.h
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-26 15:50:21 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-26 15:50:21 -0500
commite0e08a12d4de86b558674fb9f90ad0b0204c26f0 (patch)
tree3e814fd4eb56e8fd73c3db06b3260ba09ce14746 /src/kernel/files.h
parentef72082b2df5da98de13bbc8c35b66d891bd4b78 (diff)
downloadportland-os-e0e08a12d4de86b558674fb9f90ad0b0204c26f0.tar.gz
working memory manager
Diffstat (limited to 'src/kernel/files.h')
-rw-r--r--src/kernel/files.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/files.h b/src/kernel/files.h
index 38e59f1..f7665dc 100644
--- a/src/kernel/files.h
+++ b/src/kernel/files.h
@@ -29,7 +29,7 @@ struct file_info {
uint32_t position;
};
-struct file_info *file_table;
+struct file_info file_table[65536];
uint16_t open_file(uint8_t *name);
void close_file(uint16_t handle);
void read_file(uint16_t handle, uint32_t length, void *buffer);