diff options
-rwxr-xr-x | scripts/loop.py | 8 | ||||
-rw-r--r-- | scripts/phase.py | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/scripts/loop.py b/scripts/loop.py index 1911fc2..83633ff 100755 --- a/scripts/loop.py +++ b/scripts/loop.py @@ -12,6 +12,7 @@ import solution import kernel from exceptions import MissingFile import iteration +import boot def step(): phs = phase.get() @@ -58,6 +59,13 @@ def step(): phase.set(10) elif phs == 10: phase.message(10) + phase.set(11) + elif phs == 11: + phase.message(11) + boot.boot() + phase.set(12) + elif phs == 12: + phase.message(12) phase.set(2) class mainThread(Thread): diff --git a/scripts/phase.py b/scripts/phase.py index 390087f..30e61c2 100644 --- a/scripts/phase.py +++ b/scripts/phase.py @@ -14,7 +14,9 @@ phases = ("Not Initialized", #0 "Kernel configuration", #7 "Kernel configured", #8 "Kernel build", #9 - "Kernel built" #10 + "Kernel built", #10 + "System boot", #11 + "Benchmark successful" #12 ) def get(): |