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.j...@gmail.com>wrote: > On Wed, Jul 13, 2011 at 9:41 PM, Mulyadi Santosa > <mulyadi.sant...@gmail.com> wrote: > > On Wed, Jul 13, 2011 at 14:33, Vaibhav Jain <vjoss...@gmail.com> 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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies