summaryrefslogtreecommitdiff
path: root/src/kernel/plef.c
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2020-08-13 17:58:50 -0400
committerBenji Dial <Benji3.141@gmail.com>2020-08-13 17:58:50 -0400
commit2ddbeb9f7214f6d3feef651eba83e6a9d120a743 (patch)
tree10a2aef195e0f40b0e44ffac82dcf60e426c4385 /src/kernel/plef.c
parent63167f223e1f54910f6b80e698390ee60aec79ee (diff)
downloadportland-os-2ddbeb9f7214f6d3feef651eba83e6a9d120a743.tar.gz
lots of progress, including readonly PATA driver and part of FAT16 driver
Diffstat (limited to 'src/kernel/plef.c')
-rw-r--r--src/kernel/plef.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/kernel/plef.c b/src/kernel/plef.c
index 2cba843..710943f 100644
--- a/src/kernel/plef.c
+++ b/src/kernel/plef.c
@@ -1,13 +1,12 @@
#include <stdint.h>
-#include <stdbool.h>
-#include "plef.h"
#include "drive.h"
-#include "util.h"
+#include "plef.h"
#include "task.h"
+#include "util.h"
#define PLEF_MAGIC 0xb9ba4c50
-task_handle plef_run(struct drive *d, char *path) {
+task_handle plef_run(const struct drive *d, const char *path) {
drive_file_id_t h = d->get_file(d, path);
if (!h)
return 0;