List the root directory after mounting /.

So cool that it works! It's spewing out a bunch of terminal escape sequences
that the OS console obviously doesn't support, but we'll get there too.
This commit is contained in:
Andreas Kling 2018-10-17 11:47:14 +02:00
commit 705832f387
Notes: sideshowbarker 2024-07-19 18:47:06 +09:00
3 changed files with 4 additions and 1 deletions

View file

@ -152,6 +152,8 @@ void init()
// new Task(motd_main, "motd", IPC::Handle::MotdTask, Task::Ring0);
new Task(user_main, "user", IPC::Handle::UserTask, Task::Ring3);
vfs->listDirectory("/");
// The idle task will spend its eternity here for now.
for (;;) {
asm("hlt");