mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Ashley (linux mailing list) <linux@xdr.com>
To: linux-kernel@vger.kernel.org
Subject: mmap + wrapping around to 0
Date: Wed, 7 Nov 2001 08:31:13 -0800	[thread overview]
Message-ID: <200111071631.fA7GVD921036@xdr.com> (raw)

I'm using linux on an embedded system based on the 2.4.2 kernel. There
is a flash rom at physical address FFE00000 of 2 megabytes size. I have
a flash utility that uses mmap() on /dev/mem, but I can't call it with
offset 0xffe00000, size 0x00200000, I must call it with size
0x001ff000 (1 page size less than the real size). I figure this is because
the end address has wrapped around to 0 and this messes up the system.

This should work, the memory is there. But I can't access that last page.

BTW the cpu is a ppc 8260 (603e core).

-Dave

                 reply	other threads:[~2001-11-07 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200111071631.fA7GVD921036@xdr.com \
    --to=linux@xdr.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®