linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sri Ram Vemulpali <sri.ram.gmu06@gmail.com>
To: Raz <raziebe@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>,
	Linux-rt-users <linux-rt-users@vger.kernel.org>,
	Kernel-newbies <kernelnewbies@nl.linux.org>,
	Bond <jamesbond.2k.g@gmail.com>
Subject: Re: segmentation question
Date: Sat, 2 Oct 2010 12:53:46 -0400	[thread overview]
Message-ID: <AANLkTim8OX+TuDS+UWBZXCB+FJhBHYU3EnFeHcL4rm0O@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=PbFW7wuk2U_Xs=RuzTBj17frYTyCbx_Tw6rXi@mail.gmail.com>

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@gmail.com> wrote:
> Can you share the code?
>
> On 02/10/2010 12:10, "Daniel Baluta" <daniel.baluta@gmail.com> wrote:
>
> Hi,
>
> On Sat, Oct 2, 2010 at 12:38 AM, Sri Ram Vemulpali
>
> <sri.ram.gmu06@gmail.com> 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@nl.linu...
>
> @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@nl.linu...



-- 
Regards,
Sri.
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2010-10-02 16:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-01 21:38 segmentation question Sri Ram Vemulpali
2010-10-02  9:42 ` Bond
2010-10-02 10:06 ` Daniel Baluta
2010-10-02 10:15   ` Raz
2010-10-02 16:53     ` Sri Ram Vemulpali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim8OX+TuDS+UWBZXCB+FJhBHYU3EnFeHcL4rm0O@mail.gmail.com \
    --to=sri.ram.gmu06@gmail.com \
    --cc=daniel.baluta@gmail.com \
    --cc=jamesbond.2k.g@gmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=raziebe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).