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 <[email protected]> wrote:
> Can you share the code?
>
> On 02/10/2010 12:10, "Daniel Baluta" <[email protected]> wrote:
>
> Hi,
>
> On Sat, Oct 2, 2010 at 12:38 AM, Sri Ram Vemulpali
>
> <[email protected]> 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 [email protected]...
>
> @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 [email protected]...



-- 
Regards,
Sri.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to