Me too. good question. <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"><<a href="mailto:hankshz@gmail.com">hankshz@gmail.com</a>></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'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 "&num" 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 "void _ _user *to" in device driver? And which kind<br>
of address the kernel is working with when using "mmap"? And which<br>
kind of address we are talking about when divide the memory into user<br>
space and kernel space?<br>
<br>
It'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 ÆÀÂÛÀ²£¨<a href="http://pinglun.la/" target="_blank">http://pinglun.la</a> £©<br><br>My Page: <a href="http://freakrobot.blogbus.com" target="_blank">http://freakrobot.wordpress.com</a><div>
<br></div><br>
</div>