Re: Reason for %ss==%ds?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 18, 2010 at 00:15, nascent mind <nascent.mind@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux