From: Geoffroy Stevenne <geof@hellea.com>
To: linux-mtd@lists.infradead.org
Subject: Re: bbram access problems
Date: Fri, 13 Dec 2002 14:35:00 +0100 [thread overview]
Message-ID: <20021213143500.630bedeb.geof@hellea.com> (raw)
In-Reply-To: <200212121540.43586.tglx@linutronix.de>
Le Thu, 12 Dec 2002 15:40:43 +0100
Thomas Gleixner <tglx@linutronix.de> a écrit:
> from slram.c
> NOTE:
> With slram it's only possible to map a contigous memory region.
>
> So you can't access it with slram, as the BBSRAM is a device with
> paged access. All you have to do, is copy slram.c to bbram.c and add
> an additional parameter, which tells the driver the number of
> pages.available. Then modify the erase / read / write functions to do
> the page selection depending on the address you have to access.
> If you think this is out of your league, then hope, that somebody does
> this for you sometimes, or ask one of the experts to help you for a
> little fee immidiately :)
Thanks to all! We will code... but I still can't figure how to prevent
other processes to access this memory area. IANAE on memory locking and
stuff like that, nor in kernel programming in general.
I'll learn :-)
--
Geoffroy
prev parent reply other threads:[~2002-12-13 13:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-12 13:05 bbram access problems Geoffroy Stevenne
2002-12-12 13:45 ` Jörn Engel
2002-12-12 14:09 ` Tobias Otto-Adamczak
2002-12-12 15:09 ` Jörn Engel
2002-12-12 13:54 ` Tobias Otto-Adamczak
2002-12-12 14:40 ` Thomas Gleixner
2002-12-13 11:50 ` Geoffroy Stevenne
2002-12-13 13:35 ` Geoffroy Stevenne [this message]
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=20021213143500.630bedeb.geof@hellea.com \
--to=geof@hellea.com \
--cc=linux-mtd@lists.infradead.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