public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: <zengshuai@sogou•com>
To: "ppc" <linuxppc-embedded@ozlabs•org>
Subject: linuxppc-embedded help needed:kernel access of bad area
Date: Wed, 30 Nov 2005 16:18:06 +0800 (CST)	[thread overview]
Message-ID: <15152217.1133338686341.JavaMail.postfix@mx3.mail.sohu.com> (raw)

i writed a led driver for PQ2FADS(a ppc board).
but i can't read/write 0x04500000 where led register addr locate in.
i tested two ways to do that.
first,
p=0x04500000;
*p=0x12;
....
second,
outb(0x12,0x04500000);
...
two ways both didn't work.they had a some wrong:kernel access of bad area.
how can i know which area is bad area or good area?
and what can i do next? thanks.

------------------------------
我现在使用Sogou.com的2G邮箱了,你也来试试吧! 
http://mail.sogou.com/recommend/sogoumail_invite_reg1.jsp?from=sogouinvitation&s_EMAIL=zengshuai%40sogou.com&username=linuxppc-embedded&FullName=linuxppc-embedded&Email=linuxppc-embedded%40ozlabs.org&verify=755eff4e640bdcfc57d93cbd8b0a9cb7

             reply	other threads:[~2005-11-30  8:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30  8:18 zengshuai [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-30  9:33 linuxppc-embedded help needed:kernel access of bad area Fillod Stephane

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=15152217.1133338686341.JavaMail.postfix@mx3.mail.sohu.com \
    --to=zengshuai@sogou$(echo .)com \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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