Re: Need help understanding memory models, cpu modes and address translation

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

 



Hi,
Thanks a lot for all the links!
I read the two articles below by Gustavo but I am still very confused about segmentation. One of the articles below says that
the segments in virtual address space are different from 'intel-style segments' whereas I used to think of them as being the same.
Could somebody please state the difference clearly for me and explain how these two work together. I would
really appreciate if someone could explain the whole chain from generation of addresses by compiler and then translation of
those addresses in case of  Segmentation working along with Paging. I am unable to comprehend how a compiler
generates address for a segmented memory model. Explaining the whole chain, I think , can serve the purpose.

Thanks!
Vaibhav Jain


On Wed, Jul 13, 2011 at 7:46 PM, Joel A Fernandes <agnel.joel@xxxxxxxxx> wrote:
On Wed, Jul 13, 2011 at 9:41 PM, Mulyadi Santosa
<mulyadi.santosa@xxxxxxxxx> wrote:
> On Wed, Jul 13, 2011 at 14:33, Vaibhav Jain <vjoss197@xxxxxxxxx> wrote:
>> Hi,
>>
>> I am eager to understand the basics of Memory models  (flat, segmented etc)
>> , CPU modes (real,protected)
>> and address translation (physical to logical etc.) and how all of them work
>> together.
>
> maybe something like this?
>
> http://tldp.org/HOWTO/KernelAnalysis-HOWTO.html

This should nail it :)

http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory
http://duartes.org/gustavo/blog/post/anatomy-of-a-program-in-memory

Thanks,
Joel

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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