Me too. good question.&nbsp;<div>Which header may define these addresses?<br><br><div class="gmail_quote">On Sat, Feb 11, 2012 at 10:52 AM, hz hanks <span dir="ltr">&lt;<a href="mailto:hankshz@gmail.com">hankshz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, all<br>
<br>
I&#39;m confused with different addresses in Linux, such as virtual<br>
address and hardware address. For example, which kind of address one<br>
can get when using &quot;&amp;num&quot; in application layer programming? How about<br>
that in kernel, such as in device driver? Which kind of address one<br>
can get when using &quot;void _ _user *to&quot; in device driver? And which kind<br>
of address the kernel is working with when using &quot;mmap&quot;? And which<br>
kind of address we are talking about when divide the memory into user<br>
space and kernel space?<br>
<br>
It&#39;s quite tedious but thank you so much for helping me!<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Cheng(Õ\)<br>From &nbsp;ÆÀÂÛÀ²£¨<a href="http://pinglun.la/" target="_blank">http://pinglun.la</a>&nbsp;£©<br><br>My Page: &nbsp;<a href="http://freakrobot.blogbus.com" target="_blank">http://freakrobot.wordpress.com</a><div>
<br></div><br>
</div>