<div dir="ltr"><span style="font-size:12.8px">Hi Arun,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks for your response.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I will elaborate my question.Assume I have test.c file, I compiled test.c and generated the a.out ( Executable for linux ), when I do objdump of a.out, we can see addresses( virtual address ) associated with each instruction, these instructions are generated by whom?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 11:35 AM, Arun Sudhilal <span dir="ltr"><<a href="mailto:getarunks@gmail.com" target="_blank">getarunks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Madhu,<br>
<span class=""><br>
On Wed, Sep 28, 2016 at 10:36 AM, Madhu K <<a href="mailto:madhu.sk89@gmail.com">madhu.sk89@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> This is to understand the Virtual address space.Basically who generates the<br>
> virtual addresses CPU or GNU compiler?<br>
<br>
</span>I didn't really get your question.<br>
<br>
Linux kernel starts at a fixed location in virtual space. This is<br>
called PAGE_OFFSET. On a kernel split of 3GB/1GB, 32 system, its is<br>
0xC000_0000. You can have a look at system.map file after compiling<br>
your kernel.<br>
When cpu runs with MMU on, your cpu generates virtual address.<br>
<br>
Regards,<br>
Arun<br>
<br>
><br>
> Thanks<br>
> Madhu<br>
><br>
> ______________________________<wbr>_________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.<wbr>org</a><br>
> <a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.<wbr>org/mailman/listinfo/<wbr>kernelnewbies</a><br>
><br>
</blockquote></div><br></div>