kern

diff src/segm.c @ 47:f65b348780e3

continuing with the process implementation. not done yet, panics.
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 28 Jul 2011 05:43:04 +0300
parents 8ea6debe4265
children 4eaecb14fe31
line diff
     1.1 --- a/src/segm.c	Thu Jul 28 05:33:59 2011 +0300
     1.2 +++ b/src/segm.c	Thu Jul 28 05:43:04 2011 +0300
     1.3 @@ -43,7 +43,7 @@
     1.4  	segm_desc(gdt + SEGM_KDATA, 0, 0xffffffff, 0, TYPE_DATA);
     1.5  	segm_desc(gdt + SEGM_UCODE, 0, 0xffffffff, 3, TYPE_CODE);
     1.6  	segm_desc(gdt + SEGM_UDATA, 0, 0xffffffff, 3, TYPE_DATA);
     1.7 -	/*task_desc(gdt + SEGM_TASK, 0, 0xffffffff, 3, TSS_BUSY);*/
     1.8 +	task_desc(gdt + SEGM_TASK, 0, 0xffffffff, 3, TSS_BUSY);
     1.9  
    1.10  	set_gdt((uint32_t)gdt, sizeof gdt - 1);
    1.11