<div>Hi,</div>
<div> </div>
<div>Actually I have read that book. But when i started reading other books such as those on assembly</div>
<div>they had these concpets of Real Mode , Protected Mode , Flat Memory
model, Segmented Memory model which are specific to intel 32-bit
architecture</div>
<div>and which has got me highly confused. So I am looking for references that explain these concepts in depth.</div>
<div> </div>
<div>Thanks</div>
Vaibhav Jain<font color="#888888"><br></font><br><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 9:26 PM, Kaustubh Ashtekar <span dir="ltr"><<a href="mailto:ksashtekar@gmail.com">ksashtekar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I think you should first read the book <br><div>Operating System Concepts by Silberschatz Galvin.</div><div><br></div>
<div>It is a general book on OS concepts and will help you gain understanding of these concepts.</div><div>
<br>
</div><div>-Kaustubh</div><div><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Jul 14, 2011 at 1:17 AM, Vaibhav Jain <span dir="ltr"><<a href="mailto:vjoss197@gmail.com" target="_blank">vjoss197@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<div>Hi,</div>
<div> </div>
<div>Thanks a lot for the resources! I just had a cursory look at them and could see that they explain virtual memory and </div>
<div>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 </div>
<div>these concepts. </div>
<div> </div>
<div>Thanks</div>
<div>Vaibhav Jain<font color="#888888"><br><br></font></div><div><div></div><div>
<div class="gmail_quote">On Wed, Jul 13, 2011 at 10:40 AM, Anuz Pratap Singh Tomar <span dir="ltr"><<a href="mailto:chambilkethakur@gmail.com" target="_blank">chambilkethakur@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Wed, Jul 13, 2011 at 6:29 PM, Jeff Haran <span dir="ltr"><<a href="mailto:jharan@bytemobile.com" target="_blank">jharan@bytemobile.com</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div vlink="purple" link="blue" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"><u></u> <u></u></span></p>
<div style="border-bottom:medium none;border-left:blue 1.5pt solid;padding-bottom:0in;padding-left:4pt;padding-right:0in;border-top:medium none;border-right:medium none;padding-top:0in">
<div>
<div style="border-bottom:medium none;border-left:medium none;padding-bottom:0in;padding-left:0in;padding-right:0in;border-top:#b5c4df 1pt solid;border-right:medium none;padding-top:3pt">
<p class="MsoNormal"><b><span style="font-size:10pt">From:</span></b><span style="font-size:10pt"> <a href="mailto:kernelnewbies-bounces@kernelnewbies.org" target="_blank">kernelnewbies-bounces@kernelnewbies.org</a> [mailto:<a href="mailto:kernelnewbies-bounces@kernelnewbies.org" target="_blank">kernelnewbies-bounces@kernelnewbies.org</a>] <b>On Behalf Of </b>Vaibhav Jain<br>
<b>Sent:</b> Wednesday, July 13, 2011 1:38 AM<br><b>To:</b> Daniel Baluta<br><b>Cc:</b> <a href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a><br><b>Subject:</b> Re: Need help understanding memory models,cpu modes and address translation<u></u><u></u></span></p>
</div></div>
<div>
<div></div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<p style="margin-bottom:12pt" class="MsoNormal">Hi,<br><br>Thanks for the link.I really appreciate but I need something more basic and something that <br>explains these concepts from a broader perspective and not in the context of a <br>
particular cpu architecture.Please send me more such links if you come across any.<br><br>Thanks<br>Vaibhav Jain<u></u><u></u></p>
<div>
<p class="MsoNormal">On Wed, Jul 13, 2011 at 1:14 AM, Daniel Baluta <<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p style="margin-bottom:12pt" class="MsoNormal">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. I am very confused<br>> about this and would really appreciate if someone could provide good<br>> references to these topics.<u></u><u></u></p></div></div>
<p class="MsoNormal">You may find useful information inside i366 Programmers Manual.<br>Anyhow, reading materials is the first step in understanding these<br>concepts. You will have to actually read/write/debug pieces of code<br>
related to them.<br><br>thanks,<br>Daniel.<br><br>[1] <a href="http://pdos.csail.mit.edu/6.828/2010/readings/i386.pdf" target="_blank">pdos.csail.mit.edu/6.828/2010/readings/i386.pdf</a><u></u><u></u></p></div>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p></div></div>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt">You might want to try “Understanding the Linux Virtual Memory Manager” by Mel Gorman. It’s freely available on the web.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-size:11pt"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"><br></span></p></div></div></div></blockquote></div></div>
<div>A lot of basic concepts can be learnt from JIm Turley's book on 8086<br>Other book is modern operating systems by Tanenbaum which explains everything in much detail with code snippets. <br> <br></div></div><br>
</blockquote></div><br>
</div></div><br></div></div><div class="im">_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br>