summaryrefslogtreecommitdiff
path: root/asm/asm_usermode.s
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-12 02:10:11 +0200
committerMiguel <m.i@gmx.at>2018-09-12 02:10:11 +0200
commita3ee159ebfd2d088432e386e8809840784f697e7 (patch)
tree9ecfc506bb65ec982aae47f161afa1777359d3f7 /asm/asm_usermode.s
parentc9351caacd49c8442cc586f9e53a2dcc49a004aa (diff)
working on smp scheduler
Diffstat (limited to 'asm/asm_usermode.s')
-rw-r--r--asm/asm_usermode.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/asm/asm_usermode.s b/asm/asm_usermode.s
index 71ecc1d..147dfe5 100644
--- a/asm/asm_usermode.s
+++ b/asm/asm_usermode.s
@@ -20,7 +20,8 @@ asm_usermode:
mov %esp, %eax
pushl $0x23 // user data segment
- pushl $0x8fff000-3*32 //%eax // current stack
+ //pushl $0x8fff000-3*32 //%eax // current stack
+ pushl $0xe0000000-3*32 //%eax // current stack (3 values will be poped)
pushf //
// http://x86.renejeschke.de/html/file_module_x86_id_145.html