Hi, Thanks a lot for the resources! I just had a cursory look at them and could see that they explain virtual memory and address translation in depth. Just wanted to ask if they explain the concepts Memory models (flat, segmented ) and cpu modes (real,protected) equally well. I am more confused about these concepts. Thanks Vaibhav Jain On Wed, Jul 13, 2011 at 10:40 AM, Anuz Pratap Singh Tomar < chambilkethakur@gmail.com> wrote:
On Wed, Jul 13, 2011 at 6:29 PM, Jeff Haran <jharan@bytemobile.com>wrote:
** **
** **
*From:* kernelnewbies-bounces@kernelnewbies.org [mailto: kernelnewbies-bounces@kernelnewbies.org] *On Behalf Of *Vaibhav Jain *Sent:* Wednesday, July 13, 2011 1:38 AM *To:* Daniel Baluta *Cc:* kernelnewbies@kernelnewbies.org *Subject:* Re: Need help understanding memory models,cpu modes and address translation****
** **
Hi,
Thanks for the link.I really appreciate but I need something more basic and something that explains these concepts from a broader perspective and not in the context of a particular cpu architecture.Please send me more such links if you come across any.
Thanks Vaibhav Jain****
On Wed, Jul 13, 2011 at 1:14 AM, Daniel Baluta <daniel.baluta@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. I am very confused about this and would really appreciate if someone could provide good references to these topics.****
You may find useful information inside i366 Programmers Manual. Anyhow, reading materials is the first step in understanding these concepts. You will have to actually read/write/debug pieces of code related to them.
thanks, Daniel.
[1] pdos.csail.mit.edu/6.828/2010/readings/i386.pdf****
** **
You might want to try “Understanding the Linux Virtual Memory Manager” by Mel Gorman. It’s freely available on the web.****
** **
It’s Linux specific, but since Linux needs to run on a multitude of different processors with different memory management hardware, the approach it takes to doing so in inherently broad.****
** **
A lot of basic concepts can be learnt from JIm Turley's book on 8086 Other book is modern operating systems by Tanenbaum which explains everything in much detail with code snippets.