aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cpu.c')
-rw-r--r--lib/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cpu.c b/lib/cpu.c
index 5c27c51..5ed9de9 100644
--- a/lib/cpu.c
+++ b/lib/cpu.c
@@ -67,3 +67,9 @@ void idle()
while (1)
hlt();
}
+
+void loop()
+{
+ cli();
+ idle();
+}