diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-20 22:11:33 +0100 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-26 21:17:27 +0100 |
| commit | b02b90f21de5954aef34eb37a17775f194b8de39 (patch) | |
| tree | 1e0997ef67ae2eb85c8729e667115c1743753768 | |
| parent | 91feb8a2a70af1915c8cfa4ee7d95b6e276f5c02 (diff) | |
| download | teachos-b02b90f21de5954aef34eb37a17775f194b8de39.tar.xz teachos-b02b90f21de5954aef34eb37a17775f194b8de39.zip | |
prepare test code for a further test function
| -rw-r--r-- | kernel/src/main.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index eb59402..e719164 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -18,7 +18,7 @@ #include <cstddef> #include <cstdint> -auto run_test_code() -> void +auto test_file_description_manually() -> void { // setup auto fd_table = filesystem::file_descriptor_table::get(); @@ -85,6 +85,17 @@ auto run_test_code() -> void kstd::println("---"); } +auto test_device_with_vfs() -> void +{ + // TODO BA-FS26 +} + +auto run_test_code() -> void +{ + test_file_description_manually(); + test_device_with_vfs(); +} + auto main() -> int { kapi::cio::init(); |
