mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vivek Kutal <vivek.kutal@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Need for SHIFT and MASK
Date: Sun, 9 Oct 2005 17:32:36 +0530	[thread overview]
Message-ID: <b9a245c10510090502r4e87696fqe111c0071e7f2a03@mail.gmail.com> (raw)

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

             reply	other threads:[~2005-10-09 12:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-09 12:02 Vivek Kutal [this message]
2005-10-09 12:23 ` Ingo Oeser
2005-10-09 18:40   ` Vivek Kutal
2005-10-10  0:21     ` Fawad Lateef
2005-10-10 13:13       ` Vivek Kutal
2005-10-10 16:49         ` Fawad Lateef
2005-10-10 14:37     ` Denis Vlasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9a245c10510090502r4e87696fqe111c0071e7f2a03@mail.gmail.com \
    --to=vivek.kutal@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®