lkml.org 
[lkml]   [2005]   [Oct]   [9]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
FromIngo Oeser <>
SubjectRe: Need for SHIFT and MASK
DateSun, 9 Oct 2005 14:23:10 +0200
Digg This
Hi Vivek,

On Sunday 09 October 2005 14:02, Vivek Kutal wrote:
While browsing through the code i came across macros like SHIFT , MASK , SIZE which are used in conversion from linear address to physical address
but this is the job of the processor (address translation) then why do we have these macros
can anyone please explain.

This is usally table driven and someone has to set up this "Page Translation Tables". That's a job of the Linux kernel.
Just use sth. like Google to find out how it works
or go to the library and read some books on OS design and virtual memory management.

Happy Studying!


Regards

Ingo Oeser


[unhandled content-type:application/pgp-signature]
\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2005-10-09 12:26    [W:0.188 / U:0.080 seconds]
©2003-2005 Jasper Spaans