diff options
Diffstat (limited to 'asm/usermode.s')
| -rw-r--r-- | asm/usermode.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/usermode.s b/asm/usermode.s index 67eca04..99cee49 100644 --- a/asm/usermode.s +++ b/asm/usermode.s @@ -20,14 +20,14 @@ usermode: mov %esp, %eax pushl $0x23 // user data segment - pushl %eax // current stack + pushl $0x8fff000-3*32 //%eax // current stack pushf // // http://x86.renejeschke.de/html/file_module_x86_id_145.html //mov $0x200, %eax //push %eax // eflags image pushl $0x1B // return code segment selector - push %edx // return instruction pointer + push %edx // return instruction pointer iret |
