Also, can I modify GDT when I am managing memory allocation to tasks. I mean a task need 120kb, but my segments are divided in to 64kb each. So, I have to merge two segments to allocate requested memory for task. In that case I think I need to modify GDT for a descriptor setting limit. Usually GDT's are initialized at boot time. But how about at the time of memory allocation. NOTE: I am not using any paging at all. Here GDT means global descriptor table. Please let me know. Thanks. Sri. Here are the links to how to develop kernel. Also, read intel system programming guide, which gives very good guidance to architecture and OS development. http://www.osdever.net/tutorials/view/brans-kernel-development-tutorial On Sat, Oct 2, 2010 at 6:15 AM, Raz <raziebe@xxxxxxxxx> wrote: > Can you share the code? > > On 02/10/2010 12:10, "Daniel Baluta" <daniel.baluta@xxxxxxxxx> wrote: > > Hi, > > On Sat, Oct 2, 2010 at 12:38 AM, Sri Ram Vemulpali > > <sri.ram.gmu06@xxxxxxxxx> wrote: > >> Hi All, >> >> Â Â ÂI am developing segmentation for my kernel. In that process I >> choose to divide ... > > You don't have to "tell" your processor to choose only 16-bit offset. > If the offset is greater than segment limit an exception will occur. > > >> >> Any insight in to this will help me. please clarify my doubt. Waiting >> for you reply. > >> To unsubscribe from this list: send an email with >> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxx > > @Bond: GTD should be GDT.Also please have a look inside x86 reference > manual. > > thanks, > Daniel. > > -- > > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxx -- Regards, Sri. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ