Page 1 of 1

How to add new tasks

Posted: Mon Aug 26, 2013 3:07 pm
by yee1
Hey,
My problem is about tasks

To make new task i use gdt like
GDT_tss0
GDT_tss1

and GDT_tss0 is current (main) program, tss1 i want to be program that displays somephing at screen

To make it i do procedure for GDT_tss1 and set EIP for GDT_tss1 as offset of procedure in CS for both GDT_tss0 and GDT_tss1

And its working but is it ok ? I think no... what are other ways to "make code" for tasks to make is seperated (no common segments like CS) ETC... ?

Thank you