On Tue, Aug 17, 2010 at 11:17 PM, Mulyadi Santosa <[email protected]
> wrote:

> On Wed, Aug 18, 2010 at 00:15, nascent mind <[email protected]>
> wrote:
> > Hi,
> >
> >    I am trying to understand the boot process of the kernel and I am not
> > able to understand why the stack segment should be equal to the data
> segment
>
> AFAIK, in x86 (at least the 32 bit), since we use protected mode,
> segmentation is something we don't really need. And basically Linux
> uses flat address space.
>
> Thus, segmentation is here is just needed for protection (CPL=0 kernel
> mode, =3 user mode, other than that, they are usually used for
> virtualization -- not used in VT/SVM mode)
>
> CMIIW people...
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com


Mulyadi,

        Its still in real mode. I agree with the flat address space but why
not put  %ss at somewhere near 098000?

Thanks.

Reply via email to