kern

diff src/segm-asm.S @ 55:88a6c4e192f9

Fixed most important task switching bugs. Now it seems that I can switch in and out of user space reliably.
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 15 Aug 2011 04:03:39 +0300
parents 4eaecb14fe31
children
line diff
     1.1 --- a/src/segm-asm.S	Sun Aug 14 16:57:23 2011 +0300
     1.2 +++ b/src/segm-asm.S	Mon Aug 15 04:03:39 2011 +0300
     1.3 @@ -42,5 +42,6 @@
     1.4   * loads the TSS selector in the task register */
     1.5  	.globl set_task_reg
     1.6  set_task_reg:
     1.7 +	mov 4(%esp), %eax
     1.8  	ltr 4(%esp)
     1.9  	ret