From: mru@users.sourceforge.net (Måns Rullgård)
To: "Mohamed Ghouse , Gurgaon" <MohamedG@ggn.hcltech.com>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: Diff b/w 32bit & 64-bit
Date: 01 Jul 2002 21:44:13 +0200 [thread overview]
Message-ID: <yw1xpty71bea.fsf@gladiusit.e.kth.se> (raw)
In-Reply-To: "Mohamed Ghouse , Gurgaon"'s message of "Mon, 1 Jul 2002 15:53:21 +0530"
"Mohamed Ghouse , Gurgaon" <MohamedG@ggn.hcltech.com> writes:
> Hello All
> I am working on a Driver.
> Considering the processor 2 B Intel's x86,
> can some one enlighten me with the differences of Linux on a 64-bit
> processor & a 32-Bit processor.
For Alpha: sizeof(int) == 4, sizeof(long) == 8, sizeof(void *) == 8
For intel: sizeof(int) == 4, sizeof(long) == 4, sizeof(void *) == 8
The most common mistake is trying to stuff a pointer into an
int. Don't do that.
--
Måns Rullgård
mru@users.sf.net
next prev parent reply other threads:[~2002-07-01 19:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 10:23 Mohamed Ghouse , Gurgaon
2002-07-01 19:44 ` Måns Rullgård [this message]
2002-07-01 21:45 ` Johannes Ruscheinski
2002-07-02 19:02 ` Måns Rullgård
2002-07-01 21:52 ` Albert D. Cahalan
2002-07-02 19:03 ` Måns Rullgård
2002-07-02 19:18 ` Richard B. Johnson
2002-07-07 18:12 ` Jamie Lokier
2002-07-07 19:41 ` Thunder from the hill
2002-07-07 21:24 ` Jamie Lokier
2002-07-08 20:34 ` Albert D. Cahalan
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=yw1xpty71bea.fsf@gladiusit.e.kth.se \
--to=mru@users.sourceforge.net \
--cc=MohamedG@ggn.hcltech.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®