aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs')
-rw-r--r--src/kernel/fs/ata_pio.c2
-rw-r--r--src/kernel/fs/install.c2
-rw-r--r--src/kernel/fs/iso9660/iso9660.c2
-rw-r--r--src/kernel/fs/marfs/directory.c2
-rw-r--r--src/kernel/fs/marfs/disklevel.c2
-rw-r--r--src/kernel/fs/marfs/marfs.h2
-rw-r--r--src/kernel/fs/marfs/new_file.c2
-rw-r--r--src/kernel/fs/marfs/read_whole_file.c2
-rw-r--r--src/kernel/fs/marfs/sectorlevel.c4
9 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/fs/ata_pio.c b/src/kernel/fs/ata_pio.c
index f7b78cc..2de57b8 100644
--- a/src/kernel/fs/ata_pio.c
+++ b/src/kernel/fs/ata_pio.c
@@ -1,5 +1,5 @@
#include <kernel/io/io.h>
-#include <mlibc/stdlib.h>
+#include <kernel/lib/stdlib.h>
#include <kernel/fs/ata_pio.h>
#include <kernel/interrupts/interrupts.h>
diff --git a/src/kernel/fs/install.c b/src/kernel/fs/install.c
index dfb6587..da0407d 100644
--- a/src/kernel/fs/install.c
+++ b/src/kernel/fs/install.c
@@ -3,7 +3,7 @@
#include <kernel/fs/marfs/marfs.h>
#include <kernel/fs/iso9660/iso9660.h>
#include <kernel/fs/atapi_pio.h>
-#include <mlibc/stdlib.h>
+#include <kernel/lib/stdlib.h>
#include <kernel/acpi/acpi.h>
#include <kernel/io/io.h>
#include <kernel/timer/timer.h>
diff --git a/src/kernel/fs/iso9660/iso9660.c b/src/kernel/fs/iso9660/iso9660.c
index 81b1ba6..3c61d94 100644
--- a/src/kernel/fs/iso9660/iso9660.c
+++ b/src/kernel/fs/iso9660/iso9660.c
@@ -2,7 +2,7 @@
#include <kernel/lib/lib.h>
#include <kernel/fs/atapi_pio.h>
#include <kernel/fs/iso9660/iso9660.h>
-#include <mlibc/stdlib.h>
+#include <kernel/lib/stdlib.h>
struct iso9660_entity *ISO9660_get(char **dirs, uint8_t dirs_sz)
{
diff --git a/src/kernel/fs/marfs/directory.c b/src/kernel/fs/marfs/directory.c
index 210d908..d0a1bff 100644
--- a/src/kernel/fs/marfs/directory.c
+++ b/src/kernel/fs/marfs/directory.c
@@ -1,6 +1,6 @@
#include <stdint.h>
#include <kernel/fs/ata_pio.h>
-#include <mlibc/stdlib.h>
+#include <kernel/lib/stdlib.h>
#include <kernel/fs/marfs/marfs.h>
uint32_t marfs_new_dir(uint32_t uid)
diff --git a/src/kernel/fs/marfs/disklevel.c b/src/kernel/fs/marfs/disklevel.c
index a902362..106540e 100644
--- a/src/kernel/fs/marfs/disklevel.c
+++ b/src/kernel/fs/marfs/disklevel.c
@@ -14,7 +14,7 @@ void marfs_format(void)
sb.s_first_chunk = 2 + sb.n_inodes;
// Write to disk
- marfs_writeSB(&sb);
+ marfs_write_superblock(&sb);
// Initialize the inodes
for (uint32_t i = 0; i < sb.n_inodes; i++) ata_clear28(interface, 2 + i);
diff --git a/src/kernel/fs/marfs/marfs.h b/src/kernel/fs/marfs/marfs.h
index f197e5b..67b693c 100644
--- a/src/kernel/fs/marfs/marfs.h
+++ b/src/kernel/fs/marfs/marfs.h
@@ -42,7 +42,7 @@ uint8_t marfs_write_mbr(uint8_t *mbr);
struct marfs_superblock *marfs_read_superblock();
-uint8_t marfs_writeSB(struct marfs_superblock *sb);
+uint8_t marfs_write_superblock(struct marfs_superblock *sb);
uint32_t marfs_get_free_lba_block(void);
diff --git a/src/kernel/fs/marfs/new_file.c b/src/kernel/fs/marfs/new_file.c
index 4503ed1..4fef3b9 100644
--- a/src/kernel/fs/marfs/new_file.c
+++ b/src/kernel/fs/marfs/new_file.c
@@ -1,6 +1,6 @@
#include <stdint.h>
#include <kernel/fs/ata_pio.h>
-#include <mlibc/stdlib.h>
+#include <kernel/lib/stdlib.h>
#include <kernel/fs/marfs/marfs.h>
static uint8_t last_max_level = 0;
diff --git a/src/kernel/fs/marfs/read_whole_file.c b/src/kernel/fs/marfs/read_whole_file.c
index 324cd9b..85f9bbb 100644
--- a/src/kernel/fs/marfs/read_whole_file.c
+++ b/src/kernel/fs/marfs/read_whole_file.c
@@ -1,6 +1,6 @@
#include <stdint.h>
#include <kernel/fs/ata_pio.h>
-#include <mlibc/stdlib.h>
+#include <kernel/lib/stdlib.h>
#include <kernel/fs/marfs/marfs.h>
static uint8_t last_max_level = 0;
diff --git a/src/kernel/fs/marfs/sectorlevel.c b/src/kernel/fs/marfs/sectorlevel.c
index d9fa2c4..d905315 100644
--- a/src/kernel/fs/marfs/sectorlevel.c
+++ b/src/kernel/fs/marfs/sectorlevel.c
@@ -1,5 +1,5 @@
#include <stdint.h>
-#include <mlibc/stdlib.h>
+#include <kernel/lib/stdlib.h>
#include <kernel/fs/ata_pio.h>
#include <kernel/fs/marfs/marfs.h>
@@ -29,7 +29,7 @@ struct marfs_superblock *marfs_read_superblock()
return p;
}
-uint8_t marfs_writeSB(struct marfs_superblock *sb)
+uint8_t marfs_write_superblock(struct marfs_superblock *sb)
{
sb_cache = *sb;
return ata_write28(interface, 1, (uint8_t *) sb);