From: None Atall <linux_meis@yahoo.com>
To: vincent poirson <poirsonv@yahoo.fr>,
linuxppc-embedded@lists.linuxppc.org
Subject: Re: [MPC8260] accessing I/Os while MMU is off
Date: Mon, 26 May 2003 01:27:22 -0700 (PDT) [thread overview]
Message-ID: <20030526082722.86882.qmail@web9706.mail.yahoo.com> (raw)
In-Reply-To: <20030526061601.60728.qmail@web12701.mail.yahoo.com>
You missed a small shift... :)
-----------------------
li r16,r16,0x10
li r13, 0xf001
slw r13,r13,r16
addis r13, 0x0d50
stw r14, 0(r13)
-----------------------
Dimitris.
--- vincent poirson <poirsonv@yahoo.fr> wrote:
>
> Hello,
>
> I want to change my PDATC value while in
> HardwareInterrupt code (in kernel/head.S) where MMU
> is
> off. So I simply do :
> li r13, 0x0d50
> addis r13, 0xf001
> stw r14, 0(r13)
> // where 0xf0010d50 is my PDATC adress and r14 the
> value I want to store
> I do not understand why my kernel crahes and goes in
> machine exception. Surprisingly, I can change PDATC
> with BDI2000 but not with assembler code. Is this an
> adress translation problem ?
> Am I missing something obvious ? Any help will be
> appreciated.
>
> Thanks in advance.
>
>
>
=====
------------------------------------------------------------
-Dhmhtrios Meidanis
-Degree in Mathematics, University of the Aegean.
-Master in Computer Architecture and Digital
Systems, University of Crete.
Greece.
------------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-05-26 8:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-26 6:16 [MPC8260] accessing I/Os while MMU is off vincent poirson
2003-05-26 8:27 ` None Atall [this message]
2003-05-26 12:39 ` vincent poirson
2003-05-26 12:48 ` Gary Thomas
2003-05-27 8:41 ` vincent poirson
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=20030526082722.86882.qmail@web9706.mail.yahoo.com \
--to=linux_meis@yahoo.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=poirsonv@yahoo.fr \
/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).