From f1f57a76e1d95835cacc94c65bdb2acd4582c015 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Wed, 15 Feb 2023 14:56:11 +0100 Subject: [PATCH] Add kernel mod --- src/kernel/mod.rs | 2 ++ src/kernel/scheduler.rs | 0 src/kernel/thread.rs | 0 src/main.rs | 1 + 4 files changed, 3 insertions(+) create mode 100644 src/kernel/mod.rs create mode 100644 src/kernel/scheduler.rs create mode 100644 src/kernel/thread.rs diff --git a/src/kernel/mod.rs b/src/kernel/mod.rs new file mode 100644 index 0000000..447d11e --- /dev/null +++ b/src/kernel/mod.rs @@ -0,0 +1,2 @@ +mod thread; +mod scheduler; \ No newline at end of file diff --git a/src/kernel/scheduler.rs b/src/kernel/scheduler.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/kernel/thread.rs b/src/kernel/thread.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/main.rs b/src/main.rs index 4acaaf7..831fcfc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ mod simulator; +mod kernel; use simulator::machine::Machine;