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
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

"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
Please read the FAQ at