Hi,<br>Thanks a lot for all the links!<br>I read the two articles below by Gustavo but I am still very confused about segmentation. One of the articles below says that <br>the segments in virtual address space are different from 'intel-style segments' whereas I used to think of them as being the same.<br>
Could somebody please state the difference clearly for me and explain how these two work together. I would <br>really appreciate if someone could explain the whole chain from generation of addresses by compiler and then translation of <br>
those addresses in case of Segmentation working along with Paging. I am unable to comprehend how a compiler<br>generates address for a segmented memory model. Explaining the whole chain, I think , can serve the purpose.<br>
<br>Thanks!<br>Vaibhav Jain<br><br><br><div class="gmail_quote">On Wed, Jul 13, 2011 at 7:46 PM, Joel A Fernandes <span dir="ltr"><<a href="mailto:agnel.joel@gmail.com">agnel.joel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Jul 13, 2011 at 9:41 PM, Mulyadi Santosa<br>
<<a href="mailto:mulyadi.santosa@gmail.com">mulyadi.santosa@gmail.com</a>> wrote:<br>
> On Wed, Jul 13, 2011 at 14:33, Vaibhav Jain <<a href="mailto:vjoss197@gmail.com">vjoss197@gmail.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> I am eager to understand the basics of Memory models (flat, segmented etc)<br>
>> , CPU modes (real,protected)<br>
>> and address translation (physical to logical etc.) and how all of them work<br>
>> together.<br>
><br>
> maybe something like this?<br>
><br>
> <a href="http://tldp.org/HOWTO/KernelAnalysis-HOWTO.html" target="_blank">http://tldp.org/HOWTO/KernelAnalysis-HOWTO.html</a><br>
<br>
</div>This should nail it :)<br>
<br>
<a href="http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory" target="_blank">http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory</a><br>
<a href="http://duartes.org/gustavo/blog/post/anatomy-of-a-program-in-memory" target="_blank">http://duartes.org/gustavo/blog/post/anatomy-of-a-program-in-memory</a><br>
<br>
Thanks,<br>
<font color="#888888">Joel<br>
</font></blockquote></div><br>