Need for SHIFT and MASK

From: Vivek Kutal
Date: Sun Oct 09 2005 - 07:24:06 EST


Hi ,
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.



--
Thanks and Regards
Vivek Kutal
http://vivekkutal.blogspot.com

"Live as if you were to die tomorrow. Learn as if you were to live forever."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/