aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/userspace.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tasks/userspace.asm')
-rw-r--r--src/kernel/tasks/userspace.asm23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/kernel/tasks/userspace.asm b/src/kernel/tasks/userspace.asm
deleted file mode 100644
index eec6cff..0000000
--- a/src/kernel/tasks/userspace.asm
+++ /dev/null
@@ -1,23 +0,0 @@
-global userspace_jump
-extern hl_esp
-extern hl_eip
-
-userspace_jump:
- mov ax, 0x23
- mov ds, ax
- mov es, ax
- mov fs, ax
- mov gs, ax
-
- mov eax, dword [hl_esp]
- push 0x23
- push eax
- pushf
-
- ; Enable interrupts
- sti
-
- push 0x1B
- push dword [hl_eip]
-
- iret \ No newline at end of file