Started on path resolution algorithm

- The algorithm will work once I am of better mind to deal with
raw C strings
- The resolution should look at each entry divided by '/'.
  if the entry is not there then we can quit early, however for
now I am mostly concerned with getting the names of directory entries
we would need to look for.
This commit is contained in:
2023-02-19 22:14:58 +01:00
parent dbb147e110
commit 94a2de3847
7 changed files with 210 additions and 16 deletions

View File

@ -48,6 +48,10 @@ extern "C" void kernel ()
FileSystem::initialize();
// Testing my path resolution functions
Path test = Path("/boot/myos.bin");
FileSystem::ResolvePath(test);
#ifdef USERMODE_RELEASE
// Lets jump into user mode