[MPC8260] accessing I/Os while MMU is off

vincent poirson poirsonv at yahoo.fr
Mon May 26 16:16:01 EST 2003


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.


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





More information about the Linuxppc-embedded mailing list