mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 06:28:22 +00:00
ext2: readonly support
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include <kernel/pci.h>
|
||||
#include <kernel/nvme.h>
|
||||
#include <kernel/block.h>
|
||||
#include <kernel/ext2.h>
|
||||
|
||||
static cpu_t bsp_cpu;
|
||||
|
||||
@@ -56,6 +57,7 @@ void kernel_entry() {
|
||||
tmpfs_init();
|
||||
devfs_init();
|
||||
pipefs_init();
|
||||
ext2_init();
|
||||
printf("mounting tmpfs on /\n");
|
||||
__assert(vfs_mount(NULL, vfsroot, "/", "tmpfs", NULL) == 0);
|
||||
initrd_unpack();
|
||||
|
||||
Reference in New Issue
Block a user