linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "ZhongJun Zhou" <zjzhou@newrocktech.com>
Cc: Peter Barada <pbarada@mail.wm.sps.mot.com>,
	linuxppc-embedded@lists.linuxppc.org
Subject: Re: kernel memory mapping problem
Date: Thu, 07 Aug 2003 23:32:23 +0200	[thread overview]
Message-ID: <20030807213228.A9194C59E4@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 07 Aug 2003 23:49:23 +0800." <20030807154923.56073.qmail@web105.mail.yahoo.com>


In message <20030807154923.56073.qmail@web105.mail.yahoo.com> you wrote:
>
> But my functions are serial running on PPC82xx, its
> means that when I mapped the the address using __pa(
> (void *)tmp) to bd_address, then reading the BD's
> status and control registers, if OK, then return from

Just a stupid question: what are the alignment requirements of a  BD,
and which alignment is guaranteed for your tmp buffer?


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
This cultural mystique surrounding the  biological  function  --  you
realize humans are overly preoccupied with the subject.
	-- Kelinda the Kelvan, "By Any Other Name", stardate 4658.9

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-08-07 21:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-05 18:37 debugging IBM405GP with abatron bdi 2000 Steven Blakeslee
2003-08-05 19:12 ` Wolfgang Denk
2003-08-06 14:52   ` MPC8250 MCC driver Adam Kaczynski
2002-02-07  3:21     ` kernel memory mapping problem ZhongJun Zhou
2002-02-07  4:24       ` John Zhou
2003-08-07 13:22         ` load_elf_bin problem dong in kang
2003-08-07 15:01       ` kernel memory mapping problem Peter Barada
2003-08-07 15:49         ` ZhongJun Zhou
2003-08-07 21:32           ` Wolfgang Denk [this message]
2002-02-13  6:32             ` This question may be simple for you, but it doesn't let me sleeping John Zhou
2003-08-28  9:53               ` how to use busybox to make a ramdisk? John Zhou
2003-08-29 16:42                 ` Brian Padalino
2003-08-29 14:50                   ` Dan Kegel
2003-08-29 14:52                     ` Wolfgang Denk
2003-08-08 14:09             ` Does Linux kernel use paging or BAT registers before running the first user-level program "/bin/sh"? dong in kang

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=20030807213228.A9194C59E4@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=pbarada@mail.wm.sps.mot.com \
    --cc=zjzhou@newrocktech.com \
    /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).