summaryrefslogtreecommitdiff
path: root/src/stem/task/task_.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/stem/task/task_.asm')
-rw-r--r--src/stem/task/task_.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stem/task/task_.asm b/src/stem/task/task_.asm
new file mode 100644
index 0000000..ae45c68
--- /dev/null
+++ b/src/stem/task/task_.asm
@@ -0,0 +1,10 @@
+[GLOBAL read_eip]
+read_eip:
+ pop eax
+ jmp eax
+
+[GLOBAL task_idle]
+task_idle:
+ sti
+ hlt
+ jmp task_idle