From: "Sangmoon Kim" <dogoil@etinsys.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: allocating non-cacheable memory
Date: Thu, 20 Dec 2001 13:57:23 +0900 [thread overview]
Message-ID: <007401c18912$d0b58c20$1a11efcb@industrialDiv.hanasys.co.kr> (raw)
In-Reply-To: 3C214290.D6D1B53A@carts.com
Hi
Setting up a BAT by some asembler code is good.
Or you can use io_block_mapping.
For example
io_block_mapping(0x78000000, 0x78000000, 0x08000000, _PAGE_IO);
It maps phisical address 0x78000000 ~ 0x7FFFFFFF to effective address 0x78000000 ~ 0x7FFFFFFF, No cache.
- Sangmoon Kim -
----- Original Message -----
From: "Kevin Fry" <kevin@carts.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Sent: Thursday, December 20, 2001 10:44 AM
Subject: allocating non-cacheable memory
>
> What is the best way to allocate some non-cacheable memory for I/O use?
> Right now we are going to setup a BAT table with a non-cacheable memory
> region and use that for all I/O, but does linux have a nice neat
> function to grab a page and set it up non-cacheable for us?
> I was reading in the archives that the #define PAGE_NOCACHE doesn't
> work.
>
> thanks!
>
> Kevin
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2001-12-20 4:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-20 1:44 allocating non-cacheable memory Kevin Fry
2001-12-20 2:17 ` Dan Malek
2001-12-20 4:57 ` Sangmoon Kim [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='007401c18912$d0b58c20$1a11efcb@industrialDiv.hanasys.co.kr' \
--to=dogoil@etinsys.com \
--cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).