[U-Boot-Users] MPC824x turn off address translation code?

Jian-Bang Lai jian_bang at hotmail.com
Fri Feb 20 06:19:41 CET 2004


Dear All:

I found following codes in start.S of mpc824x, and its goal is to turn off 
data and instruction address translation. But I doubt its function, can 
anyone help me to clarify.

Source code                             my attitude

mfmsr    r3                    /* assume the content of r3 was 0x0030 */
addis      r4, 0, 0xffff      /*  r4 now is 0xffff, r4 <- 0xffff */
ori         r4, r4, 0xffcf     /*  r4 now still is 0xffff, r4 <- 0xffff | 
0xffcf */
and        r3, r3, r4           /*  r3 now still is 0x0030, r3 <- 0x0030 | 
0xffff */
mtmsr    r3

Besr regards,

Ban

_________________________________________________________________
立即申請 MSN Mobile 服務:在您的手機上收發 MSN Hotmail 
http://msn.com.tw/msnmobile 





More information about the U-Boot mailing list