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

--
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