From: Grant Grundler <iod00d@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: shared memory between 32bit & 64bit applications
Date: Mon, 03 May 2004 15:07:48 +0000 [thread overview]
Message-ID: <20040503150748.GA26104@cup.hp.com> (raw)
In-Reply-To: <20040503132511.GJ2281@parcelfarce.linux.theplanet.co.uk>
On Mon, May 03, 2004 at 06:46:09PM +0530, ARADHYA, CHINMAYA TM (STSD) wrote:
> The 64 bit application fills in {1,5,5} in the shared
> memory and when I access these values from a 32 bit application
> I get it as {1,21474836480,0}.
Besides the different padding rules mentioned by willy, I'd
advise debugging with with hex output instead of decimal.
It makes it very obvious which bits are going where.
And do some experiments with filling in the fields with
known values and then dumping the entire struct as a byte array.
grant
next prev parent reply other threads:[~2004-05-03 15:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-03 13:25 shared memory between 32bit & 64bit applications Matthew Wilcox
2004-05-03 13:28 ` ARADHYA, CHINMAYA TM (STSD)
2004-05-03 15:07 ` Grant Grundler [this message]
2004-05-04 2:04 ` Keith Owens
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=20040503150748.GA26104@cup.hp.com \
--to=iod00d@hp.com \
--cc=linux-ia64@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